summaryrefslogtreecommitdiff
path: root/plugins/background/msd-background-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/background/msd-background-manager.h')
-rw-r--r--plugins/background/msd-background-manager.h59
1 files changed, 33 insertions, 26 deletions
diff --git a/plugins/background/msd-background-manager.h b/plugins/background/msd-background-manager.h
index 91e232c..e935a89 100644
--- a/plugins/background/msd-background-manager.h
+++ b/plugins/background/msd-background-manager.h
@@ -27,32 +27,39 @@
extern "C" {
#endif
-#define MSD_TYPE_BACKGROUND_MANAGER (msd_background_manager_get_type ())
-#define MSD_BACKGROUND_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MSD_TYPE_BACKGROUND_MANAGER, MsdBackgroundManager))
-#define MSD_BACKGROUND_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), MSD_TYPE_BACKGROUND_MANAGER, MsdBackgroundManagerClass))
-#define MSD_IS_BACKGROUND_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MSD_TYPE_BACKGROUND_MANAGER))
-#define MSD_IS_BACKGROUND_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), MSD_TYPE_BACKGROUND_MANAGER))
-#define MSD_BACKGROUND_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MSD_TYPE_BACKGROUND_MANAGER, MsdBackgroundManagerClass))
-
-typedef struct MsdBackgroundManagerPrivate MsdBackgroundManagerPrivate;
-
-typedef struct
-{
- GObject parent;
- MsdBackgroundManagerPrivate *priv;
-} MsdBackgroundManager;
-
-typedef struct
-{
- GObjectClass parent_class;
-} MsdBackgroundManagerClass;
-
-GType msd_background_manager_get_type (void);
-
-MsdBackgroundManager * msd_background_manager_new (void);
-gboolean msd_background_manager_start (MsdBackgroundManager *manager,
- GError **error);
-void msd_background_manager_stop (MsdBackgroundManager *manager);
+//class MsdBackgroundManager
+//{
+ #define MSD_TYPE_BACKGROUND_MANAGER (msd_background_manager_get_type())
+ #define MSD_BACKGROUND_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST((o), MSD_TYPE_BACKGROUND_MANAGER, MsdBackgroundManager))
+ #define MSD_BACKGROUND_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), MSD_TYPE_BACKGROUND_MANAGER, MsdBackgroundManagerClass))
+ #define MSD_IS_BACKGROUND_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), MSD_TYPE_BACKGROUND_MANAGER))
+ #define MSD_IS_BACKGROUND_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), MSD_TYPE_BACKGROUND_MANAGER))
+ #define MSD_BACKGROUND_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), MSD_TYPE_BACKGROUND_MANAGER, MsdBackgroundManagerClass))
+
+ typedef struct MsdBackgroundManagerPrivate MsdBackgroundManagerPrivate;
+
+ typedef struct {
+ GObject parent;
+ MsdBackgroundManagerPrivate* priv;
+ } MsdBackgroundManager;
+
+ typedef struct {
+ GObjectClass parent_class;
+ } MsdBackgroundManagerClass;
+
+ GType
+ msd_background_manager_get_type (void);
+
+ MsdBackgroundManager*
+ msd_background_manager_new (void);
+
+ gboolean
+ msd_background_manager_start (MsdBackgroundManager* manager,
+ GError** error);
+
+ void
+ msd_background_manager_stop (MsdBackgroundManager* manager);
+//}
#ifdef __cplusplus
}