diff options
author | Ted Gould <ted@canonical.com> | 2009-11-06 21:16:47 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-11-06 21:16:47 -0600 |
commit | 78a6d0dc74a7ea166e207f8036cc4930bcdcbbbd (patch) | |
tree | 1d9ac28e6a35d628353e32291bfa7006fb23fe8b | |
parent | 591311a82b0ce6e0bc74439186bb22d5224d85c5 (diff) | |
download | ayatana-indicator-application-78a6d0dc74a7ea166e207f8036cc4930bcdcbbbd.tar.gz ayatana-indicator-application-78a6d0dc74a7ea166e207f8036cc4930bcdcbbbd.tar.bz2 ayatana-indicator-application-78a6d0dc74a7ea166e207f8036cc4930bcdcbbbd.zip |
Adding app add/remove to appstore
-rw-r--r-- | src/custom-service-appstore.c | 23 | ||||
-rw-r--r-- | src/custom-service-appstore.h | 8 |
2 files changed, 30 insertions, 1 deletions
diff --git a/src/custom-service-appstore.c b/src/custom-service-appstore.c index 493d4f4..ceb2c17 100644 --- a/src/custom-service-appstore.c +++ b/src/custom-service-appstore.c @@ -105,6 +105,28 @@ custom_service_appstore_finalize (GObject *object) return; } +void +custom_service_appstore_application_add (CustomServiceAppstore * appstore, gchar * dbus_name, gchar * dbus_object) +{ + g_return_if_fail(IS_CUSTOM_SERVICE_APPSTORE(appstore)); + g_return_if_fail(dbus_name != NULL && dbus_name[0] != '\0'); + g_return_if_fail(dbus_object != NULL && dbus_object[0] != '\0'); + + + return; +} + +void +custom_service_appstore_application_remove (CustomServiceAppstore * appstore, gchar * dbus_name, gchar * dbus_object) +{ + g_return_if_fail(IS_CUSTOM_SERVICE_APPSTORE(appstore)); + g_return_if_fail(dbus_name != NULL && dbus_name[0] != '\0'); + g_return_if_fail(dbus_object != NULL && dbus_object[0] != '\0'); + + + return; +} + /* DBus Interface */ static gboolean _custom_service_server_get_applications (CustomServiceAppstore * appstore, GArray ** apps) @@ -112,3 +134,4 @@ _custom_service_server_get_applications (CustomServiceAppstore * appstore, GArra return FALSE; } + diff --git a/src/custom-service-appstore.h b/src/custom-service-appstore.h index 311158f..e1cb52a 100644 --- a/src/custom-service-appstore.h +++ b/src/custom-service-appstore.h @@ -27,7 +27,13 @@ struct _CustomServiceAppstore { void (*application_removed) (CustomServiceAppstore * appstore, gint, gpointer); }; -GType custom_service_appstore_get_type (void); +GType custom_service_appstore_get_type (void); +void custom_service_appstore_application_add (CustomServiceAppstore * appstore, + gchar * dbus_name, + gchar * dbus_object); +void custom_service_appstore_application_remove (CustomServiceAppstore * appstore, + gchar * dbus_name, + gchar * dbus_object); G_END_DECLS |