phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 30 ebdbd102c78a
parent 46 bc5a64e5bc3c
--- a/phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.h	Tue Jun 15 14:14:38 2010 +0100
+++ b/phonesettings/cpphonesettingsplugins/cpnetworkplugin/src/cpnetworkplugin.h	Thu Jul 22 16:33:21 2010 +0100
@@ -20,18 +20,23 @@
 
 #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();
-    
     ~CpNetworkPlugin();
     
     /**
@@ -40,10 +45,16 @@
      */
     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