equal
deleted
inserted
replaced
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 |
|
18 #ifndef PSETNETWORKINFOCONVERTER_H |
|
19 #define PSETNETWORKINFOCONVERTER_H |
|
20 |
|
21 #include <psetnetworkwrapper.h> |
|
22 #include <mpsetnetworkselect.h> |
|
23 |
|
24 class NetworkInfoConverter |
|
25 { |
|
26 public: |
|
27 |
|
28 static MPsetNetworkSelect::TNetworkInfo ConvertToSymbianType( |
|
29 const PSetNetworkWrapper::NetworkInfo &networkInfo); |
|
30 |
|
31 static MPsetNetworkSelect::TNetworkId ConvertToSymbianType( |
|
32 const PSetNetworkWrapper::NetworkId &networkId); |
|
33 |
|
34 static MPsetNetworkSelect::TNetworkStatus ConvertToSymbianType( |
|
35 const PSetNetworkWrapper::NetworkStatus &networkStatus); |
|
36 |
|
37 static MPsetNetworkSelect::TSelectMode ConvertToSymbianType( |
|
38 const PSetNetworkWrapper::NetworkSelectionMode &selectionMode); |
|
39 |
|
40 static MPsetNetworkSelect::TNetworkAccess ConvertToSymbianType( |
|
41 const PSetNetworkWrapper::NetworkAccessType &accessType); |
|
42 |
|
43 static PSetNetworkWrapper::NetworkSelectionMode ConvertToQtType( |
|
44 const MPsetNetworkSelect::TSelectMode &selectMode); |
|
45 }; |
|
46 |
|
47 #endif // PSETNETWORKINFOCONVERTER_H |
|