commsconfig/cscengine/inc/mcscengcchobserver.h
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2007-2007 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 for notifying service status changes.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_CSCENGCCHOBSERVER_H
       
    20 #define M_CSCENGCCHOBSERVER_H
       
    21 
       
    22 #include <cch.h>
       
    23 
       
    24 #include "cscengcchhandler.h"
       
    25 
       
    26 /**
       
    27  *  MCSCEngCCHObserver class
       
    28  *
       
    29  *  Observer interface for notifying service status changes.
       
    30  *
       
    31  *  @lib cscengine.lib
       
    32  *  @since S60 v5.0
       
    33  */
       
    34 class MCSCEngCCHObserver
       
    35     {
       
    36     public:
       
    37     
       
    38         /**
       
    39          * Should be called when service status changes.
       
    40          *
       
    41          * @since S60 v5.0
       
    42          * @param aServiceId Id of the service
       
    43          * @param aType Service type
       
    44          * @param aServiceStatus Service status
       
    45          */
       
    46         virtual void ServiceStatusChanged(
       
    47                 TUint aServiceId, 
       
    48                 TCCHSubserviceType aType, 
       
    49                 const TCchServiceStatus& aServiceStatus ) = 0;            
       
    50     };
       
    51     
       
    52 #endif // M_CSCENGCCHOBSERVER_H