summaryrefslogtreecommitdiff
path: root/plugins/background/msd-background-manager.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2012-06-05 12:19:54 -0300
committerPerberos <[email protected]>2012-06-05 12:19:54 -0300
commitd22aab3682bdd800f6a6e7c2a0ef6b6cfd8ffe03 (patch)
tree337dc8c160965ae40e1556f690c244b5e3bec2c7 /plugins/background/msd-background-manager.h
parent47ab5efee5617d8110b3942512e9370c9367ec89 (diff)
downloadmate-settings-daemon-d22aab3682bdd800f6a6e7c2a0ef6b6cfd8ffe03.tar.bz2
mate-settings-daemon-d22aab3682bdd800f6a6e7c2a0ef6b6cfd8ffe03.tar.xz
changing code format (http://imageshack.us/photo/my-images/9/254223656580e542a60a.jpg/)
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
}