added weatherground plugin frame
This commit is contained in:
parent
639bbc73c2
commit
b5f510dcad
@ -72,6 +72,6 @@ private:
|
||||
|
||||
friend class DeviceManager;
|
||||
};
|
||||
Q_DECLARE_INTERFACE(DevicePlugin, "org.guhyourhome.DevicePlugin")
|
||||
Q_DECLARE_INTERFACE(DevicePlugin, "org.guh.DevicePlugin")
|
||||
|
||||
#endif
|
||||
|
||||
@ -25,7 +25,7 @@ class DevicePluginConrad : public DevicePlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PLUGIN_METADATA(IID "org.guhyourhome.DevicePlugin" FILE "devicepluginconrad.json")
|
||||
Q_PLUGIN_METADATA(IID "org.guh.DevicePlugin" FILE "devicepluginconrad.json")
|
||||
Q_INTERFACES(DevicePlugin)
|
||||
|
||||
public:
|
||||
|
||||
@ -5,5 +5,6 @@ SUBDIRS += elro \
|
||||
wifidetector \
|
||||
conrad \
|
||||
mock \
|
||||
weatherground \
|
||||
|
||||
# boblight \
|
||||
|
||||
@ -25,7 +25,7 @@ class DevicePluginElro : public DevicePlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PLUGIN_METADATA(IID "org.guhyourhome.DevicePlugin" FILE "devicepluginelro.json")
|
||||
Q_PLUGIN_METADATA(IID "org.guh.DevicePlugin" FILE "devicepluginelro.json")
|
||||
Q_INTERFACES(DevicePlugin)
|
||||
|
||||
public:
|
||||
|
||||
@ -25,7 +25,7 @@ class DevicePluginIntertechno : public DevicePlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PLUGIN_METADATA(IID "org.guhyourhome.DevicePlugin" FILE "devicepluginintertechno.json")
|
||||
Q_PLUGIN_METADATA(IID "org.guh.DevicePlugin" FILE "devicepluginintertechno.json")
|
||||
Q_INTERFACES(DevicePlugin)
|
||||
|
||||
public:
|
||||
|
||||
@ -26,7 +26,7 @@ class DevicePluginMeisterAnker : public DevicePlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PLUGIN_METADATA(IID "org.guhyourhome.DevicePlugin" FILE "devicepluginmeisteranker.json")
|
||||
Q_PLUGIN_METADATA(IID "org.guh.DevicePlugin" FILE "devicepluginmeisteranker.json")
|
||||
Q_INTERFACES(DevicePlugin)
|
||||
|
||||
public:
|
||||
|
||||
@ -29,7 +29,7 @@ class DevicePluginMock : public DevicePlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PLUGIN_METADATA(IID "org.guhyourhome.DevicePlugin" FILE "devicepluginmock.json")
|
||||
Q_PLUGIN_METADATA(IID "org.guh.DevicePlugin" FILE "devicepluginmock.json")
|
||||
Q_INTERFACES(DevicePlugin)
|
||||
|
||||
public:
|
||||
|
||||
@ -27,7 +27,7 @@ class DevicePluginWifiDetector : public DevicePlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PLUGIN_METADATA(IID "org.guhyourhome.DevicePlugin" FILE "devicepluginwifidetector.json")
|
||||
Q_PLUGIN_METADATA(IID "org.guh.DevicePlugin" FILE "devicepluginwifidetector.json")
|
||||
Q_INTERFACES(DevicePlugin)
|
||||
|
||||
public:
|
||||
|
||||
@ -27,6 +27,7 @@ Q_IMPORT_PLUGIN(DevicePluginMeisterAnker)
|
||||
Q_IMPORT_PLUGIN(DevicePluginWifiDetector)
|
||||
Q_IMPORT_PLUGIN(DevicePluginConrad)
|
||||
Q_IMPORT_PLUGIN(DevicePluginMock)
|
||||
Q_IMPORT_PLUGIN(DevicePluginWeatherground)
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
\ingroup rules
|
||||
\inmodule server
|
||||
|
||||
A Rule is always evented by a \l{Event}, has \l{State}{States}
|
||||
A Rule is always evented by an \l{Event}, has \l{State}{States}
|
||||
to be compared and \l{Action}{Actions} to be executed. Additionally a
|
||||
Rule is either of type \l{Rule::RuleTypeAll} or \l{Rule::RuleTypeAny}
|
||||
which determines if all or any of the \l{State}{States} must be matching
|
||||
|
||||
@ -21,3 +21,4 @@ LIBS += -L../plugins/deviceplugins/meisteranker/ -lguh_devicepluginmeisteranker
|
||||
LIBS += -L../plugins/deviceplugins/wifidetector/ -lguh_devicepluginwifidetector
|
||||
LIBS += -L../plugins/deviceplugins/conrad -lguh_devicepluginconrad
|
||||
LIBS += -L../plugins/deviceplugins/mock -lguh_devicepluginmock
|
||||
LIBS += -L../plugins/deviceplugins/weatherground -lguh_devicepluginweatherground
|
||||
|
||||
@ -51,7 +51,7 @@ private:
|
||||
|
||||
void TestJSONRPC::initTestcase()
|
||||
{
|
||||
QCoreApplication::instance()->setOrganizationName("guhyourhome-test");
|
||||
QCoreApplication::instance()->setOrganizationName("guh-test");
|
||||
qDebug() << "creating core";
|
||||
GuhCore::instance();
|
||||
qDebug() << "creating spy";
|
||||
|
||||
@ -25,7 +25,7 @@ class DevicePluginMockDevice: public DevicePlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_PLUGIN_METADATA(IID "org.guhyourhome.DevicePlugin" FILE "devicepluginmockdevice.json")
|
||||
Q_PLUGIN_METADATA(IID "org.guh.DevicePlugin" FILE "devicepluginmockdevice.json")
|
||||
Q_INTERFACES(DevicePlugin)
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user