aboutsummaryrefslogtreecommitdiff
path: root/libindicate/listener.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-29 09:01:15 -0600
committerTed Gould <ted@canonical.com>2009-01-29 09:01:15 -0600
commitfea68aa76b35f2d7de5127847a4f326bafccbeee (patch)
tree560334add8a573ea08e3076ff7aa5ebe8a058729 /libindicate/listener.h
parent492652a6018874e3471bf4275c540bf9655392de (diff)
downloadlibayatana-indicator-fea68aa76b35f2d7de5127847a4f326bafccbeee.tar.gz
libayatana-indicator-fea68aa76b35f2d7de5127847a4f326bafccbeee.tar.bz2
libayatana-indicator-fea68aa76b35f2d7de5127847a4f326bafccbeee.zip
Making the signals use #defines to make everything a little more
predictable. I hate this part of GObject signals.
Diffstat (limited to 'libindicate/listener.h')
-rw-r--r--libindicate/listener.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libindicate/listener.h b/libindicate/listener.h
index 511cdd3..934f0fd 100644
--- a/libindicate/listener.h
+++ b/libindicate/listener.h
@@ -20,6 +20,12 @@ G_BEGIN_DECLS
#define INDICATE_IS_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), INDICATE_TYPE_LISTENER))
#define INDICATE_LISTENER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), INDICATE_TYPE_LISTENER, IndicateListenerClass))
+#define INDICATE_LISTENER_SIGNAL_INDICATOR_ADDED "indicator-added"
+#define INDICATE_LISTENER_SIGNAL_INDICATOR_REMOVED "indicator-removed"
+#define INDICATE_LISTENER_SIGNAL_INDICATOR_MODIFIED "indicator-modified"
+#define INDICATE_LISTENER_SIGNAL_SERVER_ADDED "server-added"
+#define INDICATE_LISTENER_SIGNAL_SERVER_REMOVED "server-removed"
+
typedef gchar IndicateListenerServer;
typedef guint IndicateListenerIndicator;