diff -r 000000000000 -r f979ecb2b13e searchfw/plugins/messagingplugin/inc/msgentrydetails.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/searchfw/plugins/messagingplugin/inc/msgentrydetails.h Tue Feb 02 10:12:19 2010 +0200 @@ -0,0 +1,96 @@ +/* +* Copyright (c) 2006-2007 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: ECom search interface definition +* +*/ + + + + +#ifndef C_MSGENTRYDETAILS_H +#define C_MSGENTRYDETAILS_H + + +//System Includes +#include + +/** + * This class is the plugin helper class for the messages pluging + * +**/ +class CMsgDesC : public CBase +{ +public: + +/** +* Helper class for the Message Information for results +*/ +CMsgDesC(); + +/** +* destructor +*/ +~CMsgDesC(); + +/** +* Sets the description of the message +*/ +void SetTitleL(const TDesC& aDes ); + +/** +* Sets the summary of the message +*/ + +void SetBodyL(const TDesC& aDes ); + +/** +* Sets the position of keyword hit of the message +*/ +void SetKeywordHitPosL(TInt aKeywordHitPos) ; + +/** +* gets the description of the message +*/ +HBufC* GetTitle(); + +/** +* Gets the summary of the message +*/ +HBufC* GetBody(); + + +/** +* Gets the keyword hit position of the message +*/ +TInt GetKeywordHitPosition(); + +private: + +/** +* description of the message +*/ +HBufC16* iTitle; + +/** +* summary of the message +*/ +HBufC16* iBodyOfMessage; + +/** +* keyword hit position of the message +*/ + TInt iKeywordHitPos; +}; + +#endif //C_MSGENTRYDETAILS_H