|
1 /* |
|
2 * Copyright (c) 2010 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: |
|
15 * Connection Method Manager interface implementation. |
|
16 */ |
|
17 |
|
18 #ifndef WSFKEEPALIVECMM_H |
|
19 #define WSFKEEPALIVECMM_H |
|
20 |
|
21 // System includes |
|
22 |
|
23 #include <e32base.h> |
|
24 #include <cmmanager.h> |
|
25 |
|
26 // User includes |
|
27 |
|
28 // Forward declarations |
|
29 |
|
30 class CWsfKeepalive; |
|
31 |
|
32 // External data types |
|
33 |
|
34 // Global function prototypes |
|
35 |
|
36 // Constants |
|
37 |
|
38 // Class declaration |
|
39 |
|
40 /** |
|
41 * Connection Method Manager interface implementation. |
|
42 * |
|
43 * This class uses the Connection Method Manager interface to get and deleted |
|
44 * Hotspot IAP. |
|
45 */ |
|
46 class CWsfKeepaliveCmm : public CBase |
|
47 { |
|
48 // Friend classes: |
|
49 |
|
50 public: |
|
51 |
|
52 // Data types |
|
53 |
|
54 /** Constructors */ |
|
55 |
|
56 /** |
|
57 * Two-phased constructor. |
|
58 * |
|
59 */ |
|
60 static CWsfKeepaliveCmm* NewL(); |
|
61 |
|
62 /**> Destructor */ |
|
63 virtual ~CWsfKeepaliveCmm(); |
|
64 |
|
65 public: |
|
66 |
|
67 /** |
|
68 * Cm Manager Hotspot info getter. |
|
69 */ |
|
70 TBool CWsfKeepaliveCmm::GetHotspotInfoL(TInt32 aIapId); |
|
71 |
|
72 /** |
|
73 * Cm Manager Hotspot IAP deleter. |
|
74 */ |
|
75 TBool CWsfKeepaliveCmm::DeleteHotspotIapL(TInt32 aIapId); |
|
76 |
|
77 protected: |
|
78 |
|
79 private: |
|
80 |
|
81 CWsfKeepaliveCmm(); |
|
82 |
|
83 void ConstructL(); |
|
84 |
|
85 |
|
86 private: // Data |
|
87 |
|
88 /** |
|
89 * Handle to Connection Method Manger |
|
90 */ |
|
91 RCmManager iCmManager; |
|
92 |
|
93 }; |
|
94 |
|
95 #endif // WSFKEEPALIVECMM_H |