|
1 /* |
|
2 * Copyright (c) 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: Implements notifications interface from Hotspot server in order |
|
15 * to receive wlan connection closed notification. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef HSBROWSERHSSRVNOTIFS_H |
|
22 #define HSBROWSERHSSRVNOTIFS_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 #include <ictscommon.h> |
|
27 #include "hsssrvnotifications.h" |
|
28 #include <wlanmgmtcommon.h> |
|
29 #include <wlanmgmtinterface.h> |
|
30 |
|
31 // FORWARD DECLARATION |
|
32 class CHsBrowserContainer; |
|
33 |
|
34 // CLASS DECLARATION |
|
35 /** |
|
36 * CHsBrowserHsSrvNotifs class. |
|
37 * Class implements notifications interface for Hotspot server in order |
|
38 * to receive wlan connection closed notification. |
|
39 */ |
|
40 class CHsBrowserHsSrvNotifs : public CBase, public MWlanMgmtNotifications |
|
41 { |
|
42 |
|
43 public: // Constructors and destructor |
|
44 |
|
45 /** |
|
46 * Two-phased constructor. |
|
47 * |
|
48 * @param aContainer Pointer to container of browser application |
|
49 */ |
|
50 static CHsBrowserHsSrvNotifs* NewL( CHsBrowserContainer* aContainer ); |
|
51 |
|
52 /** |
|
53 * Destructor. |
|
54 */ |
|
55 ~CHsBrowserHsSrvNotifs(); |
|
56 |
|
57 public: // from MWlanMgmtNotifications |
|
58 |
|
59 /** |
|
60 * Connection state has changed . |
|
61 */ |
|
62 virtual void ConnectionStateChanged( TWlanConnectionMode aNewState ); |
|
63 |
|
64 |
|
65 private: |
|
66 |
|
67 /** |
|
68 * C++ default constructor. |
|
69 * |
|
70 * @param aContainer Pointer to container of browser application. |
|
71 */ |
|
72 CHsBrowserHsSrvNotifs( CHsBrowserContainer* aContainer ); |
|
73 |
|
74 /** |
|
75 * By default Symbian 2nd phase constructor is private. |
|
76 */ |
|
77 void ConstructL(); |
|
78 |
|
79 private: |
|
80 |
|
81 /** |
|
82 * Container of hotspot browser application. |
|
83 */ |
|
84 CHsBrowserContainer* iContainer; |
|
85 }; |
|
86 |
|
87 #endif // HSBROWSERHSSRVNOTIFS_H |
|
88 |
|
89 // End of File |
|
90 |