imstutils/imconversationview/imcvuiengine/inc/mimcvenginecchobserver.h
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * Copyright (c) 2008 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 class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MIMCVENGINE_CCH_OBSERVERH
       
    21 #define MIMCVENGINE_CCH_OBSERVERH
       
    22 
       
    23 
       
    24     
       
    25 /**
       
    26  *  Observer class for getting service status change messages
       
    27  *
       
    28  *  @lib imcvengine.lib
       
    29  */
       
    30 class MIMCVEngineCCHObserver 
       
    31     {
       
    32 
       
    33 public:
       
    34 	/// Process states
       
    35         enum TServiceState
       
    36             {
       
    37             ELogin,     
       
    38             EConnecting,                   
       
    39             EDisconnecting,
       
    40             ENotLoggedIn
       
    41             };
       
    42             
       
    43     /**
       
    44      * Signaled when service status or error changes
       
    45      *
       
    46      * @param aServiceId Id of the service     
       
    47      * @param aServiceStatus Service status
       
    48      */
       
    49     virtual void ServiceStatusChanged( TInt aServiceId,     								   
       
    50                                        TServiceState aServiceStatus ) = 0;
       
    51 
       
    52     };
       
    53 
       
    54 
       
    55 
       
    56 #endif // MIMCVENGINE_CCH_OBSERVERH