coreapplicationuis/SysAp/Inc/sysapdefaultkeyhandler.h
changeset 48 2222076f5c60
parent 0 2e3d3ce01487
equal deleted inserted replaced
40:951aeeb3da43 48:2222076f5c60
    19 #ifndef SYSAPDEFAULTKEYHANDLER_H
    19 #ifndef SYSAPDEFAULTKEYHANDLER_H
    20 #define SYSAPDEFAULTKEYHANDLER_H
    20 #define SYSAPDEFAULTKEYHANDLER_H
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include <coedef.h>
    23 #include <coedef.h>
    24 #include <AknCapServerClient.h>
    24 //#include <AknCapServerClient.h>
    25 
    25 
       
    26 class RWindowGroup;
    26 class MSysapCallback;
    27 class MSysapCallback;
    27 class RAknKeylock2;
    28 
       
    29 //class RAknKeylock2;
       
    30 //class CSysApAppUi;
    28 
    31 
    29 
    32 
    30 /**
    33 /**
    31  *  Default key handling of System Application.
    34  *  Default key handling of System Application.
    32  *
    35  *
    47         * 
    50         * 
    48         * @since S60 3.2
    51         * @since S60 3.2
    49         * @param aCallback reference to System Application callback interface.
    52         * @param aCallback reference to System Application callback interface.
    50         * @return pointer to a new instance of CSysApDefaultKeyHandler.
    53         * @return pointer to a new instance of CSysApDefaultKeyHandler.
    51         */
    54         */
    52         static CSysApDefaultKeyHandler* NewL( MSysapCallback& callback );
    55         static CSysApDefaultKeyHandler* NewL(MSysapCallback& callback);
    53 
    56 
    54         /**
    57         /**
    55         * Destructor.
    58         * Destructor.
    56         */
    59         */
    57         virtual ~CSysApDefaultKeyHandler();
    60         virtual ~CSysApDefaultKeyHandler();
    83         /**
    86         /**
    84         * Constructor.
    87         * Constructor.
    85         *
    88         *
    86         * @param aCallback reference to System Application callback interface.
    89         * @param aCallback reference to System Application callback interface.
    87         */
    90         */
    88         CSysApDefaultKeyHandler( MSysapCallback& callback );
    91         CSysApDefaultKeyHandler(MSysapCallback& callback );
    89 
    92 
    90     private:
    93     private:
    91     
    94     
    92         /**
    95         /**
    93         * C++ default constructor.
    96         * C++ default constructor.
   160         * @return TBool ETrue if keys are locked and note was shown
   163         * @return TBool ETrue if keys are locked and note was shown
   161         */
   164         */
   162         TBool DoShowKeysLockedNote();
   165         TBool DoShowKeysLockedNote();
   163         
   166         
   164     private: // data
   167     private: // data
   165 
   168         
       
   169         // Our window group from SysappUi
       
   170  //       RWindowGroup& iRootWindowGroup;
       
   171         
   166         /**
   172         /**
   167         * Reference to callback object.
   173         * Reference to callback object.
   168         */
   174         */
   169         MSysapCallback& iCallback;
   175         MSysapCallback& iCallback;
   170         
   176         
   180         
   186         
   181         /**
   187         /**
   182         * Pointer to sysap-owned RAknKeylock2*
   188         * Pointer to sysap-owned RAknKeylock2*
   183         * Not own.
   189         * Not own.
   184         */
   190         */
   185         RAknKeylock2* iKeylock;
   191 //        RAknKeylock2* iKeylock;
   186         
   192         
   187         /**
   193         /**
   188         * Handle of the captured camera key event.
   194         * Handle of the captured camera key event.
   189         */
   195         */
   190         TInt iCapturedEKeyCamera;
   196         TInt iCapturedEKeyCamera;
   220         TBool iAknUiServerConnected;
   226         TBool iAknUiServerConnected;
   221         
   227         
   222         /**
   228         /**
   223         * Avkon UI Server
   229         * Avkon UI Server
   224         */
   230         */
   225         RAknUiServer iAknUiServer;
   231 //        RAknUiServer iAknUiServer;
   226         
   232         
   227     };
   233     };
   228 
   234 
   229 #endif // SYSAPDEFAULTKEYHANDLER_H
   235 #endif // SYSAPDEFAULTKEYHANDLER_H