btobexprofiles/obexreceiveservices/btmsgviewer/inc/btmsgviewerutils.h
changeset 47 9e2a905b887f
parent 42 b72428996822
child 57 5ebadcda06cb
equal deleted inserted replaced
45:b0aebde9b1fb 47:9e2a905b887f
    25     {    
    25     {    
    26 public:
    26 public:
    27     static CBtMsgViewerUtils* NewL();
    27     static CBtMsgViewerUtils* NewL();
    28     ~CBtMsgViewerUtils();
    28     ~CBtMsgViewerUtils();
    29     HBufC* GetMessagePath(TInt aMessageId, TInt aError);
    29     HBufC* GetMessagePath(TInt aMessageId, TInt aError);
       
    30     HBufC8* GetMimeType();
    30 
    31 
    31 private: // From MMsvSessionObserver
    32 private: // From MMsvSessionObserver
    32     void HandleSessionEventL(TMsvSessionEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* aArg3);
    33     void HandleSessionEventL(TMsvSessionEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* aArg3);
    33     
    34     
    34 private:
    35 private:
    35     void GetMessagePathL(TPtr aMsgPath, const TInt aMessageId);
    36     void GetMessagePathL(TPtr aMsgPath, const TInt aMessageId);
       
    37     void StoreMessageMimeTypeL(TPtr aMsgPath);
    36        
    38        
    37 private:
    39 private:
    38     CBtMsgViewerUtils();
    40     CBtMsgViewerUtils();
    39     void ConstructL();
    41     void ConstructL();
    40     
    42     
    41 private:
    43 private:
    42     CMsvSession* iMsvSession;
    44     CMsvSession* iMsvSession;
       
    45     HBufC8*      iMimeType;
    43     };
    46     };
    44 
    47 
    45 #endif // BTMSGVIEWERUTILS_H_
    48 #endif // BTMSGVIEWERUTILS_H_