aboutsummaryrefslogtreecommitdiff
path: root/src/custom-service-watcher.h
blob: c705fb56c43202e12ef973f20977e3f38b4107c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef __CUSTOM_SERVICE_WATCHER_H__
#define __CUSTOM_SERVICE_WATCHER_H__

#include <glib.h>
#include <glib-object.h>

#include "custom-service-appstore.h"

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))

typedef struct _CustomServiceWatcher      CustomServiceWatcher;
typedef struct _CustomServiceWatcherClass CustomServiceWatcherClass;

struct _CustomServiceWatcherClass {
	GObjectClass parent_class;
};

struct _CustomServiceWatcher {
	GObject parent;
};

GType custom_service_watcher_get_type (void);
CustomServiceWatcher * custom_service_watcher_new (CustomServiceAppstore * appstore);

G_END_DECLS

#endif