emailuis/emailui/sendasmtm/fsmtms/server/inc/cfsmsgconverter.h
branchRCL_3
changeset 25 3533d4323edc
parent 0 8466d47a6819
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
       
     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:  Definition of the class CMsgConverter
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __CFSMSGCONVERTER_INTERFACE_H__
       
    20 #define __CFSMSGCONVERTER_INTERFACE_H__
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <msvapi.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CMsgActive;
       
    28 
       
    29 
       
    30 /**
       
    31  * Abstract class provding interface to AS Library that will convert the
       
    32  * RFC 822 message to MTM message.
       
    33  * Library will be loaded as a polymorfic dll.
       
    34  */
       
    35 class CMsgConverter : public CBase
       
    36     {
       
    37 public:
       
    38     virtual CMsgActive* GetMsgActiveObjectL( const TMsvId aParentId, const TDesC& aFileName, 
       
    39   								const TDesC8& aServerId,CMsvServerEntry& aServerEntry,
       
    40   								TBool aNestedEmailAttachment = EFalse, 
       
    41   								TMsvId aOriginalAttachmentId = NULL 
       
    42   							    )=0;
       
    43     virtual void StartL( TRequestStatus* aStatus )=0;
       
    44 private:
       
    45 };
       
    46 		
       
    47 #endif //__CFSMSGCONVERTER_INTERFACE_H__
       
    48 
       
    49 // End of File