diff -r 000000000000 -r 5e5d6b214f4f imstutils/imconversationview/imcvuiapp/inc/mimcvtabobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/imstutils/imconversationview/imcvuiapp/inc/mimcvtabobserver.h Tue Feb 02 10:12:18 2010 +0200 @@ -0,0 +1,49 @@ +/* +* Copyright (c) 2008-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: Interface for Tab observer +* +*/ + + +#ifndef MIMCVTabObserver_H +#define MIMCVTabObserver_H + + +/** + * Tab observer interface to the UI. + * @lib imcvuiapp.exe + * @since 5.0 + */ + +class MIMCVTabObserver + { + + + public: + + /** Helper Function + * This function is to be called when switching between tabs + * @param aChatId - Switch to this chat item + * @param aTabIndex - Index of the tab + */ + virtual void SwitchTabL(TInt aActiveServiceId , const TDesC& aChatId, const TInt aTabIndex) = 0; + + /** + * Destructor + */ + virtual ~MIMCVTabObserver(){} + + }; + +#endif //MIMCVTabObserver_H