taskswitcher/taskswitcherui/taskswitcherapp/inc/tsfastswaparea.h
branchRCL_3
changeset 19 79311d856354
parent 18 d05a55b217df
child 23 7be2816dbabd
equal deleted inserted replaced
18:d05a55b217df 19:79311d856354
   384      * Returns current screen orientation:
   384      * Returns current screen orientation:
   385      * 
   385      * 
   386      * @return  1 if landscape, 0 if portait 
   386      * @return  1 if landscape, 0 if portait 
   387      */
   387      */
   388     TInt GetCurrentScreenOrientation();
   388     TInt GetCurrentScreenOrientation();
   389 
   389     
       
   390     /**
       
   391      * Retrieves variety value, based on current screen resolution.
       
   392      * 
       
   393      * @param  aVariety  result of the function, 0 value means portrait
       
   394      *                   value of 1 indicates landscape
       
   395      * @return  ETrue if screen resolution differs from vale returned by
       
   396      *          layout meta data functions.
       
   397      */
       
   398     TBool GetVariety( TInt& aVariety );
       
   399         
   390 private: // Data
   400 private: // Data
   391     
   401     
   392     // parent control
   402     // parent control
   393     CCoeControl& iParent;
   403     CCoeControl& iParent;
   394     
   404     
   439     TBool iIgnoreLayoutSwitch;
   449     TBool iIgnoreLayoutSwitch;
   440     
   450     
   441     // Key event handling
   451     // Key event handling
   442     TBool iConsumeEvent;
   452     TBool iConsumeEvent;
   443     TBool iKeyEvent;
   453     TBool iKeyEvent;
       
   454     
       
   455     // App closing handling
   444     RArray<TInt> iIsClosing;
   456     RArray<TInt> iIsClosing;
       
   457     TInt iWidgetClosingCount;
   445     };
   458     };
   446 
   459 
   447 #endif // TSFASTSWAPAREA_H
   460 #endif // TSFASTSWAPAREA_H