changed rotation code
[framework/appfw/app-core.git] / include / appcore-internal.h
index d539bdc..038e2dc 100755 (executable)
@@ -24,7 +24,7 @@
 #ifndef __APPCORE_INTERNAL_H__
 #define __APPCORE_INTERNAL_H__
 
-#define LOG_TAG "Appcore"
+#define LOG_TAG "APP_CORE"
 
 #include <stdio.h>
 #include <dlog.h>
@@ -157,6 +157,8 @@ struct ui_ops {
 /* appcore-i18n.c */
 extern void update_lang(void);
 extern int set_i18n(const char *domainname, const char *dirname);
+void update_region(void);
+
 
 /* appcore-X.c */
 extern int x_raise_win(pid_t pid);
@@ -164,6 +166,18 @@ extern int x_raise_win(pid_t pid);
 /* appcore-util.c */
 /* extern void stack_trim(void);*/
 
+int appcore_pause_rotation_cb(void);
+int appcore_resume_rotation_cb(void);
+
+struct ui_wm_rotate {
+   int (*set_rotation_cb) (int (*cb) (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);
+
 #define ENV_START "APP_START_TIME"
 
 #define MEMORY_FLUSH_ACTIVATE