equal
deleted
inserted
replaced
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 |
26 |
27 class CBTNotifPairingManager; |
27 class CBTNotifSecurityManager; |
28 |
28 |
29 /** |
29 /** |
30 * Class CBTNotifBasePairingHandler |
30 * Class CBTNotifBasePairingHandler |
31 * |
31 * |
32 * The base class for pairing handling. |
32 * The base class for pairing handling. |
92 * @param aPin contains the pin code if it is not empty |
92 * @param aPin contains the pin code if it is not empty |
93 * @param aAddr the device to which pairing is performed. |
93 * @param aAddr the device to which pairing is performed. |
94 * @param the required minimum length of a pin code. |
94 * @param the required minimum length of a pin code. |
95 */ |
95 */ |
96 virtual void GetPinCode( TBTPinCode& aPin, const TBTDevAddr& aAddr, TInt aMinPinLength ); |
96 virtual void GetPinCode( TBTPinCode& aPin, const TBTDevAddr& aAddr, TInt aMinPinLength ); |
|
97 |
|
98 /** |
|
99 * Show a dialog for pairing success or failure |
|
100 * @param aResult The result of the pairing |
|
101 */ |
|
102 void ShowPairingResultNoteL(TInt aResult); |
97 |
103 |
98 protected: |
104 protected: |
99 |
105 |
100 /** |
106 /** |
101 * Handle a pairing result with the remote device which this is for. |
107 * Handle a pairing result with the remote device which this is for. |
116 protected: |
122 protected: |
117 |
123 |
118 /** |
124 /** |
119 * C++ default constructor |
125 * C++ default constructor |
120 */ |
126 */ |
121 CBTNotifBasePairingHandler(CBTNotifPairingManager& aParent, const TBTDevAddr& aAddr); |
127 CBTNotifBasePairingHandler(CBTNotifSecurityManager& aParent, const TBTDevAddr& aAddr); |
122 |
128 |
123 /** |
129 /** |
124 * Symbian 2nd-phase constructor |
130 * Symbian 2nd-phase constructor |
125 */ |
131 */ |
126 void BaseConstructL(); |
132 void BaseConstructL(); |
159 TBool iPairResultSet; |
165 TBool iPairResultSet; |
160 |
166 |
161 /** |
167 /** |
162 * Reference to the owner of this object. |
168 * Reference to the owner of this object. |
163 */ |
169 */ |
164 CBTNotifPairingManager& iParent; |
170 CBTNotifSecurityManager& iParent; |
165 |
171 |
166 /** |
172 /** |
167 * Active object helper for asynchronous operations. |
173 * Active object helper for asynchronous operations. |
168 * Own. |
174 * Own. |
169 */ |
175 */ |