phonesrv_plat/service_provider_settings_api/inc/mspnotifychangeobserver.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c)  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:  Service provider settings notify change observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MSPNOTIFYCHANGEOBSERVER_H
       
    21 #define MSPNOTIFYCHANGEOBSERVER_H
       
    22 
       
    23 #include <e32base.h>
       
    24 #include "spdefinitions.h"
       
    25 
       
    26 
       
    27 /**
       
    28  *  Call back interface for notify change events
       
    29  *
       
    30  *	Client has to implement this interface if client 
       
    31  *  need to receive settings notification change.
       
    32  *
       
    33  *  @lib serviceprovidersettings.lib
       
    34  *  @since S60 V3.2
       
    35  */
       
    36 class MSPNotifyChangeObserver
       
    37     {
       
    38 	public:
       
    39 
       
    40 	    /**
       
    41 	     * Handle notify change event
       
    42 	     * 
       
    43 	     * @param aServiceId the service ID of added/changed/deleted service
       
    44 	     * @since S60 3.2
       
    45 	     */
       
    46 	    virtual void HandleNotifyChange( TServiceId aServiceId ) = 0;
       
    47 	    
       
    48 	    /**
       
    49 	     * Handle error
       
    50 	     * 
       
    51 	     * @param aError error code
       
    52 	     * @since S60 3.2
       
    53 	     */
       
    54 	    virtual void HandleError( TInt aError ) = 0;
       
    55     };
       
    56 
       
    57 #endif // MSPNOTIFYCHANGEOBSERVER_H