btobexprofiles/obexreceiveservices/mtmuibluetooth/inc/btmtmui.h
changeset 42 b72428996822
parent 32 19bd632b5100
--- a/btobexprofiles/obexreceiveservices/mtmuibluetooth/inc/btmtmui.h	Fri May 28 17:03:06 2010 +0300
+++ b/btobexprofiles/obexreceiveservices/mtmuibluetooth/inc/btmtmui.h	Mon Jul 12 18:51:05 2010 +0300
@@ -25,8 +25,7 @@
 #include <btdevice.h>
 #include <mtmuibas.h>
 #include <btengdiscovery.h>
-
-#include <obexutilsuilayer.h>
+#include <obexutilsdialog.h>
 
 const TUint KBTSdpObjectPush            = 0x1105;
 
@@ -37,7 +36,8 @@
 *  CBtMtmUi
 *  Bluetooth messaging UI Module.
 */
-class CBtMtmUi : public CBaseMtmUi, public MBTEngSdpResultReceiver
+class CBtMtmUi : public CBaseMtmUi, public MBTEngSdpResultReceiver, 
+                 public MObexUtilsDialogObserver
 	{
     public: // Constructors and destructor
        /**
@@ -381,6 +381,11 @@
         *             was called; otherwise one of the system-wide error codes.
         */
         void DeviceSearchComplete( CBTDevice* aDevice, TInt aErr );    
+        
+        /**
+         * Callback function from base class MObexUtilsDialogObserver.
+         */
+        void DialogDismissed(TInt aButtonId);
 
     protected:
 
@@ -440,7 +445,7 @@
         CActiveSchedulerWait iWaiter;
         TInt                 iClientChannel;
         TInt                 iState;  
-        
+        CObexUtilsDialog*  iDialog;
 	};
 
 #endif      // CBTMTMUI_H