aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/application-service-watcher.h')
-rw-r--r--src/application-service-watcher.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/application-service-watcher.h b/src/application-service-watcher.h
index c431a59..e8263f5 100644
--- a/src/application-service-watcher.h
+++ b/src/application-service-watcher.h
@@ -1,5 +1,5 @@
-#ifndef __CUSTOM_SERVICE_WATCHER_H__
-#define __CUSTOM_SERVICE_WATCHER_H__
+#ifndef __APPLICATION_SERVICE_WATCHER_H__
+#define __APPLICATION_SERVICE_WATCHER_H__
#include <glib.h>
#include <glib-object.h>
@@ -8,32 +8,32 @@
G_BEGIN_DECLS
-#define CUSTOM_SERVICE_WATCHER_TYPE (custom_service_watcher_get_type ())
-#define CUSTOM_SERVICE_WATCHER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CUSTOM_SERVICE_WATCHER_TYPE, CustomServiceWatcher))
-#define CUSTOM_SERVICE_WATCHER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CUSTOM_SERVICE_WATCHER_TYPE, CustomServiceWatcherClass))
-#define IS_CUSTOM_SERVICE_WATCHER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CUSTOM_SERVICE_WATCHER_TYPE))
-#define IS_CUSTOM_SERVICE_WATCHER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CUSTOM_SERVICE_WATCHER_TYPE))
-#define CUSTOM_SERVICE_WATCHER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CUSTOM_SERVICE_WATCHER_TYPE, CustomServiceWatcherClass))
+#define APPLICATION_SERVICE_WATCHER_TYPE (application_service_watcher_get_type ())
+#define APPLICATION_SERVICE_WATCHER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), APPLICATION_SERVICE_WATCHER_TYPE, ApplicationServiceWatcher))
+#define APPLICATION_SERVICE_WATCHER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), APPLICATION_SERVICE_WATCHER_TYPE, ApplicationServiceWatcherClass))
+#define IS_APPLICATION_SERVICE_WATCHER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APPLICATION_SERVICE_WATCHER_TYPE))
+#define IS_APPLICATION_SERVICE_WATCHER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), APPLICATION_SERVICE_WATCHER_TYPE))
+#define APPLICATION_SERVICE_WATCHER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), APPLICATION_SERVICE_WATCHER_TYPE, ApplicationServiceWatcherClass))
-typedef struct _CustomServiceWatcher CustomServiceWatcher;
-typedef struct _CustomServiceWatcherClass CustomServiceWatcherClass;
+typedef struct _ApplicationServiceWatcher ApplicationServiceWatcher;
+typedef struct _ApplicationServiceWatcherClass ApplicationServiceWatcherClass;
-struct _CustomServiceWatcherClass {
+struct _ApplicationServiceWatcherClass {
GObjectClass parent_class;
/* Signals */
- void (*service_registered) (CustomServiceWatcher * watcher, gchar * object, gpointer data);
- void (*service_unregistered) (CustomServiceWatcher * watcher, gchar * object, gpointer data);
- void (*notification_host_registered) (CustomServiceWatcher * watcher, gpointer data);
- void (*notification_host_unregistered) (CustomServiceWatcher * watcher, gpointer data);
+ void (*service_registered) (ApplicationServiceWatcher * watcher, gchar * object, gpointer data);
+ void (*service_unregistered) (ApplicationServiceWatcher * watcher, gchar * object, gpointer data);
+ void (*notification_host_registered) (ApplicationServiceWatcher * watcher, gpointer data);
+ void (*notification_host_unregistered) (ApplicationServiceWatcher * watcher, gpointer data);
};
-struct _CustomServiceWatcher {
+struct _ApplicationServiceWatcher {
GObject parent;
};
-GType custom_service_watcher_get_type (void);
-CustomServiceWatcher * custom_service_watcher_new (CustomServiceAppstore * appstore);
+GType application_service_watcher_get_type (void);
+ApplicationServiceWatcher * application_service_watcher_new (ApplicationServiceAppstore * appstore);
G_END_DECLS