wlan_plat/wlan_eapol_plugin_api/inc/wlaneapolclient.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     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:  Wrapper class for instantiating an implementation of
       
    15 *                MWlanEapolInterface via ECom framework.
       
    16 *
       
    17 */
       
    18 
       
    19 /*
       
    20 * %version: 4 %
       
    21 */
       
    22 
       
    23 #ifndef WLANEAPOLCLIENT_H
       
    24 #define WLANEAPOLCLIENT_H
       
    25 
       
    26 #include <ecom/ecom.h>
       
    27 #include "wlaneapolinterface.h"
       
    28 
       
    29 const TInt KCWlanEapolClientUid = 0x2000B05C;
       
    30 const TInt KCWlanWapiClientUid = 0x200195A1;
       
    31 
       
    32 /**
       
    33  * @brief Class for instantiating an implementation of MWlanEapolInterface via ECom.
       
    34  *
       
    35  * @since S60 v3.2
       
    36  */
       
    37 class CWlanEapolClient : public CBase, public MWlanEapolInterface
       
    38     {
       
    39 
       
    40 public:
       
    41 
       
    42     /**
       
    43      * Static constructor.
       
    44      * @param aUid UID of implementation to instantiate.
       
    45      * @param aPartner Pointer to callback instance.
       
    46      * @return Pointer to the constructed instance.
       
    47      */
       
    48     inline static CWlanEapolClient* NewL(
       
    49         TInt aUid,
       
    50         MWlanEapolCallbackInterface* aPartner );
       
    51 
       
    52     /**
       
    53      * Destructor.
       
    54      */
       
    55     inline virtual ~CWlanEapolClient();
       
    56 
       
    57 private: // data
       
    58 
       
    59     /**
       
    60      * Identifies the instance of an implementation created by
       
    61      * the ECOM framework.
       
    62      */
       
    63     TUid iInstanceIdentifier;
       
    64 
       
    65     };
       
    66 
       
    67 #include "wlaneapolclient.inl"
       
    68 
       
    69 #endif // WLANEAPOLCLIENT_H