diff options
author | Ted Gould <ted@canonical.com> | 2009-10-29 17:34:00 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-29 17:34:00 -0500 |
commit | c099b0332adb448caa987370d95fbbc808f00935 (patch) | |
tree | d30b79503dd097f5a397f6e5701f8ae86a932a77 /libindicator | |
parent | 74296a68665e9c582c37a61894a9c1ba1630cb9d (diff) | |
download | libayatana-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.c | 25 |
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; +} |