[Tizen] Make AccessibilityInfo to member variable
[platform/core/uifw/dali-adaptor.git] / dali / internal / window-system / common / window-base.h
index ea33d05..6dc03bd 100644 (file)
@@ -61,6 +61,7 @@ public:
     int endY;
     int state;
     int eventTime;
+    unsigned char quickpanelInfo; // to retrieve quick panel information for Accessibility
   };
 
   // Window
@@ -85,6 +86,7 @@ public:
   // Accessibility
   typedef Signal< void ( StyleChange::Type ) > StyleSignalType;
   typedef Signal< void ( const AccessibilityInfo& ) > AccessibilitySignalType;
+  typedef Signal< void ( const unsigned char& ) > QuickPanelSignalType;
 
   /**
    * @brief Default constructor
@@ -313,6 +315,12 @@ public:
   virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) = 0;
 
   /**
+   * @brief Return the orientation of the surface.
+   * @return The orientation
+   */
+  virtual int GetOrientation() const = 0;
+
+  /**
    * @brief Get the screen rotation angle of the window
    */
   virtual int GetScreenRotationAngle() = 0;
@@ -322,6 +330,11 @@ public:
    */
   virtual void SetWindowRotationAngle( int degree ) = 0;
 
+    /**
+   * @brief Get the rotation angle of the window
+   */
+  virtual int GetWindowRotationAngle() = 0;
+
   /**
    * @brief Inform the window rotation is completed
    */
@@ -417,6 +430,11 @@ public:
   AccessibilitySignalType& AccessibilitySignal();
 
   /**
+   * @brief This signal is emitted when a quick panel event for accessibility is received.
+   */
+  QuickPanelSignalType& QuickPanelSignal();
+
+  /**
    * @brief This signal is emitted when window's transition animation is started or ended.
    */
   TransitionEffectEventSignalType& TransitionEffectEventSignal();
@@ -457,6 +475,8 @@ protected:
   TransitionEffectEventSignalType         mTransitionEffectEventSignal;
   KeyboardRepeatSettingsChangedSignalType mKeyboardRepeatSettingsChangedSignal;
   WindowRedrawRequestSignalType           mWindowRedrawRequestSignal;
+  QuickPanelSignalType                    mQuickPanelSignal;
+  AccessibilityInfo                       mAccessibilityInfo;
 };
 
 } // namespace Adaptor