diff -r 000000000000 -r 72b543305e3a mobilemessaging/smsmtm/smsgetdetdescdefault/inc/csmsgetdetdescdefault.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mobilemessaging/smsmtm/smsgetdetdescdefault/inc/csmsgetdetdescdefault.h Thu Dec 17 08:44:11 2009 +0200 @@ -0,0 +1,41 @@ +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __CSMSGETDETDESCDEFAULT_H__ +#define __CSMSGETDETDESCDEFAULT_H__ + +#include + +/** +Default ECOM interface implementation for the routines used to create +the details and description values for an SMS. +@internalTechnology +@released +*/ +class CSmsGetDetDescDefault : public CSmsGetDetDescInterface + { +public: + static CSmsGetDetDescDefault* NewL(); + virtual ~CSmsGetDetDescDefault(); + + virtual TInt GetDetails(RFs& aFs, const CSmsMessage& aMessage, TDes& aDetails, TInt aMaxLength); + virtual TInt GetDetails(RFs& aFs, const TDesC& aFromAddress, TDes& aDetails, TInt aMaxLength); + virtual TInt GetDescription(const CSmsMessage& aMessage, TDes& aDescription, TInt aMaxLength); + +private: + CSmsGetDetDescDefault(); + }; + +#endif // __CSMSGETDETDESCDEFAULT_H__