messagingapp/msgui/msguiutils/inc/msgservicelaunchutilprivate.h
changeset 73 ecf6a73a9186
equal deleted inserted replaced
68:e8a69c93c830 73:ecf6a73a9186
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0""
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:  
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef MSGSERVICELAUNCHUTILPRIVATE_H_
       
    19 #define MSGSERVICELAUNCHUTILPRIVATE_H_
       
    20 
       
    21 
       
    22 #include <msvapi.h>
       
    23 
       
    24 
       
    25 class CMsgServiceLaunchUtilPrivate: 
       
    26 public CBase, public MMsvSessionObserver
       
    27     {    
       
    28 public:
       
    29     static CMsgServiceLaunchUtilPrivate* NewL();
       
    30     ~CMsgServiceLaunchUtilPrivate();
       
    31     HBufC* GetMessagePath(TInt aMessageId, TInt aError);
       
    32     HBufC8* GetMimeType();
       
    33 
       
    34 private: // From MMsvSessionObserver
       
    35     void HandleSessionEventL(TMsvSessionEvent aEvent, 
       
    36             TAny* aArg1, TAny* aArg2, TAny* aArg3);
       
    37     
       
    38 private:
       
    39     void GetMessagePathL(TPtr aMsgPath, const TInt aMessageId);
       
    40     void StoreMessageMimeTypeL(TPtr aMsgPath);
       
    41        
       
    42 private:
       
    43     CMsgServiceLaunchUtilPrivate();
       
    44     void ConstructL();
       
    45     
       
    46 private:
       
    47     CMsvSession* iMsvSession;
       
    48     HBufC8*      iMimeType;
       
    49     };
       
    50 
       
    51 #endif /* MSGSERVICELAUNCHUTILPRIVATE_H_ */
       
    52