equal
deleted
inserted
replaced
61 |
61 |
62 /** |
62 /** |
63 * Destructor. |
63 * Destructor. |
64 */ |
64 */ |
65 virtual ~CSCPLockSettingEventHandler(); |
65 virtual ~CSCPLockSettingEventHandler(); |
66 |
|
67 // New methods |
|
68 /** |
|
69 * Informs the object that an acknowledgement was received |
|
70 * This method will be used, if the acknowledgement comes in |
|
71 * before the wait is started. |
|
72 */ |
|
73 void AckReceived(); |
|
74 |
66 |
75 /** |
67 /** |
76 * Starts the lock/unlock operation. Must be called for the object |
68 * Starts the lock/unlock operation. Must be called for the object |
77 * to take any action. |
69 * to take any action. |
78 */ |
70 */ |
123 CSCPSession* iSession; |
115 CSCPSession* iSession; |
124 /** The state to which the lock should be set */ |
116 /** The state to which the lock should be set */ |
125 TBool iState; |
117 TBool iState; |
126 /** Should Autolock be activated/deactivated on success */ |
118 /** Should Autolock be activated/deactivated on success */ |
127 TBool iAutolock; |
119 TBool iAutolock; |
128 /** Is the AO waiting for an acknowledgement to the lock setting call*/ |
|
129 TBool iWaitingForAck; |
|
130 /** Has the AO received an acknowledgement already*/ |
|
131 TBool iAckReceived; |
|
132 /** Has an unlock-message to Autolock been sent*/ |
120 /** Has an unlock-message to Autolock been sent*/ |
133 TBool iUnlockSent; |
121 TBool iUnlockSent; |
134 /** The return status for the message*/ |
122 /** The return status for the message*/ |
135 TInt iMessageStatus; |
123 TInt iMessageStatus; |
136 }; |
124 }; |