aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-29 17:34:00 -0500
committerTed Gould <ted@canonical.com>2009-10-29 17:34:00 -0500
commitc099b0332adb448caa987370d95fbbc808f00935 (patch)
treed30b79503dd097f5a397f6e5701f8ae86a932a77 /libindicator
parent74296a68665e9c582c37a61894a9c1ba1630cb9d (diff)
downloadlibayatana-indicator-c099b0332adb448caa987370d95fbbc808f00935.tar.gz
libayatana-indicator-c099b0332adb448caa987370d95fbbc808f00935.tar.bz2
libayatana-indicator-c099b0332adb448caa987370d95fbbc808f00935.zip
Adding the API functions.
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-service-manager.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/libindicator/indicator-service-manager.c b/libindicator/indicator-service-manager.c
index 6fd9a5b..cd16cf6 100644
--- a/libindicator/indicator-service-manager.c
+++ b/libindicator/indicator-service-manager.c
@@ -55,3 +55,28 @@ indicator_service_manager_finalize (GObject *object)
G_OBJECT_CLASS (indicator_service_manager_parent_class)->finalize (object);
return;
}
+
+/* API */
+IndicatorServiceManager *
+indicator_service_manager_new (gchar * dbus_name)
+{
+ GObject * obj = g_object_new(INDICATOR_SERVICE_MANAGER_TYPE,
+ "name", dbus_name,
+ NULL);
+
+ return INDICATOR_SERVICE_MANAGER(obj);
+}
+
+gboolean
+indicator_service_manager_connected (IndicatorServiceManager * sm)
+{
+
+ return FALSE;
+}
+
+void
+indicator_service_manager_set_refresh (IndicatorServiceManager * sm, guint time_in_ms)
+{
+
+ return;
+}