localconnectivityservice/locod/commoninc/locodservicepluginobserver.h
branchRCL_3
changeset 39 4096754ee773
parent 38 3dcb815346df
child 40 52a167391590
equal deleted inserted replaced
38:3dcb815346df 39:4096754ee773
     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:  This is the LCD Service Plugin observer interface definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_LOCODSERVICEPLUGINOBSERVER_H
       
    20 #define M_LOCODSERVICEPLUGINOBSERVER_H
       
    21 
       
    22 #include "locodbearer.h"
       
    23 
       
    24 /**
       
    25  *  LCD Service Plugin Observer interface class
       
    26  *
       
    27  *  This is the service plugin observer interface definition used by LCD
       
    28  *  Service Plugins to inform the daemon when an action is complete.
       
    29  *
       
    30  *  @lib 
       
    31  *  @since S60 v3.2
       
    32  */
       
    33 class MLocodServicePluginObserver
       
    34     {
       
    35 public:
       
    36 
       
    37     /**
       
    38      * This is a callback function used by the plugins to inform when
       
    39      * managing the service have completed.  The parameters passed should be
       
    40      * identical to the ones used when the plugin's ManageService() was called,
       
    41      * plus this service plugin's implemnetation UID and the completion status.
       
    42      *
       
    43      * @since S60 v3.2
       
    44      * @param  aBearer the bearer identification passed in ManageService()
       
    45      * @param  aStatus the status of this bearer passed in ManageService()
       
    46      * @param  aServiceImplUid, the implementation UID of this service plugin.
       
    47      * @param  err     KErrNone if the operation succeeded; otherwise a Symbian
       
    48      *                 error code.
       
    49      */
       
    50     virtual void ManageServiceCompleted(
       
    51         TLocodBearer aBearer,
       
    52         TBool aStatus,
       
    53         TUid aServiceImplUid,
       
    54         TInt err) = 0;
       
    55     };
       
    56 
       
    57 #endif // M_LOCODSERVICEPLUGINOBSERVER_H