equal
deleted
inserted
replaced
|
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 * ICTS Wlan Login Interface stubbing for WLAN Qt Utilities. |
|
16 */ |
|
17 |
|
18 #ifndef ICTSWLANLOGININTERFACE_H |
|
19 #define ICTSWLANLOGININTERFACE_H |
|
20 |
|
21 // System includes |
|
22 #include <QObject> |
|
23 |
|
24 // User includes |
|
25 |
|
26 // Forward declarations |
|
27 |
|
28 // External data types |
|
29 |
|
30 // Constants |
|
31 |
|
32 // Class declaration |
|
33 class IctsWlanLoginInterface: public QObject |
|
34 { |
|
35 Q_OBJECT |
|
36 |
|
37 public: |
|
38 |
|
39 // Data types |
|
40 |
|
41 /*! |
|
42 Internet connectivity test result type |
|
43 */ |
|
44 enum ictsResultType { |
|
45 IctsPassed = 0, //!< Internet connectivity test passed |
|
46 IctsHotspotPassed, //!< Internet connectivity test passed against hotspot access point |
|
47 IctsCanceled, //!< Internet connectivity test was cancelled due to user action |
|
48 IctsFailed //!< internet connectivity test failed |
|
49 }; |
|
50 |
|
51 IctsWlanLoginInterface(QObject *parent); |
|
52 |
|
53 ~IctsWlanLoginInterface(); |
|
54 |
|
55 public: |
|
56 |
|
57 void start(int iapId, int netId); |
|
58 |
|
59 void stop(); |
|
60 |
|
61 signals: |
|
62 |
|
63 void ictsResult(int ictsResult); |
|
64 |
|
65 void hotspotCase(); |
|
66 }; |
|
67 |
|
68 #endif // ICTSWLANLOGININTERFACE_H |