terminalsecurity/SCP/SCPClient/inc/SCPLockObserver.h
branchRCL_3
changeset 26 19bba8228ff0
parent 25 b183ec05bd8c
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
    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         
    30 		/**
    35 		/**
    31         * Creates instance of the CLockObserver class.
    36         * Creates instance of the CLockObserver class.
    32         *
    37         *
    33 		* @param aDialog (pointer to code dialog)
    38 		* @param aDialog (pointer to code dialog)
    34 		* @return Returns the instance just created.
    39 		* @return Returns the instance just created.
    70         */
    75         */
    71         void ConstructL();
    76         void ConstructL();
    72     private: // from CActive
    77     private: // from CActive
    73          /** @see CActive::RunL() */
    78          /** @see CActive::RunL() */
    74 		void RunL();
    79 		void RunL();
       
    80 		TInt RunError(TInt aError);
    75 		/** @see CActive::DoCancel() */
    81 		/** @see CActive::DoCancel() */
    76         void DoCancel();
    82         void DoCancel();
    77     private: // data
    83     private: // data
    78         CSCPQueryDialog*      iDialog; //not owned!
    84         CSCPQueryDialog*      iDialog; //not owned!
    79         RProperty            iProperty;
    85         RProperty            iProperty;
    80         TBool				 iSubscribedToEvent;
       
    81         TInt                 iType; //Type of the observer
    86         TInt                 iType; //Type of the observer
       
    87         TBool                iInformCallEnding;
       
    88         TInt                 iSubscribedToEvent;
       
    89         TInt                 iPrevCallState;
    82     };
    90     };
    83 
    91 
    84 #endif 
    92 #endif 
    85 // End of file
    93 // End of file