iptel_plat/cch_server_api/inc/cchserviceobserver.h
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2006-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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_CCHSERVICEOBSERVER_H
       
    20 #define M_CCHSERVICEOBSERVER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 #include <cchclientserver.h>
       
    26 
       
    27 // CONSTANTS
       
    28 // None
       
    29 
       
    30 // MACROS
       
    31 // None
       
    32 
       
    33 // DATA TYPES
       
    34 // None
       
    35 
       
    36 // FUNCTION PROTOTYPES
       
    37 // None
       
    38 
       
    39 // FORWARD DECLARATIONS
       
    40 // None
       
    41 
       
    42 // CLASS DECLARATION
       
    43     
       
    44 /**
       
    45  *  CCHServiceObserver declaration.
       
    46  *  @since S60 3.2
       
    47  */
       
    48 class MCchServiceObserver
       
    49     {
       
    50 
       
    51 public: // New functions
       
    52 
       
    53     /**
       
    54      * CCchService implementation have to use this callback
       
    55      * method when service state changed. Otherwise CCH doesn't
       
    56      * forward notifications to the clients.
       
    57      * @since S60 3.2
       
    58      * @param aServiceId
       
    59      * @param aSubService Sub service type. 
       
    60      * @param aState a new state of the service.
       
    61      * @param aError KErrNone if no error occured, otherwise see CCHError.h.
       
    62      */
       
    63      virtual void ServiceStateChanged(
       
    64                     const TServiceSelection aServiceSelection,
       
    65                     TCCHSubserviceState aState, 
       
    66                     TInt aError ) = 0;
       
    67 
       
    68 private:
       
    69     
       
    70     };
       
    71 
       
    72 #endif // M_CCHSERVICEOBSERVER_H
       
    73 
       
    74 // End of file