aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/custom-service-appstore.c23
-rw-r--r--src/custom-service-appstore.h8
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