31
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 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 |
*/
|
|
16 |
|
|
17 |
#ifndef CONTROL_WLANQTUTILS_H
|
|
18 |
#define CONTROL_WLANQTUTILS_H
|
|
19 |
|
|
20 |
#include <QObject>
|
|
21 |
#include <QSharedPointer>
|
|
22 |
|
|
23 |
#include "wlanqtutilscommon.h"
|
|
24 |
|
|
25 |
class WlanQtUtils;
|
|
26 |
class WlanQtUtilsWlanIap;
|
|
27 |
class WlanQtUtilsAp;
|
|
28 |
|
|
29 |
class Q_DECL_EXPORT WlanQtUtilsContext: public QObject
|
|
30 |
{
|
|
31 |
Q_OBJECT
|
|
32 |
|
|
33 |
public:
|
|
34 |
WlanQtUtilsContext(WlanQtUtils *utils );
|
|
35 |
~WlanQtUtilsContext();
|
|
36 |
|
|
37 |
public:
|
|
38 |
void setScanWlanApsResult( QList<QSharedPointer<WlanQtUtilsAp> > result );
|
|
39 |
|
|
40 |
void setScanWlanDirectResult( QString ssid,
|
|
41 |
QList<QSharedPointer<WlanQtUtilsAp> > result );
|
|
42 |
|
|
43 |
void setCreateWlanIapResult(int iapId);
|
|
44 |
|
|
45 |
void setUpdateWlanIapResult(bool returnValue);
|
|
46 |
|
|
47 |
void setConnectionSuccessed(bool value);
|
|
48 |
|
|
49 |
void setSignalWlanNetworkOpened(int iapId);
|
|
50 |
|
|
51 |
void setSignalWlanNetworkClosed(int iapId, int reason);
|
|
52 |
|
|
53 |
#ifdef ICT_RESULT_ENUM
|
|
54 |
void setSignalIctResult(int iapId, WlanLoginIctsResultType result);
|
|
55 |
#else
|
|
56 |
void setSignalIctResult(int iapId, bool result);
|
|
57 |
#endif
|
|
58 |
|
|
59 |
QStringList calledMethods();
|
|
60 |
|
|
61 |
bool verifyWlanIapSettings(WlanQtUtilsAp &ref);
|
|
62 |
|
|
63 |
private:
|
|
64 |
WlanQtUtils* mUtils;
|
|
65 |
};
|
|
66 |
|
|
67 |
#endif /* CONTROL_WLANQTUTILS_H */
|
|
68 |
|
|
69 |
// End of File
|