wlan_plat/wlan_agent_hotspot_plugin_api/inc/wlanagthotspotclient.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2002-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:  ECOM plugin for hotspot logic
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 3 %
       
    20 */
       
    21 
       
    22 #ifndef WLANAGTHOTSPOTCLIENT_H
       
    23 #define WLANAGTHOTSPOTCLIENT_H
       
    24 
       
    25 #include <ecom/ecom.h>
       
    26 
       
    27 /**
       
    28 * Class for instantiating an implementation of CWlanHotSpotInterface via ECom.
       
    29 *
       
    30 * @lib wlanagt.agt
       
    31 * @since Series 60 3.0
       
    32 */
       
    33 class CWlanAgtHotSpotClient : public CBase
       
    34     {
       
    35     public:
       
    36 
       
    37         /**
       
    38         * Static constructor.
       
    39         * @return Pointer to the constructed object.
       
    40         */
       
    41         inline static CWlanAgtHotSpotClient* NewL( );        
       
    42         
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         virtual ~CWlanAgtHotSpotClient();
       
    47 
       
    48 	// Dummy functions to interact with Hot spot frame work
       
    49 	// Plugin implementation will override these functions to actually interact with the HS framework
       
    50 
       
    51 	virtual void HotSpotStart( const TUint aIapId, TRequestStatus& aStatus ) = 0;
       
    52 	
       
    53 	virtual void HotSpotStartAgain( const TUint aIapId, TRequestStatus& aStatus ) = 0;
       
    54 
       
    55 	virtual void HotSpotCloseConnection( const TUint aIapId, TRequestStatus& aStatus ) = 0;
       
    56 
       
    57 	virtual void HotSpotCancel( const TUint aIapId ) = 0;
       
    58 
       
    59     private:    // Data
       
    60 
       
    61         /**
       
    62         * Identifies the instance of an implementation created by
       
    63         * the ECOM framework.
       
    64         */
       
    65         TUid iInstanceIdentifier;
       
    66     };
       
    67 
       
    68 #include "wlanagthotspotclient.inl"
       
    69 
       
    70 #endif // WLANAGTHOTSPOTCLIENT_H