messagingappbase/smsmtm/smsgetdetdescdefault/inc/csmsgetdetdescdefault.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
child 79 2981cb3aa489
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __CSMSGETDETDESCDEFAULT_H__
       
    17 #define __CSMSGETDETDESCDEFAULT_H__
       
    18 
       
    19 #include <csmsgetdetdescinterface.h>
       
    20 
       
    21 /**
       
    22 Default ECOM interface implementation for the routines used to create 
       
    23 the details and description values for an SMS.
       
    24 @internalTechnology
       
    25 @released
       
    26 */
       
    27 class CSmsGetDetDescDefault : public CSmsGetDetDescInterface
       
    28 	{
       
    29 public:
       
    30 	static CSmsGetDetDescDefault* NewL();
       
    31 	virtual ~CSmsGetDetDescDefault();
       
    32 
       
    33 	virtual TInt GetDetails(RFs& aFs, const CSmsMessage& aMessage, TDes& aDetails, TInt aMaxLength);
       
    34 	virtual TInt GetDetails(RFs& aFs, const TDesC& aFromAddress, TDes& aDetails, TInt aMaxLength);
       
    35 	virtual TInt GetDescription(const CSmsMessage& aMessage, TDes& aDescription, TInt aMaxLength);
       
    36 
       
    37 private:
       
    38 	CSmsGetDetDescDefault();
       
    39 	};
       
    40 
       
    41 #endif // __CSMSGETDETDESCDEFAULT_H__