diff options
author | Ted Gould <ted@canonical.com> | 2009-06-12 16:56:08 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-06-12 16:56:08 -0500 |
commit | 9eb765152122a08ddfa95b150d9a7d5c46559356 (patch) | |
tree | f6b919a96d5dd4b92e8840c11e6afde8661b6ec1 /src/status-service-dbus.c | |
parent | 35477b8fb1bd21c4cccf039c4648af47972414a9 (diff) | |
download | ayatana-indicator-session-9eb765152122a08ddfa95b150d9a7d5c46559356.tar.gz ayatana-indicator-session-9eb765152122a08ddfa95b150d9a7d5c46559356.tar.bz2 ayatana-indicator-session-9eb765152122a08ddfa95b150d9a7d5c46559356.zip |
A quickly little object to put itself on DBus.
Diffstat (limited to 'src/status-service-dbus.c')
-rw-r--r-- | src/status-service-dbus.c | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/status-service-dbus.c b/src/status-service-dbus.c new file mode 100644 index 0000000..1eb94ca --- /dev/null +++ b/src/status-service-dbus.c @@ -0,0 +1,56 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "status-service-dbus.h" + +static void status_service_dbus_class_init (StatusServiceDbusClass *klass); +static void status_service_dbus_init (StatusServiceDbus *self); +static void status_service_dbus_dispose (GObject *object); +static void status_service_dbus_finalize (GObject *object); +static void _status_service_server_watch (void); + +#include "status-service-server.h" + +G_DEFINE_TYPE (StatusServiceDbus, status_service_dbus, G_TYPE_OBJECT); + +static void +status_service_dbus_class_init (StatusServiceDbusClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + + object_class->dispose = status_service_dbus_dispose; + object_class->finalize = status_service_dbus_finalize; + + return; +} + +static void +status_service_dbus_init (StatusServiceDbus *self) +{ + + return; +} + +static void +status_service_dbus_dispose (GObject *object) +{ + + G_OBJECT_CLASS (status_service_dbus_parent_class)->dispose (object); + return; +} + +static void +status_service_dbus_finalize (GObject *object) +{ + + G_OBJECT_CLASS (status_service_dbus_parent_class)->finalize (object); + return; +} + +static void +_status_service_server_watch (void) +{ + + return; +} |