imstutils/imconversationview/imcvuiengine/inc/mimcvenginechatlistobserver.h
branchRCL_3
changeset 29 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
28:3104fc151679 29:9a48e301e94b
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Observer interface to handle chat container changes.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MIMCVEngineChatListObserverOBSERVER_H__
       
    20 #define __MIMCVEngineChatListObserverOBSERVER_H__
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32def.h>
       
    24 
       
    25 //	FORWARD CLASS DECLERATIONS
       
    26 class MIMCVEngineMessageReadInterface;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 
       
    31 enum TChatListEventType
       
    32     {
       
    33     EChatItemAdded,
       
    34     EChatItemDeleted,
       
    35     EChatAllItemDeleted,
       
    36     EEventNotSpecified
       
    37     };
       
    38 /**
       
    39  *  Observer interface to handle messages container changes.
       
    40  *
       
    41  *  @lib imcvuiengine.dll
       
    42  *  @since 5.0
       
    43  */
       
    44 class MIMCVEngineChatListObserver
       
    45 	{
       
    46 	
       
    47 	public: // Interface
       
    48 
       
    49 		/**
       
    50 		 * Handle events.
       
    51 		 * @param aEvent Event to handle.
       
    52 		 * @param aContainerInfo, Container
       
    53 		 */
       
    54 		virtual void HandleChatListEvent( TInt aServiceId, TChatListEventType aEvent, 
       
    55 								MIMCVEngineMessageReadInterface* aContainerInfo
       
    56 								 ) = 0;
       
    57 
       
    58 	protected: // For protection.
       
    59 
       
    60 		/**
       
    61 		 * Destructor
       
    62 		 */
       
    63 		virtual ~MIMCVEngineChatListObserver(){}
       
    64 	};
       
    65 
       
    66 #endif      // __MIMCVEngineChatListObserverOBSERVER_H__
       
    67 
       
    68 // End of File