aboutsummaryrefslogtreecommitdiff
path: root/libindicate/listener.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-15 15:33:00 -0600
committerTed Gould <ted@canonical.com>2009-01-15 15:33:00 -0600
commit441032cd3c150032bae9c7ec1c94fcacceee7c90 (patch)
tree786fe11c156e191533e7d33664461a5032ab8a32 /libindicate/listener.h
parentccac9b84bae42b0ad622d282dc12a65c3f7c7b11 (diff)
downloadlibayatana-indicator-441032cd3c150032bae9c7ec1c94fcacceee7c90.tar.gz
libayatana-indicator-441032cd3c150032bae9c7ec1c94fcacceee7c90.tar.bz2
libayatana-indicator-441032cd3c150032bae9c7ec1c94fcacceee7c90.zip
Starting to flesh out the listener a little bit, should get a list of names on teh bus at this point
Diffstat (limited to 'libindicate/listener.h')
-rw-r--r--libindicate/listener.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libindicate/listener.h b/libindicate/listener.h
index 1f0c870..8fc210f 100644
--- a/libindicate/listener.h
+++ b/libindicate/listener.h
@@ -5,6 +5,8 @@
#include <glib.h>
#include <glib-object.h>
+#include <dbus/dbus-glib.h>
+
#include "indicator.h"
#include "server.h"
@@ -22,6 +24,16 @@ typedef struct _IndicateListener IndicateListener;
struct _IndicateListener {
GObject parent;
+ DBusGConnection * session_bus;
+ DBusGConnection * system_bus;
+
+ DBusGProxy * dbus_proxy_session;
+ DBusGProxy * dbus_proxy_system;
+
+ GHashTable * proxies_session;
+ GHashTable * proxies_system;
+
+ GArray * proxy_todo;
};
typedef struct _IndicateListenerClass IndicateListenerClass;