localconnectivityservice/obexsendservices/obexservicesendutils/inc/BTServiceStarter.h
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
27 |
27 |
28 #include <btengdiscovery.h> |
28 #include <btengdiscovery.h> |
29 #include <btengsettings.h> |
29 #include <btengsettings.h> |
30 #include <obexutilsdialog.h> |
30 #include <obexutilsdialog.h> |
31 #include <msvapi.h> |
31 #include <msvapi.h> |
|
32 #include <hb/hbwidgets/hbdeviceprogressdialogsymbian.h> |
32 |
33 |
33 // DATA TYPES |
34 // DATA TYPES |
34 |
35 |
35 enum TBTServiceProfile |
36 enum TBTServiceProfile |
36 { |
37 { |
103 NONSHARABLE_CLASS (CBTServiceStarter) : public CActive, |
104 NONSHARABLE_CLASS (CBTServiceStarter) : public CActive, |
104 public MBTServiceObserver, |
105 public MBTServiceObserver, |
105 public MObexUtilsDialogObserver, |
106 public MObexUtilsDialogObserver, |
106 public MObexUtilsProgressObserver, |
107 public MObexUtilsProgressObserver, |
107 public MBTEngSdpResultReceiver, |
108 public MBTEngSdpResultReceiver, |
108 public MBTEngSettingsObserver |
109 public MBTEngSettingsObserver, |
|
110 public MHbDeviceProgressDialogObserver |
109 { |
111 { |
110 public: // Constructors and destructor |
112 public: // Constructors and destructor |
111 |
113 |
112 /** |
114 /** |
113 * Two-phased constructor. |
115 * Two-phased constructor. |
155 * From MObexUtilsWaitDialogObserver The wait note has been dismissed. |
157 * From MObexUtilsWaitDialogObserver The wait note has been dismissed. |
156 * @param aButtonId The button id that was used to dismiss the dialog. |
158 * @param aButtonId The button id that was used to dismiss the dialog. |
157 * @return None. |
159 * @return None. |
158 */ |
160 */ |
159 void DialogDismissed( TInt aButtonId ); |
161 void DialogDismissed( TInt aButtonId ); |
|
162 |
|
163 /** |
|
164 * From MHbDeviceProgressDialogObserver |
|
165 * |
|
166 */ |
|
167 void ProgressDialogCancelled(const CHbDeviceProgressDialogSymbian * aDialog); |
|
168 |
|
169 /** |
|
170 * From MHbDeviceProgressDialogObserver |
|
171 * |
|
172 */ |
|
173 void ProgressDialogClosed(const CHbDeviceProgressDialogSymbian * aDialog ) ; |
160 |
174 |
161 /** |
175 /** |
162 * From MObexUtilsProgressObserver request for number of bytes sent |
176 * From MObexUtilsProgressObserver request for number of bytes sent |
163 * @Param None. |
177 * @Param None. |
164 * @return Number of bytes sent. |
178 * @return Number of bytes sent. |
411 private: // Data |
425 private: // Data |
412 |
426 |
413 CBTDevice* iDevice; |
427 CBTDevice* iDevice; |
414 CBTEngDiscovery* iBTEngDiscovery; |
428 CBTEngDiscovery* iBTEngDiscovery; |
415 CBTServiceParameterList* iList; |
429 CBTServiceParameterList* iList; |
416 CObexUtilsDialog* iDialog; |
430 // CObexUtilsDialog* iDialog; |
417 CBTSController* iController; |
431 CBTSController* iController; |
418 |
432 |
419 TBTServiceType iService; |
433 TBTServiceType iService; |
420 TInt iClientChannel; |
434 TInt iClientChannel; |
421 TBTServiceStarterState iState; |
435 TBTServiceStarterState iState; |
436 TBool iSendToBIPOnlyDevice; |
450 TBool iSendToBIPOnlyDevice; |
437 TBTActiveNotifier iActiveNotifier; |
451 TBTActiveNotifier iActiveNotifier; |
438 TBool iFeatureManagerInitialized; |
452 TBool iFeatureManagerInitialized; |
439 TBool iTriedBIP; |
453 TBool iTriedBIP; |
440 TBool iTriedOPP; |
454 TBool iTriedOPP; |
|
455 CHbDeviceProgressDialogSymbian *iProgressDialog; |
441 }; |
456 }; |
442 |
457 |
443 #endif // BT_SERVICE_CONTROLLER_H |
458 #endif // BT_SERVICE_CONTROLLER_H |
444 |
459 |
445 // End of File |
460 // End of File |