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 * Control Panel packet data AP plugin header file. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef CPPACKETDATAAPPLUGIN_H |
|
20 #define CPPACKETDATAAPPLUGIN_H |
|
21 |
|
22 // System includes |
|
23 #include <QObject> |
|
24 #include <QSharedPointer> |
|
25 #include <cpbearerapplugininterface.h> |
|
26 |
|
27 // User includes |
|
28 |
|
29 // Forward declarations |
|
30 class HbTranslator; |
|
31 class CmManagerShim; |
|
32 class CmConnectionMethodShim; |
|
33 |
|
34 // External data types |
|
35 |
|
36 // Constants |
|
37 |
|
38 // Class declaration |
|
39 class CpPacketDataApPlugin : public QObject, public CpBearerApPluginInterface |
|
40 { |
|
41 Q_OBJECT |
|
42 Q_INTERFACES(CpBearerApPluginInterface) |
|
43 |
|
44 public: |
|
45 CpPacketDataApPlugin(); |
|
46 ~CpPacketDataApPlugin(); |
|
47 |
|
48 uint bearerType() const; |
|
49 CpBaseSettingView *createSettingView(uint connectionMethod); |
|
50 |
|
51 signals: |
|
52 |
|
53 public slots: |
|
54 |
|
55 protected: |
|
56 |
|
57 protected slots: |
|
58 |
|
59 private: |
|
60 Q_DISABLE_COPY(CpPacketDataApPlugin) |
|
61 |
|
62 private slots: |
|
63 |
|
64 private: // data |
|
65 //! Translator instance |
|
66 QSharedPointer<HbTranslator> mTranslator; |
|
67 //! CM Manager Shim instance |
|
68 CmManagerShim *mCmManager; |
|
69 //! CM Connection Method Shim instance |
|
70 CmConnectionMethodShim *mCmConnectionMethod; |
|
71 }; |
|
72 |
|
73 #endif // CPPACKETDATAAPPLUGIN_H |
|