|
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: Agent-hotspot interaction plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef WLANAGTHOTSPOTIMPL_H |
|
21 #define WLANAGTHOTSPOTIMPL_H |
|
22 |
|
23 #include <e32base.h> |
|
24 #include <wlanagthotspotclient.h> |
|
25 #include "hssinterface.h" |
|
26 |
|
27 /** |
|
28 * Plugin used by WLAN Agent in order to interact with Hot Spot frame work which is middleware component |
|
29 * |
|
30 * @lib wlanagthotspotimpl.dll |
|
31 * @since Series 60 3.0 |
|
32 */ |
|
33 class CWlanAgtHotSpotImpl : |
|
34 public CWlanAgtHotSpotClient |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 * @param aCallback specifies the callback interface |
|
41 */ |
|
42 static CWlanAgtHotSpotImpl* NewL( ); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 virtual ~CWlanAgtHotSpotImpl(); |
|
48 |
|
49 public: // Functions from base classes |
|
50 |
|
51 /* From CWlanAgtHotSpotClient */ |
|
52 |
|
53 void HotSpotStart( const TUint aIapId, TRequestStatus& aStatus ); |
|
54 |
|
55 void HotSpotStartAgain( const TUint aIapId, TRequestStatus& aStatus ); |
|
56 |
|
57 void HotSpotCloseConnection( const TUint aIapId, TRequestStatus& aStatus ); |
|
58 |
|
59 void HotSpotCancel( const TUint aIapId ); |
|
60 |
|
61 private: |
|
62 |
|
63 /** |
|
64 * C++ default constructor. |
|
65 */ |
|
66 CWlanAgtHotSpotImpl( ); |
|
67 |
|
68 /** |
|
69 * By default Symbian 2nd phase constructor is private. |
|
70 */ |
|
71 void ConstructL(); |
|
72 |
|
73 /** |
|
74 * Requests a notification from System Agent. |
|
75 */ |
|
76 void IssueRequest(); |
|
77 |
|
78 |
|
79 private: // Data |
|
80 |
|
81 RHssInterface iHSServer; |
|
82 |
|
83 }; |
|
84 |
|
85 #endif // WLANAGTHOTSPOTIMPL_H |