wlan_plat/wlan_management_api/inc/wlanmgmtclient.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 02:03:13 +0200
changeset 0 c40eb8fe8501
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Inline functions of CWlanMgmtClient class.
*
*/

/*
* %version: 5 %
*/

#ifndef WLANMGMTCLIENT_INL
#define WLANMGMTCLIENT_INL

// ---------------------------------------------------------
// CWlanScanRequest::NewL
// ---------------------------------------------------------
//
inline CWlanMgmtClient* CWlanMgmtClient::NewL()
    {
    const TUid KCWlanMgmtClientUid = { 0x101f8eff };

    TAny* interface = REComSession::CreateImplementationL(
        KCWlanMgmtClientUid,
        _FOFF( CWlanMgmtClient,
        iInstanceIdentifier ) );
    return reinterpret_cast<CWlanMgmtClient*>( interface );
    }
    
// ---------------------------------------------------------
// CWlanScanRequest::~CWlanMgmtClient
// ---------------------------------------------------------
//
inline CWlanMgmtClient::~CWlanMgmtClient()
    {
    REComSession::DestroyedImplementation( iInstanceIdentifier );
    }

#endif // WLANMGMTCLIENT_INL
            
// End of File