From a52eb4af8fd90ae883ad511fbce0bc9297dbaca5 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 17 Aug 2009 17:07:07 -0500 Subject: Some marshallers for the Telepathy status stuff. --- .bzrignore | 2 ++ src/Makefile.am | 21 ++++++++++++++++++--- src/status-provider-telepathy.list | 1 + 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 src/status-provider-telepathy.list diff --git a/.bzrignore b/.bzrignore index 0ced059..9ffe093 100644 --- a/.bzrignore +++ b/.bzrignore @@ -40,3 +40,5 @@ gtk-logout-helper .libs src/status-provider-pidgin-marshal.c src/status-provider-pidgin-marshal.h +src/status-provider-telepathy-marshal.c +src/status-provider-telepathy-marshal.h diff --git a/src/Makefile.am b/src/Makefile.am index 736fd61..a014128 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,7 +30,9 @@ indicator_status_service_SOURCES = \ status-provider-pidgin.h \ status-provider-pidgin.c \ status-provider-pidgin-marshal.h \ - status-provider-pidgin-marshal.c + status-provider-pidgin-marshal.c \ + status-provider-telepathy-marshal.h \ + status-provider-telepathy-marshal.c indicator_status_service_CFLAGS = $(STATUSSERVICE_CFLAGS) -Wall -Werror indicator_status_service_LDADD = $(STATUSSERVICE_LIBS) @@ -58,6 +60,16 @@ status-provider-pidgin-marshal.c: $(srcdir)/status-provider-pidgin.list --prefix=_status_provider_pidgin_marshal $(srcdir)/status-provider-pidgin.list \ > status-provider-pidgin-marshal.c +status-provider-telepathy-marshal.h: $(srcdir)/status-provider-telepathy.list + glib-genmarshal --header \ + --prefix=_status_provider_telepathy_marshal $(srcdir)/status-provider-telepathy.list \ + > status-provider-telepathy-marshal.h + +status-provider-telepathy-marshal.c: $(srcdir)/status-provider-telepathy.list + glib-genmarshal --body \ + --prefix=_status_provider_telepathy_marshal $(srcdir)/status-provider-telepathy.list \ + > status-provider-telepathy-marshal.c + ############### # Users Stuff ############### @@ -82,11 +94,14 @@ BUILT_SOURCES = \ status-service-client.h \ status-service-server.h \ status-provider-pidgin-marshal.h \ - status-provider-pidgin-marshal.c + status-provider-pidgin-marshal.c \ + status-provider-telepathy-marshal.h \ + status-provider-telepathy-marshal.c EXTRA_DIST = \ status-service.xml \ - status-provider-pidgin.list + status-provider-pidgin.list \ + status-provider-telepathy.list CLEANFILES = \ $(BUILT_SOURCES) diff --git a/src/status-provider-telepathy.list b/src/status-provider-telepathy.list new file mode 100644 index 0000000..5ab45bf --- /dev/null +++ b/src/status-provider-telepathy.list @@ -0,0 +1 @@ +VOID:UINT,STRING -- cgit v1.2.3