diff -r 000000000000 -r c40eb8fe8501 wlan_plat/wlan_agent_hotspot_plugin_api/inc/wlanagthotspotclient.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wlan_plat/wlan_agent_hotspot_plugin_api/inc/wlanagthotspotclient.h Tue Feb 02 02:03:13 2010 +0200 @@ -0,0 +1,70 @@ +/* +* Copyright (c) 2002-2006 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: ECOM plugin for hotspot logic +* +*/ + +/* +* %version: 3 % +*/ + +#ifndef WLANAGTHOTSPOTCLIENT_H +#define WLANAGTHOTSPOTCLIENT_H + +#include + +/** +* Class for instantiating an implementation of CWlanHotSpotInterface via ECom. +* +* @lib wlanagt.agt +* @since Series 60 3.0 +*/ +class CWlanAgtHotSpotClient : public CBase + { + public: + + /** + * Static constructor. + * @return Pointer to the constructed object. + */ + inline static CWlanAgtHotSpotClient* NewL( ); + + /** + * Destructor. + */ + virtual ~CWlanAgtHotSpotClient(); + + // Dummy functions to interact with Hot spot frame work + // Plugin implementation will override these functions to actually interact with the HS framework + + virtual void HotSpotStart( const TUint aIapId, TRequestStatus& aStatus ) = 0; + + virtual void HotSpotStartAgain( const TUint aIapId, TRequestStatus& aStatus ) = 0; + + virtual void HotSpotCloseConnection( const TUint aIapId, TRequestStatus& aStatus ) = 0; + + virtual void HotSpotCancel( const TUint aIapId ) = 0; + + private: // Data + + /** + * Identifies the instance of an implementation created by + * the ECOM framework. + */ + TUid iInstanceIdentifier; + }; + +#include "wlanagthotspotclient.inl" + +#endif // WLANAGTHOTSPOTCLIENT_H