javauis/eswt_akn/eswtdirectcontent/native/inc/swtdccontrol.h
branchRCL_3
changeset 60 6c158198356e
parent 24 0fd27995241b
--- a/javauis/eswt_akn/eswtdirectcontent/native/inc/swtdccontrol.h	Thu Jul 15 18:31:06 2010 +0300
+++ b/javauis/eswt_akn/eswtdirectcontent/native/inc/swtdccontrol.h	Thu Aug 19 09:48:13 2010 +0300
@@ -75,6 +75,8 @@
     void DoDraw();
     void DoCallDSAResourcesCallback(MUiEventConsumer *aConsumer);
     void DoCallUICallback(MUiEventConsumer *aConsumer, TInt aCallbackId);
+    void FixUIOrientation();
+    void UnFixUIOrientation();
 
 public: // From CCoeControl
     void SetDimmed(TBool aDimmed);
@@ -116,6 +118,7 @@
         TBool aIsInUiThread);
     void MdcGetUICallback(MUiEventConsumer& aConsumer, TInt aCallbackId);
     TRect MdcContainerWindowRect() const;
+    void MdcFixUIOrientation(TBool aEnableFix);
 
 public: // From MSwtDcFullscreenProvider
     void HandleDcEvent(int aType);
@@ -193,7 +196,11 @@
     // This observer receives requests from any thread and asynchronously
     // calls a callback in ESWT thread to a given receiver
     CSwtDcObserver* iDcObserver;
-
+    
+    // Indicates that UI orientation has been set to fixed
+    // by this instance already, so another calls of 
+    // MdcFixUIOrientation(ETrue) are ignored then. And vice versa.
+    TBool iFixedOrientationSet;
 
 };