modify license, permission and remove ^M char
[platform/framework/native/uifw.git] / src / ui / FUi_OrientationAgent.h
index e858eec..382d414 100644 (file)
@@ -53,6 +53,7 @@ public:
        void Update(bool draw = false);
 #if defined(WINDOW_BASE_ROTATE)
        void UpdateOrientation(void);
+       void SetRotation(const _Window& window, Orientation orientation);
 #endif
 
        void RequestOrientationEvent(void);
@@ -60,9 +61,6 @@ public:
 
 private:
        void FireEvent(OrientationStatus status);
-#if defined(WINDOW_BASE_ROTATE)
-       void SetRotation(const _Window& window, Orientation orientation);
-#endif
 
        _OrientationAgent(Control& publicControl);
 
@@ -74,6 +72,7 @@ private:
        _PublicOrientationEvent* __pPublicEvent;
        Orientation __mode;
        OrientationStatus __status;
+       OrientationStatus __tempStatus;
        bool __firePublicEvent;
        bool __statusChanged;
        bool __updateStatus;