aboutsummaryrefslogtreecommitdiff
path: root/libindicate
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-29 09:07:14 -0600
committerTed Gould <ted@canonical.com>2009-01-29 09:07:14 -0600
commit63630dcba6ca194176a057a838a1e36e9df28cad (patch)
tree364dbfe8af278da37c15c79e56873ab357ba64fe /libindicate
parent5454aee4458482c5a55ae3fffa8a959f72129ca1 (diff)
downloadlibayatana-indicator-63630dcba6ca194176a057a838a1e36e9df28cad.tar.gz
libayatana-indicator-63630dcba6ca194176a057a838a1e36e9df28cad.tar.bz2
libayatana-indicator-63630dcba6ca194176a057a838a1e36e9df28cad.zip
Getting some helper defines for some of the hacks that'll probably change in the future
Diffstat (limited to 'libindicate')
-rw-r--r--libindicate/listener.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libindicate/listener.h b/libindicate/listener.h
index 934f0fd..cadc487 100644
--- a/libindicate/listener.h
+++ b/libindicate/listener.h
@@ -26,6 +26,9 @@ G_BEGIN_DECLS
#define INDICATE_LISTENER_SIGNAL_SERVER_ADDED "server-added"
#define INDICATE_LISTENER_SIGNAL_SERVER_REMOVED "server-removed"
+#define INDICATE_LISTENER_SERVER_DBUS_NAME(server) ((gchar *)server)
+#define INDICATE_LISTENER_INDICATOR_ID(indicator) (GPOINTER_TO_UINT(indicator))
+
typedef gchar IndicateListenerServer;
typedef guint IndicateListenerIndicator;