Finalize suspend dbus handler
[platform/core/appfw/app-core.git] / include / appcore-internal.h
index 0e3c0d8..f16c214 100644 (file)
@@ -179,21 +179,21 @@ int appcore_pause_rotation_cb(void);
 int appcore_resume_rotation_cb(void);
 
 struct ui_wm_rotate {
-   int (*set_rotation_cb) (int (*cb) (void *event_info, enum appcore_rm, void *), void *data);
-   int (*unset_rotation_cb) (void);
-   int (*get_rotation_state) (enum appcore_rm *curr);
-   int (*pause_rotation_cb) (void);
-   int (*resume_rotation_cb) (void);
+       int (*set_rotation_cb) (int (*cb)(void *event_info, enum appcore_rm, void *), void *data);
+       int (*unset_rotation_cb) (void);
+       int (*get_rotation_state) (enum appcore_rm *curr);
+       int (*pause_rotation_cb) (void);
+       int (*resume_rotation_cb) (void);
 };
 int appcore_set_wm_rotation(struct ui_wm_rotate* wm_rotate);
 
 void appcore_group_attach();
 void appcore_group_lower();
 unsigned int appcore_get_main_window(void);
-void appcore_get_app_core(struct appcore **ac);
-#ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT
-int _appcore_init_suspend_dbus_handler(void *data);
+#if defined(WAYLAND)
+unsigned int appcore_get_main_surface(void);
 #endif
+void appcore_get_app_core(struct appcore **ac);
 
 #define ENV_START "APP_START_TIME"