aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-07-21 11:37:51 -0500
committerTed Gould <ted@canonical.com>2009-07-21 11:37:51 -0500
commit5cbbca20e09a1d7281c566b01b1fc2b50a81d0b5 (patch)
tree77ceb4656c1f16f966f16b37e4ec16b07f577976
parente3a0b5a84b1da2dd632972dccb0dad35859d5957 (diff)
downloadlibayatana-indicator-5cbbca20e09a1d7281c566b01b1fc2b50a81d0b5.tar.gz
libayatana-indicator-5cbbca20e09a1d7281c566b01b1fc2b50a81d0b5.tar.bz2
libayatana-indicator-5cbbca20e09a1d7281c566b01b1fc2b50a81d0b5.zip
Creating the server marshallers that we need
-rw-r--r--libindicate/Makefile.am15
-rw-r--r--libindicate/server-marshal.list29
2 files changed, 44 insertions, 0 deletions
diff --git a/libindicate/Makefile.am b/libindicate/Makefile.am
index 3ad6247..a35cf35 100644
--- a/libindicate/Makefile.am
+++ b/libindicate/Makefile.am
@@ -9,6 +9,7 @@ EXTRA_DIST = \
indicate-interface.xml \
indicate-listener.xml \
listener-marshal.list \
+ server-marshal.list \
indicate.pc.in
BUILT_SOURCES = \
@@ -18,6 +19,8 @@ BUILT_SOURCES = \
dbus-listener-client.h \
listener-marshal.c \
listener-marshal.h \
+ server-marshal.c \
+ server-marshal.h \
$(ENUM_FILE).h \
$(ENUM_FILE).c
@@ -45,6 +48,8 @@ libindicate_la_SOURCES = \
dbus-listener-client.h \
indicate-enum-types.c \
server.c \
+ server-marshal.c \
+ server-marshal.h \
listener.c \
listener-marshal.c \
listener-marshal.h \
@@ -101,6 +106,16 @@ listener-marshal.c: $(srcdir)/listener-marshal.list
--prefix=_indicate_listener_marshal $(srcdir)/listener-marshal.list \
> listener-marshal.c
+server-marshal.h: $(srcdir)/server-marshal.list
+ glib-genmarshal --header \
+ --prefix=_indicate_server_marshal $(srcdir)/server-marshal.list \
+ > server-marshal.h
+
+server-marshal.c: $(srcdir)/server-marshal.list
+ glib-genmarshal --body \
+ --prefix=_indicate_server_marshal $(srcdir)/server-marshal.list \
+ > server-marshal.c
+
pkgconfig_DATA = indicate.pc
pkgconfigdir = $(libdir)/pkgconfig
diff --git a/libindicate/server-marshal.list b/libindicate/server-marshal.list
new file mode 100644
index 0000000..540f0fe
--- /dev/null
+++ b/libindicate/server-marshal.list
@@ -0,0 +1,29 @@
+# A library to allow applictions to provide simple indications of
+# information to be displayed to users of the application through the
+# interface shell.
+#
+# Copyright 2009 Canonical Ltd.
+#
+# Authors:
+# Ted Gould <ted@canonical.com>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of either or both of the following licenses:
+#
+# 1) the GNU Lesser General Public License version 3, as published by the
+# Free Software Foundation; and/or
+# 2) the GNU Lesser General Public License version 2.1, as published by
+# the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranties of
+# MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the applicable version of the GNU Lesser General Public
+# License for more details.
+#
+# You should have received a copy of both the GNU Lesser General Public
+# License version 3 and version 2.1 along with this program. If not, see
+# <http://www.gnu.org/licenses/>
+#
+# IndicatorAdded
+VOID:UINT,STRING