controlpanel/tsrc/unit/pluginfortest/firstpluginfortest/src/firstpluginfortest.h
branchRCL_3
changeset 25 7e0eff37aedb
parent 24 8ee96d21d9bf
child 26 e78c61e77b1a
equal deleted inserted replaced
24:8ee96d21d9bf 25:7e0eff37aedb
     1 
       
     2 
       
     3 //This class is used for the test case "testCpPluginInterface()". CpTestPlugin is a subclass from CpPluginInterface.
       
     4 
       
     5 #ifndef FIRSTPLUGINFORTEST_H
       
     6 #define FIRSTPLUGINFORTEST_H
       
     7 
       
     8 #include <qobject.h>
       
     9 #include <cpplugininterface.h>
       
    10 #include <cplauncherinterface.h>
       
    11 
       
    12 class FirstPluginForTest : public QObject, public CpPluginInterface, public CpLauncherInterface
       
    13 {
       
    14     Q_OBJECT
       
    15     Q_INTERFACES(CpPluginInterface)
       
    16     Q_INTERFACES(CpLauncherInterface)
       
    17 public:
       
    18     FirstPluginForTest();
       
    19     virtual ~FirstPluginForTest();
       
    20     virtual QList<CpSettingFormItemData*> createSettingFormItemData(CpItemDataHelper &itemDataHelper) const;
       
    21     virtual CpBaseSettingView *createSettingView(const QVariant &hint) const;
       
    22 };
       
    23 
       
    24 #endif