phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.h
changeset 45 6b911d05207e
parent 37 ba76fc04e6c2
child 46 bc5a64e5bc3c
--- a/phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.h	Fri Jun 04 10:19:18 2010 +0100
+++ b/phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.h	Wed Jun 23 18:12:20 2010 +0300
@@ -20,14 +20,21 @@
 
 #include <qobject.h>
 #include <cpplugininterface.h>
+#include <cplauncherinterface.h>
+#include "cpnetworkstatus.h"
 #include "cpphonelocalisation.h"
 
 
-class CpNetworkPlugin : public QObject, public CpPluginInterface
+class CpNetworkPlugin 
+    : public QObject, 
+      public CpPluginInterface,
+      public CpLauncherInterface
+
 {
     Q_OBJECT
     Q_INTERFACES(CpPluginInterface)
-    
+    Q_INTERFACES(CpLauncherInterface)
+
 public:
     
     CpNetworkPlugin();
@@ -40,10 +47,18 @@
      */
     QList<CpSettingFormItemData*> createSettingFormItemData(
         CpItemDataHelper &itemDataHelper) const;
+    
+	/**
+     * From CpLauncherInterface
+     * @see CpLauncherInterface.
+     */
+    CpBaseSettingView *createSettingView(const QVariant &hint) const;
 
 private:
     
-    QScopedPointer<CpPhoneLocalisation> m_localisation; 
+    QScopedPointer<CpPhoneLocalisation> m_localisation;
+    
+    QScopedPointer<CpNetworkStatus> m_networkStatus; 
 };
 
 #endif  // CPNETWORKPLUGIN_H