equal
deleted
inserted
replaced
23 |
23 |
24 // INCLUDES |
24 // INCLUDES |
25 #include <btdevice.h> |
25 #include <btdevice.h> |
26 #include <mtmuibas.h> |
26 #include <mtmuibas.h> |
27 #include <btengdiscovery.h> |
27 #include <btengdiscovery.h> |
28 |
28 #include <obexutilsdialog.h> |
29 #include <obexutilsuilayer.h> |
|
30 |
29 |
31 const TUint KBTSdpObjectPush = 0x1105; |
30 const TUint KBTSdpObjectPush = 0x1105; |
32 |
31 |
33 // FORWARD DECLARATIONS |
32 // FORWARD DECLARATIONS |
34 class CClientMtmRegistry; |
33 class CClientMtmRegistry; |
35 |
34 |
36 /** |
35 /** |
37 * CBtMtmUi |
36 * CBtMtmUi |
38 * Bluetooth messaging UI Module. |
37 * Bluetooth messaging UI Module. |
39 */ |
38 */ |
40 class CBtMtmUi : public CBaseMtmUi, public MBTEngSdpResultReceiver |
39 class CBtMtmUi : public CBaseMtmUi, public MBTEngSdpResultReceiver, |
|
40 public MObexUtilsDialogObserver |
41 { |
41 { |
42 public: // Constructors and destructor |
42 public: // Constructors and destructor |
43 /** |
43 /** |
44 * Two-phased constructor. |
44 * Two-phased constructor. |
45 */ |
45 */ |
379 * sucessful, KErrCancel if the user cancelled the |
379 * sucessful, KErrCancel if the user cancelled the |
380 * dialog, KErrAbort if CBTEngDiscovery::CancelSearchRemoteDevice |
380 * dialog, KErrAbort if CBTEngDiscovery::CancelSearchRemoteDevice |
381 * was called; otherwise one of the system-wide error codes. |
381 * was called; otherwise one of the system-wide error codes. |
382 */ |
382 */ |
383 void DeviceSearchComplete( CBTDevice* aDevice, TInt aErr ); |
383 void DeviceSearchComplete( CBTDevice* aDevice, TInt aErr ); |
|
384 |
|
385 /** |
|
386 * Callback function from base class MObexUtilsDialogObserver. |
|
387 */ |
|
388 void DialogDismissed(TInt aButtonId); |
384 |
389 |
385 protected: |
390 protected: |
386 |
391 |
387 /** |
392 /** |
388 * C++ default constructor. |
393 * C++ default constructor. |
438 CBTDevice* iDevice; |
443 CBTDevice* iDevice; |
439 CBTEngDiscovery* iDiscovery; |
444 CBTEngDiscovery* iDiscovery; |
440 CActiveSchedulerWait iWaiter; |
445 CActiveSchedulerWait iWaiter; |
441 TInt iClientChannel; |
446 TInt iClientChannel; |
442 TInt iState; |
447 TInt iState; |
443 |
448 CObexUtilsDialog* iDialog; |
444 }; |
449 }; |
445 |
450 |
446 #endif // CBTMTMUI_H |
451 #endif // CBTMTMUI_H |
447 |
452 |
448 // End of File |
453 // End of File |