wlan_plat/wlan_generic_plugin_api/inc/wlanpluginclient.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2008-2008 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:  Wrapper class for instantiating an implementation of
       
    15 *                Generic WLAN Plugin via ECom framework.
       
    16 *
       
    17 */
       
    18 
       
    19 /*
       
    20 * %version: 3 %
       
    21 */
       
    22 
       
    23 #ifndef WLANPLUGINCLIENT_H
       
    24 #define WLANPLUGINCLIENT_H
       
    25 
       
    26 #include <ecom/ecom.h>
       
    27 
       
    28 /**
       
    29 * Class for instantiating an implementation via ECom.
       
    30 *
       
    31 */
       
    32 class CGenericWlanPluginClient : public CBase
       
    33     {
       
    34 public:
       
    35     // Constructors and destructor
       
    36 
       
    37     /**
       
    38      * Static constructor.
       
    39      * @param aUid implementation UID to be instantiated.
       
    40      * @return Pointer to the constructed object.
       
    41      */
       
    42     inline static CGenericWlanPluginClient* NewL(const TUid aUid );
       
    43 
       
    44     /**
       
    45      * Destructor.
       
    46      */
       
    47     inline virtual ~CGenericWlanPluginClient();
       
    48 
       
    49     /**
       
    50      * List implementations for Generic WLAN Plugin interface.
       
    51      * @param aImplInfoArray Array of implementation informations.
       
    52      */
       
    53     inline static void ListImplementationsL(
       
    54             RImplInfoPtrArray& aImplInfoArray );
       
    55 
       
    56 private: // Data
       
    57 
       
    58     /**
       
    59      * Identifies the instance of an implementation created by
       
    60      * the ECOM framework.
       
    61      */
       
    62     TUid iInstanceIdentifier;
       
    63 
       
    64     };
       
    65 
       
    66 #include "wlanpluginclient.inl"
       
    67 
       
    68 #endif // WLANPLUGINCLIENT_H