btobexprofiles/obexreceiveservices/btmsgviewer/inc/btmsgviewerutils.h
changeset 57 5ebadcda06cb
parent 47 9e2a905b887f
--- a/btobexprofiles/obexreceiveservices/btmsgviewer/inc/btmsgviewerutils.h	Fri Aug 06 16:43:21 2010 +0300
+++ b/btobexprofiles/obexreceiveservices/btmsgviewer/inc/btmsgviewerutils.h	Fri Sep 03 16:17:59 2010 +0300
@@ -19,6 +19,8 @@
 #define BTMSGVIEWERUTILS_H_
 
 #include <msvapi.h>
+#include <bluetoothdevicedialogs.h>
+#include <hbdevicedialogsymbian.h>
 
 
 class CBtMsgViewerUtils: public CBase, public MMsvSessionObserver
@@ -26,7 +28,7 @@
 public:
     static CBtMsgViewerUtils* NewL();
     ~CBtMsgViewerUtils();
-    HBufC* GetMessagePath(TInt aMessageId, TInt aError);
+    HBufC* GetMessagePath(TInt aMessageId, TInt& aError);
     HBufC8* GetMimeType();
 
 private: // From MMsvSessionObserver
@@ -35,6 +37,7 @@
 private:
     void GetMessagePathL(TPtr aMsgPath, const TInt aMessageId);
     void StoreMessageMimeTypeL(TPtr aMsgPath);
+    void LaunchFailureDialogL(TInt aDialogTitle);
        
 private:
     CBtMsgViewerUtils();