| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
#ifndef GCLUE_SERVICE_MANAGER_H |
| 24 |
#define GCLUE_SERVICE_MANAGER_H |
| 25 |
|
| 26 |
#include <glib-object.h> |
| 27 |
#include "gclue-manager-interface.h" |
| 28 |
|
| 29 |
G_BEGIN_DECLS |
| 30 |
|
| 31 |
#define GCLUE_TYPE_SERVICE_MANAGER (gclue_service_manager_get_type()) |
| 32 |
#define GCLUE_SERVICE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCLUE_TYPE_SERVICE_MANAGER, GClueServiceManager)) |
| 33 |
#define GCLUE_SERVICE_MANAGER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCLUE_TYPE_SERVICE_MANAGER, GClueServiceManager const)) |
| 34 |
#define GCLUE_SERVICE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCLUE_TYPE_SERVICE_MANAGER, GClueServiceManagerClass)) |
| 35 |
#define GCLUE_IS_SERVICE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCLUE_TYPE_SERVICE_MANAGER)) |
| 36 |
#define GCLUE_IS_SERVICE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCLUE_TYPE_SERVICE_MANAGER)) |
| 37 |
#define GCLUE_SERVICE_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCLUE_TYPE_SERVICE_MANAGER, GClueServiceManagerClass)) |
| 38 |
|
| 39 |
typedef struct _GClueServiceManager GClueServiceManager; |
| 40 |
typedef struct _GClueServiceManagerClass GClueServiceManagerClass; |
| 41 |
typedef struct _GClueServiceManagerPrivate GClueServiceManagerPrivate; |
| 42 |
|
| 43 |
struct _GClueServiceManager |
| 44 |
{ |
| 45 |
GClueDBusManagerSkeleton parent; |
| 46 |
|
| 47 |
|
| 48 |
GClueServiceManagerPrivate *priv; |
| 49 |
}; |
| 50 |
|
| 51 |
struct _GClueServiceManagerClass |
| 52 |
{ |
| 53 |
GClueDBusManagerSkeletonClass parent_class; |
| 54 |
}; |
| 55 |
|
| 56 |
GType gclue_service_manager_get_type (void) G_GNUC_CONST; |
| 57 |
|
| 58 |
GClueServiceManager * gclue_service_manager_new (GDBusConnection *connection, |
| 59 |
GError **error); |
| 60 |
gboolean gclue_service_manager_get_active (GClueServiceManager *manager); |
| 61 |
|
| 62 |
G_END_DECLS |
| 63 |
|
| 64 |
#endif |