terminalsecurity/SCP/SCPClient/inc/SCPLockObserver.h
branchRCL_3
changeset 61 b183ec05bd8c
parent 58 4af31167ea77
child 62 19bba8228ff0
equal deleted inserted replaced
59:13d7c31c74e0 61:b183ec05bd8c
    25 class CSCPQueryDialog;
    25 class CSCPQueryDialog;
    26 
    26 
    27 NONSHARABLE_CLASS(CSCPLockObserver): public CActive
    27 NONSHARABLE_CLASS(CSCPLockObserver): public CActive
    28     {
    28     {
    29     public:
    29     public:
    30         enum TCurrCallStatus {
       
    31             EInProgress = 34221,
       
    32             EEnded
       
    33         };
       
    34         
       
    35 		/**
    30 		/**
    36         * Creates instance of the CLockObserver class.
    31         * Creates instance of the CLockObserver class.
    37         *
    32         *
    38 		* @param aDialog (pointer to code dialog)
    33 		* @param aDialog (pointer to code dialog)
    39 		* @return Returns the instance just created.
    34 		* @return Returns the instance just created.
    75         */
    70         */
    76         void ConstructL();
    71         void ConstructL();
    77     private: // from CActive
    72     private: // from CActive
    78          /** @see CActive::RunL() */
    73          /** @see CActive::RunL() */
    79 		void RunL();
    74 		void RunL();
    80 		TInt RunError(TInt aError);
       
    81 		/** @see CActive::DoCancel() */
    75 		/** @see CActive::DoCancel() */
    82         void DoCancel();
    76         void DoCancel();
    83     private: // data
    77     private: // data
    84         CSCPQueryDialog*      iDialog; //not owned!
    78         CSCPQueryDialog*      iDialog; //not owned!
    85         RProperty            iProperty;
    79         RProperty            iProperty;
       
    80         TBool				 iSubscribedToEvent;
    86         TInt                 iType; //Type of the observer
    81         TInt                 iType; //Type of the observer
    87         TBool                iInformCallEnding;
       
    88         TInt                 iSubscribedToEvent;
       
    89         TInt                 iPrevCallState;
       
    90     };
    82     };
    91 
    83 
    92 #endif 
    84 #endif 
    93 // End of file
    85 // End of file