equal
deleted
inserted
replaced
21 #include <e32base.h> |
21 #include <e32base.h> |
22 #include <bttypes.h> |
22 #include <bttypes.h> |
23 #include <btnotif.h> |
23 #include <btnotif.h> |
24 #include <btengconstants.h> |
24 #include <btengconstants.h> |
25 #include <btservices/btsimpleactive.h> |
25 #include <btservices/btsimpleactive.h> |
|
26 #include "bluetoothnotification.h" |
26 |
27 |
27 class CBTNotifSecurityManager; |
28 class CBTNotifSecurityManager; |
28 |
29 |
29 /** |
30 /** |
30 * Class CBTNotifBasePairingHandler |
31 * Class CBTNotifBasePairingHandler |
98 /** |
99 /** |
99 * Show a dialog for pairing success or failure |
100 * Show a dialog for pairing success or failure |
100 * @param aResult The result of the pairing |
101 * @param aResult The result of the pairing |
101 */ |
102 */ |
102 void ShowPairingResultNoteL(TInt aResult); |
103 void ShowPairingResultNoteL(TInt aResult); |
|
104 |
|
105 /** |
|
106 * Set pairing cancelled by the user |
|
107 */ |
|
108 void PairingCancelledByUser(); |
|
109 |
|
110 /** |
|
111 * Set device as trusted |
|
112 */ |
|
113 void SetTrusted(); |
103 |
114 |
104 protected: |
115 protected: |
105 |
116 |
106 /** |
117 /** |
107 * Handle a pairing result with the remote device which this is for. |
118 * Handle a pairing result with the remote device which this is for. |
172 /** |
183 /** |
173 * Active object helper for asynchronous operations. |
184 * Active object helper for asynchronous operations. |
174 * Own. |
185 * Own. |
175 */ |
186 */ |
176 CBtSimpleActive* iActive; |
187 CBtSimpleActive* iActive; |
|
188 |
|
189 /** |
|
190 * Pairing cancelled by user. |
|
191 */ |
|
192 TBool iPairingCancelledByUser; |
|
193 |
|
194 /** |
|
195 * Did the user checks the trusted checkbox? |
|
196 */ |
|
197 TBool iTrustDevice; |
|
198 |
|
199 /** |
|
200 * Pointer to a notification |
|
201 */ |
|
202 CBluetoothNotification* iNotification; |
|
203 |
177 }; |
204 }; |
178 |
205 |
179 #endif /*BTNOTIFBASEPAIRINGHANDLER_H*/ |
206 #endif /*BTNOTIFBASEPAIRINGHANDLER_H*/ |
180 |
207 |
181 |
208 |