localconnectivityservice/locod/commoninc/locodbearerpluginparams.h
branchRCL_3
changeset 20 4a793f564d72
parent 19 0aa8cc770c8a
child 21 74aa6861c87d
equal deleted inserted replaced
19:0aa8cc770c8a 20:4a793f564d72
     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 Bearer Plugin construction parameters
       
    15 *                declaration
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef T_LOCODBEARERPLUGINPARAMS_H
       
    21 #define T_LOCODBEARERPLUGINPARAMS_H
       
    22 
       
    23 class MLocodBearerPluginObserver;
       
    24 
       
    25 /**
       
    26  *  LCD Bearer Plugin Callback construction parameters
       
    27  *
       
    28  *  This interface class is used to pass construction parameters to the
       
    29  *  plugins.  These parameters include the callback interface and the ECOM 
       
    30  *  plugin implementation UID 
       
    31  *
       
    32  *  @euser.lib
       
    33  *  @since S60 v3.2
       
    34  */
       
    35 class TLocodBearerPluginParams
       
    36     {
       
    37 public:
       
    38 
       
    39     /**
       
    40      * Constructor.
       
    41      *
       
    42      * @since S60 v3.2
       
    43      * @param  aUid      Implementation UID of the plugin being constructed
       
    44      * @param  aObserver Callback interface object
       
    45      */
       
    46     TLocodBearerPluginParams(const TUid aUid, MLocodBearerPluginObserver& aObserver);
       
    47 
       
    48     /**
       
    49      * Gets the implementation UID of the plugin
       
    50      *
       
    51      * @since S60 v3.2
       
    52      * @return Implementaion UID
       
    53      */
       
    54     TUid ImplementationUid() const;
       
    55 
       
    56     /**
       
    57      * Gets the observer interface object
       
    58      *
       
    59      * @since S60 v3.2
       
    60      * @return The observer object
       
    61      */
       
    62     MLocodBearerPluginObserver& Observer() const;    
       
    63 
       
    64 private: // data
       
    65 
       
    66     /**
       
    67      * The implementation UID
       
    68      */
       
    69     const TUid iImplementationUid;
       
    70 
       
    71     /**
       
    72      * Reference to the observer object
       
    73      */
       
    74     MLocodBearerPluginObserver& iObserver;
       
    75 
       
    76     };
       
    77 
       
    78 #include "locodbearerpluginparams.inl"
       
    79 
       
    80 #endif // T_LOCODBEARERPLUGINPARAMS_H