messagingappbase/msgavkon/muiu_internal/inc/MuiuMsgUploadParam.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Includes real address, alias and direct/indirect info
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __MUIUMSGUPLOADPARAM_H__
       
    22 #define __MUIUMSGUPLOADPARAM_H__
       
    23 
       
    24 
       
    25 //  INCLUDES
       
    26 #include <e32std.h>
       
    27 #include <e32def.h>
       
    28 
       
    29 // CONSTANTS
       
    30 
       
    31 const TUint KMaxMsgUploadAddressLength = 256;
       
    32 const TUint KMaxMsgUploadAliasLength = 256;
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 
       
    36 // CLASS DECLARATION
       
    37 
       
    38 /**
       
    39 * Includes real address, alias and direct/indirect info
       
    40 */
       
    41 class TMsgUploadParameters
       
    42     {
       
    43     public:
       
    44         inline TMsgUploadParameters();
       
    45         inline TMsgUploadParameters( const TMsgUploadParameters& aParams );
       
    46     public:
       
    47         TBuf<KMaxMsgUploadAddressLength> iRealAddress;
       
    48         TBuf<KMaxMsgUploadAliasLength> iAlias;
       
    49         TBool iDirect;
       
    50     };
       
    51 
       
    52 inline TMsgUploadParameters::TMsgUploadParameters()
       
    53     : iRealAddress( KNullDesC ),
       
    54       iAlias( KNullDesC ),
       
    55       iDirect( 0 )
       
    56     {}
       
    57 
       
    58 inline TMsgUploadParameters::TMsgUploadParameters( const TMsgUploadParameters& aParams )
       
    59     : iRealAddress( aParams.iRealAddress ),
       
    60       iAlias( aParams.iAlias ),
       
    61       iDirect( aParams.iDirect )
       
    62     {}
       
    63 
       
    64 #endif // __MUIUMSGUPLOADPARAM_H__
       
    65 
       
    66 // End of file