diff -r 2b7283837edb -r 3104fc151679 imstutils/imconversationview/imcvuiengine/inc/cimcvenginetextmessage.h --- a/imstutils/imconversationview/imcvuiengine/inc/cimcvenginetextmessage.h Thu Aug 19 09:41:53 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,102 +0,0 @@ -/* -* Copyright (c) 2007-2008 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: text message -* -*/ - - -#ifndef CIMCVENGINETEXTMESSAGE_H -#define CIMCVENGINETEXTMESSAGE_H - -#include -#include "cimcvenginemessagebase.h" - -// CLASS DECLARATION - -/** - * Message containing text - * - * @lib imcvengine.dll - * @since 5.0 - */ -class CIMCVEngineTextMessage : public CIMCVEngineMessageBase - { - - public: // Construction - - /** - * Construction - * @param aSender, sender user id - * @param aRecipient, recipient id - * @param aData, text message - * @return Pointer to new created instance of CIMCVEngineTextMessage - */ - static CIMCVEngineTextMessage* NewL( - const TDesC& aSender, - const TDesC& aRecipient, - const TDesC& aData ); - - - /** - * two phase construction - * @param aSender, sender user id - * @param aRecipient, recipient id - * @param aData, text message - * @return Pointer to new created instance of CIMCVEngineTextMessage - */ - static CIMCVEngineTextMessage* NewLC( - const TDesC& aSender, - const TDesC& aRecipient, - const TDesC& aData ); - - /** - * Destruction - */ - ~CIMCVEngineTextMessage(); - - public : - - void SetFailedL(); - - private: // Construction - - /** - * Constructor - */ - CIMCVEngineTextMessage(); - - /** - * Constructor - * @param aData, text message - */ - void ConstructL( const TDesC& aData ); - - private: // From MIMCVEngineMessage - - /** - * @see MIMCVEngineMessage - */ - TInt SizeInBytes() const; - - /** - * @see MIMCVEngineMessage - */ - TContentType ContentType() const; - - - }; - -#endif // CIMCVENGINETEXTMESSAGE_H - -// End of File