wvuing/wvuiprocess/Inc/MCAChatObserverPC.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2006 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 __MCACHATOBSERVERPC_H__
       
    20 #define __MCACHATOBSERVERPC_H__
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32def.h>
       
    24 #include "TEnumsPC.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  *  Observer interface to handle messages container changes.
       
    30  *
       
    31  *  @lib wvuiprocessng.dll
       
    32  *  @since 3.2
       
    33  */
       
    34 class MCAChatObserverPC
       
    35     {
       
    36     public: // Interface
       
    37         /**
       
    38          * Handle chat events. - MCAConversationObserverPC
       
    39          * @param aWvid - WVID
       
    40          * @param aContactId - Contact identification
       
    41          * @param aIndex - The index of the conversation in the local store of PC
       
    42          * @param aChatInList - if new chat then ETrue
       
    43          * @param aMessage - The message text
       
    44          */
       
    45         virtual void HandleOpenChatsEvent( const TEnumsPC::TChange aEvent,
       
    46                                            const TEnumsPC::TItem aTabItemType,
       
    47                                            const TDesC& aWvid,
       
    48                                            const TDesC& aIdentification,
       
    49                                            const TInt aIndex ) = 0;
       
    50 
       
    51 
       
    52         /**
       
    53          * Destructor
       
    54          */
       
    55         virtual ~MCAChatObserverPC() {}
       
    56     };
       
    57 
       
    58 #endif      // __MCACHATOBSERVERPC_H__
       
    59 
       
    60 // End of File