From 2aa55e469e5bc78dda20601c7ca6c7e3af4c54c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Sat, 2 May 2015 23:24:24 +0200 Subject: [PATCH] added copyright --- data/init/guhd | 2 +- debian/guhd.postinst | 2 +- libguh/devicemanager.cpp | 3 + libguh/devicemanager.h | 3 + libguh/hardware/gpio.cpp | 2 + libguh/hardware/gpio.h | 2 + libguh/hardware/gpiomonitor.cpp | 2 + libguh/hardware/gpiomonitor.h | 2 + libguh/hardware/radio433/radio433.cpp | 2 + libguh/hardware/radio433/radio433.h | 2 + .../radio433/radio433brennenstuhlgateway.cpp | 2 + .../radio433/radio433brennenstuhlgateway.h | 2 + libguh/hardware/radio433/radio433receiver.cpp | 2 + libguh/hardware/radio433/radio433receiver.h | 2 + .../hardware/radio433/radio433transmitter.cpp | 2 + .../hardware/radio433/radio433transmitter.h | 2 + libguh/network/networkmanager.cpp | 2 + libguh/network/networkmanager.h | 2 + libguh/network/upnpdiscovery/upnpdevice.cpp | 2 + libguh/network/upnpdiscovery/upnpdevice.h | 2 + .../upnpdiscovery/upnpdevicedescriptor.cpp | 2 + .../upnpdiscovery/upnpdevicedescriptor.h | 2 + .../network/upnpdiscovery/upnpdiscovery.cpp | 3 + libguh/network/upnpdiscovery/upnpdiscovery.h | 2 + .../upnpdiscovery/upnpdiscoveryrequest.cpp | 2 + .../upnpdiscovery/upnpdiscoveryrequest.h | 2 + libguh/plugin/device.cpp | 3 + libguh/plugin/device.h | 3 + libguh/plugin/deviceclass.cpp | 3 + libguh/plugin/deviceclass.h | 3 + libguh/plugin/devicedescriptor.cpp | 3 + libguh/plugin/devicedescriptor.h | 3 + libguh/plugin/deviceplugin.cpp | 3 + libguh/plugin/deviceplugin.h | 3 + libguh/types/action.cpp | 3 + libguh/types/action.h | 3 + libguh/types/actiontype.cpp | 3 + libguh/types/actiontype.h | 3 + libguh/types/event.cpp | 3 + libguh/types/event.h | 3 + libguh/types/eventdescriptor.cpp | 3 + libguh/types/eventdescriptor.h | 3 + libguh/types/eventtype.cpp | 3 + libguh/types/eventtype.h | 3 + libguh/types/param.cpp | 3 + libguh/types/param.h | 3 + libguh/types/paramdescriptor.cpp | 3 + libguh/types/paramdescriptor.h | 3 + libguh/types/paramtype.cpp | 4 + libguh/types/paramtype.h | 3 + libguh/types/ruleaction.cpp | 3 + libguh/types/ruleaction.h | 3 + libguh/types/ruleactionparam.cpp | 3 + libguh/types/ruleactionparam.h | 3 + libguh/types/state.cpp | 3 + libguh/types/state.h | 3 + libguh/types/statedescriptor.cpp | 3 + libguh/types/statedescriptor.h | 3 + libguh/types/statetype.cpp | 3 + libguh/types/statetype.h | 3 + libguh/types/vendor.cpp | 3 + libguh/types/vendor.h | 3 + libguh/typeutils.h | 3 + plugins/deviceplugins/boblight/bobclient.cpp | 3 + plugins/deviceplugins/boblight/bobclient.h | 3 + .../boblight/devicepluginboblight.cpp | 3 + .../boblight/devicepluginboblight.h | 3 + .../deviceplugincommandlauncher.cpp | 3 + .../deviceplugincommandlauncher.h | 2 + .../conrad/devicepluginconrad.cpp | 37 +++-- .../deviceplugins/conrad/devicepluginconrad.h | 37 +++-- .../datetime/deviceplugindatetime.cpp | 2 + .../datetime/deviceplugindatetime.h | 2 + .../deviceplugins/elro/devicepluginelro.cpp | 2 + plugins/deviceplugins/elro/devicepluginelro.h | 2 + .../deviceplugins/eq-3/deviceplugineq-3.cpp | 2 + plugins/deviceplugins/eq-3/deviceplugineq-3.h | 2 + plugins/deviceplugins/eq-3/maxcube.cpp | 2 + plugins/deviceplugins/eq-3/maxcube.h | 2 + .../deviceplugins/eq-3/maxcubediscovery.cpp | 2 + plugins/deviceplugins/eq-3/maxcubediscovery.h | 2 + plugins/deviceplugins/eq-3/maxdevice.cpp | 2 + plugins/deviceplugins/eq-3/maxdevice.h | 2 + .../deviceplugins/eq-3/radiatorthermostat.cpp | 2 + .../deviceplugins/eq-3/radiatorthermostat.h | 2 + plugins/deviceplugins/eq-3/room.cpp | 2 + plugins/deviceplugins/eq-3/room.h | 2 + plugins/deviceplugins/eq-3/wallthermostat.cpp | 2 + plugins/deviceplugins/eq-3/wallthermostat.h | 2 + .../deviceplugingenericelements.cpp | 2 + .../deviceplugingenericelements.h | 2 + .../intertechno/devicepluginintertechno.cpp | 2 + .../intertechno/devicepluginintertechno.h | 2 + .../leynew/devicepluginleynew.cpp | 2 + .../deviceplugins/leynew/devicepluginleynew.h | 2 + .../lgsmarttv/devicepluginlgsmarttv.cpp | 2 + .../lgsmarttv/devicepluginlgsmarttv.h | 2 + plugins/deviceplugins/lgsmarttv/tvdevice.cpp | 2 + plugins/deviceplugins/lgsmarttv/tvdevice.h | 2 + .../lgsmarttv/tveventhandler.cpp | 2 + .../deviceplugins/lgsmarttv/tveventhandler.h | 2 + .../deviceplugins/lircd/devicepluginlircd.cpp | 3 + .../deviceplugins/lircd/devicepluginlircd.h | 3 + plugins/deviceplugins/lircd/lircdclient.cpp | 2 + plugins/deviceplugins/lircd/lircdclient.h | 2 + .../devicepluginmailnotification.cpp | 2 + .../devicepluginmailnotification.h | 2 + .../mailnotification/smtpclient.cpp | 2 + .../mailnotification/smtpclient.h | 2 + .../deviceplugins/mock/devicepluginmock.cpp | 3 + plugins/deviceplugins/mock/devicepluginmock.h | 3 + plugins/deviceplugins/mock/httpdaemon.cpp | 3 + plugins/deviceplugins/mock/httpdaemon.h | 3 + .../devicepluginopenweathermap.cpp | 2 + .../devicepluginopenweathermap.h | 2 + .../philipshue/devicepluginphilipshue.cpp | 2 + .../philipshue/devicepluginphilipshue.h | 2 + .../philipshue/huebridgeconnection.cpp | 2 + .../philipshue/huebridgeconnection.h | 2 + plugins/deviceplugins/philipshue/light.cpp | 38 +++-- plugins/deviceplugins/philipshue/light.h | 37 +++-- .../deviceplugins/tune/deviceplugintune.cpp | 2 + plugins/deviceplugins/tune/deviceplugintune.h | 2 + plugins/deviceplugins/tune/jsonrpcserver.cpp | 2 + plugins/deviceplugins/tune/jsonrpcserver.h | 2 + plugins/deviceplugins/tune/tunemanager.cpp | 2 + plugins/deviceplugins/tune/tunemanager.h | 2 + .../unitec/devicepluginunitec.cpp | 2 + .../deviceplugins/unitec/devicepluginunitec.h | 2 + .../wakeonlan/devicepluginwakeonlan.cpp | 3 + .../wakeonlan/devicepluginwakeonlan.h | 2 + .../devicepluginweatherground.cpp | 157 ------------------ .../weatherground/devicepluginweatherground.h | 54 ------ .../weatherground/weathergroundparser.cpp | 126 -------------- .../weatherground/weathergroundparser.h | 85 ---------- .../deviceplugins/wemo/devicepluginwemo.cpp | 2 + plugins/deviceplugins/wemo/devicepluginwemo.h | 2 + plugins/deviceplugins/wemo/wemoswitch.cpp | 46 ----- plugins/deviceplugins/wemo/wemoswitch.h | 45 ----- .../wifidetector/devicepluginwifidetector.cpp | 3 + .../wifidetector/devicepluginwifidetector.h | 3 + server/guhcore.cpp | 3 + server/guhcore.h | 3 + server/guhservice.cpp | 2 + server/guhservice.h | 2 + server/jsonrpc/actionhandler.cpp | 3 + server/jsonrpc/actionhandler.h | 3 + server/jsonrpc/devicehandler.cpp | 3 + server/jsonrpc/devicehandler.h | 3 + server/jsonrpc/eventhandler.cpp | 3 + server/jsonrpc/eventhandler.h | 3 + server/jsonrpc/jsonhandler.cpp | 3 + server/jsonrpc/jsonhandler.h | 3 + server/jsonrpc/jsonrpcserver.cpp | 3 + server/jsonrpc/jsonrpcserver.h | 3 + server/jsonrpc/jsontypes.cpp | 3 + server/jsonrpc/jsontypes.h | 3 + server/jsonrpc/logginghandler.cpp | 3 + server/jsonrpc/logginghandler.h | 3 + server/jsonrpc/ruleshandler.cpp | 3 + server/jsonrpc/ruleshandler.h | 3 + server/jsonrpc/statehandler.cpp | 3 + server/jsonrpc/statehandler.h | 3 + server/logging/logengine.cpp | 2 + server/logging/logengine.h | 2 + server/logging/logentry.cpp | 2 + server/logging/logentry.h | 2 + server/logging/logfilter.h | 2 + server/logging/logging.h | 2 + server/main.cpp | 3 + server/rule.cpp | 3 + server/rule.h | 3 + server/ruleengine.cpp | 3 + server/ruleengine.h | 3 + server/stateevaluator.cpp | 3 + server/stateevaluator.h | 3 + server/tcpserver.cpp | 3 + server/tcpserver.h | 3 + tests/auto/actions/testactions.cpp | 37 +++-- tests/auto/devices/testdevices.cpp | 37 +++-- tests/auto/events/testevents.cpp | 37 +++-- tests/auto/guhtestbase.cpp | 37 +++-- tests/auto/guhtestbase.h | 37 +++-- tests/auto/jsonrpc/testjsonrpc.cpp | 37 +++-- tests/auto/mocktcpserver.cpp | 2 + tests/auto/mocktcpserver.h | 2 + tests/auto/plugins/testplugins.cpp | 37 +++-- tests/auto/rules/testrules.cpp | 37 +++-- tests/auto/states/teststates.cpp | 37 +++-- tests/auto/versioning/testversioning.cpp | 36 ++-- 190 files changed, 700 insertions(+), 755 deletions(-) delete mode 100644 plugins/deviceplugins/weatherground/devicepluginweatherground.cpp delete mode 100644 plugins/deviceplugins/weatherground/devicepluginweatherground.h delete mode 100644 plugins/deviceplugins/weatherground/weathergroundparser.cpp delete mode 100644 plugins/deviceplugins/weatherground/weathergroundparser.h delete mode 100644 plugins/deviceplugins/wemo/wemoswitch.cpp delete mode 100644 plugins/deviceplugins/wemo/wemoswitch.h diff --git a/data/init/guhd b/data/init/guhd index 5c5f7af7..9f6a4b91 100755 --- a/data/init/guhd +++ b/data/init/guhd @@ -14,7 +14,7 @@ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -# Copyright (C) 2015 guh # +# Copyright (C) 2015 Simon Stuerz # # # # This file is part of guh. # # # diff --git a/debian/guhd.postinst b/debian/guhd.postinst index 8b6d4c4c..29998e32 100755 --- a/debian/guhd.postinst +++ b/debian/guhd.postinst @@ -2,7 +2,7 @@ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -# Copyright (C) 2015 guh # +# Copyright (C) 2015 Simon Stuerz # # # # This file is part of guh. # # # diff --git a/libguh/devicemanager.cpp b/libguh/devicemanager.cpp index 4b511df1..b9554c79 100644 --- a/libguh/devicemanager.cpp +++ b/libguh/devicemanager.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/devicemanager.h b/libguh/devicemanager.h index 7547b611..f69102b0 100644 --- a/libguh/devicemanager.h +++ b/libguh/devicemanager.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/hardware/gpio.cpp b/libguh/hardware/gpio.cpp index dfaf07b9..ac8b5977 100644 --- a/libguh/hardware/gpio.cpp +++ b/libguh/hardware/gpio.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/gpio.h b/libguh/hardware/gpio.h index 4f6f259a..7a8b8052 100644 --- a/libguh/hardware/gpio.h +++ b/libguh/hardware/gpio.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/gpiomonitor.cpp b/libguh/hardware/gpiomonitor.cpp index 40e55d1b..05e8903b 100644 --- a/libguh/hardware/gpiomonitor.cpp +++ b/libguh/hardware/gpiomonitor.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/gpiomonitor.h b/libguh/hardware/gpiomonitor.h index aa22f749..28cf7657 100644 --- a/libguh/hardware/gpiomonitor.h +++ b/libguh/hardware/gpiomonitor.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433.cpp b/libguh/hardware/radio433/radio433.cpp index ee65a63e..9ce271a2 100644 --- a/libguh/hardware/radio433/radio433.cpp +++ b/libguh/hardware/radio433/radio433.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433.h b/libguh/hardware/radio433/radio433.h index 166d3f2e..f0672bb6 100644 --- a/libguh/hardware/radio433/radio433.h +++ b/libguh/hardware/radio433/radio433.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433brennenstuhlgateway.cpp b/libguh/hardware/radio433/radio433brennenstuhlgateway.cpp index 4d50a97f..a9560d2f 100644 --- a/libguh/hardware/radio433/radio433brennenstuhlgateway.cpp +++ b/libguh/hardware/radio433/radio433brennenstuhlgateway.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433brennenstuhlgateway.h b/libguh/hardware/radio433/radio433brennenstuhlgateway.h index 0d691cb2..eeba8b75 100644 --- a/libguh/hardware/radio433/radio433brennenstuhlgateway.h +++ b/libguh/hardware/radio433/radio433brennenstuhlgateway.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433receiver.cpp b/libguh/hardware/radio433/radio433receiver.cpp index 92ef627e..61efcdf1 100644 --- a/libguh/hardware/radio433/radio433receiver.cpp +++ b/libguh/hardware/radio433/radio433receiver.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433receiver.h b/libguh/hardware/radio433/radio433receiver.h index 57dc1364..8b76c6ba 100644 --- a/libguh/hardware/radio433/radio433receiver.h +++ b/libguh/hardware/radio433/radio433receiver.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433transmitter.cpp b/libguh/hardware/radio433/radio433transmitter.cpp index d0a124b0..87281991 100644 --- a/libguh/hardware/radio433/radio433transmitter.cpp +++ b/libguh/hardware/radio433/radio433transmitter.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433transmitter.h b/libguh/hardware/radio433/radio433transmitter.h index 5b8408fb..a3aafe5e 100644 --- a/libguh/hardware/radio433/radio433transmitter.h +++ b/libguh/hardware/radio433/radio433transmitter.h @@ -2,6 +2,8 @@ * * * This file is part of guh. * * * + * Copyright (C) 2015 Simon Stuerz * + * * * Guh is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation, version 2 of the License. * diff --git a/libguh/network/networkmanager.cpp b/libguh/network/networkmanager.cpp index 2fe81f2c..0875c4dc 100644 --- a/libguh/network/networkmanager.cpp +++ b/libguh/network/networkmanager.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/network/networkmanager.h b/libguh/network/networkmanager.h index 09552504..fd8a6fbe 100644 --- a/libguh/network/networkmanager.h +++ b/libguh/network/networkmanager.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/network/upnpdiscovery/upnpdevice.cpp b/libguh/network/upnpdiscovery/upnpdevice.cpp index 0630ae64..1a02fbc9 100644 --- a/libguh/network/upnpdiscovery/upnpdevice.cpp +++ b/libguh/network/upnpdiscovery/upnpdevice.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/network/upnpdiscovery/upnpdevice.h b/libguh/network/upnpdiscovery/upnpdevice.h index 0bd68e23..ede165dd 100644 --- a/libguh/network/upnpdiscovery/upnpdevice.h +++ b/libguh/network/upnpdiscovery/upnpdevice.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/network/upnpdiscovery/upnpdevicedescriptor.cpp b/libguh/network/upnpdiscovery/upnpdevicedescriptor.cpp index 788960df..533fed7c 100644 --- a/libguh/network/upnpdiscovery/upnpdevicedescriptor.cpp +++ b/libguh/network/upnpdiscovery/upnpdevicedescriptor.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/network/upnpdiscovery/upnpdevicedescriptor.h b/libguh/network/upnpdiscovery/upnpdevicedescriptor.h index fb3dd967..e16f9614 100644 --- a/libguh/network/upnpdiscovery/upnpdevicedescriptor.h +++ b/libguh/network/upnpdiscovery/upnpdevicedescriptor.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/network/upnpdiscovery/upnpdiscovery.cpp b/libguh/network/upnpdiscovery/upnpdiscovery.cpp index 3c0c5b12..12bc65df 100644 --- a/libguh/network/upnpdiscovery/upnpdiscovery.cpp +++ b/libguh/network/upnpdiscovery/upnpdiscovery.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * @@ -15,6 +17,7 @@ * along with guh. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + /*! \class UpnpDiscovery \brief Allows to detect UPnP devices in the network. diff --git a/libguh/network/upnpdiscovery/upnpdiscovery.h b/libguh/network/upnpdiscovery/upnpdiscovery.h index 50f87cd7..080bddb4 100644 --- a/libguh/network/upnpdiscovery/upnpdiscovery.h +++ b/libguh/network/upnpdiscovery/upnpdiscovery.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/network/upnpdiscovery/upnpdiscoveryrequest.cpp b/libguh/network/upnpdiscovery/upnpdiscoveryrequest.cpp index 87240df2..d0942893 100644 --- a/libguh/network/upnpdiscovery/upnpdiscoveryrequest.cpp +++ b/libguh/network/upnpdiscovery/upnpdiscoveryrequest.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/network/upnpdiscovery/upnpdiscoveryrequest.h b/libguh/network/upnpdiscovery/upnpdiscoveryrequest.h index a55649f2..aa0065e3 100644 --- a/libguh/network/upnpdiscovery/upnpdiscoveryrequest.h +++ b/libguh/network/upnpdiscovery/upnpdiscoveryrequest.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/libguh/plugin/device.cpp b/libguh/plugin/device.cpp index b986bb69..8590c11f 100644 --- a/libguh/plugin/device.cpp +++ b/libguh/plugin/device.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/plugin/device.h b/libguh/plugin/device.h index e55af536..11328791 100644 --- a/libguh/plugin/device.h +++ b/libguh/plugin/device.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/plugin/deviceclass.cpp b/libguh/plugin/deviceclass.cpp index 871849ab..7d65e3b6 100644 --- a/libguh/plugin/deviceclass.cpp +++ b/libguh/plugin/deviceclass.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/plugin/deviceclass.h b/libguh/plugin/deviceclass.h index 687aa7bf..4d349bee 100644 --- a/libguh/plugin/deviceclass.h +++ b/libguh/plugin/deviceclass.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/plugin/devicedescriptor.cpp b/libguh/plugin/devicedescriptor.cpp index b7be6d9d..2450a77e 100644 --- a/libguh/plugin/devicedescriptor.cpp +++ b/libguh/plugin/devicedescriptor.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/plugin/devicedescriptor.h b/libguh/plugin/devicedescriptor.h index 19d37c58..676aade6 100644 --- a/libguh/plugin/devicedescriptor.h +++ b/libguh/plugin/devicedescriptor.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/plugin/deviceplugin.cpp b/libguh/plugin/deviceplugin.cpp index 6ce92286..827e2eac 100644 --- a/libguh/plugin/deviceplugin.cpp +++ b/libguh/plugin/deviceplugin.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/plugin/deviceplugin.h b/libguh/plugin/deviceplugin.h index 7608b25a..f7eed06f 100644 --- a/libguh/plugin/deviceplugin.h +++ b/libguh/plugin/deviceplugin.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/action.cpp b/libguh/types/action.cpp index cfc93693..73ba1f21 100644 --- a/libguh/types/action.cpp +++ b/libguh/types/action.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/action.h b/libguh/types/action.h index 0adcc410..cebb2878 100644 --- a/libguh/types/action.h +++ b/libguh/types/action.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/actiontype.cpp b/libguh/types/actiontype.cpp index 3f468ae3..f066388f 100644 --- a/libguh/types/actiontype.cpp +++ b/libguh/types/actiontype.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/actiontype.h b/libguh/types/actiontype.h index dbdeac41..f64cb125 100644 --- a/libguh/types/actiontype.h +++ b/libguh/types/actiontype.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/event.cpp b/libguh/types/event.cpp index 31189085..c0b74bab 100644 --- a/libguh/types/event.cpp +++ b/libguh/types/event.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/event.h b/libguh/types/event.h index 7dda2ed0..96562f9d 100644 --- a/libguh/types/event.h +++ b/libguh/types/event.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/eventdescriptor.cpp b/libguh/types/eventdescriptor.cpp index ad339bf0..cbdcf2c5 100644 --- a/libguh/types/eventdescriptor.cpp +++ b/libguh/types/eventdescriptor.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/eventdescriptor.h b/libguh/types/eventdescriptor.h index b666a748..0a391752 100644 --- a/libguh/types/eventdescriptor.h +++ b/libguh/types/eventdescriptor.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/eventtype.cpp b/libguh/types/eventtype.cpp index 8e3c4072..def4f5df 100644 --- a/libguh/types/eventtype.cpp +++ b/libguh/types/eventtype.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/eventtype.h b/libguh/types/eventtype.h index 29cccff0..4afa4de1 100644 --- a/libguh/types/eventtype.h +++ b/libguh/types/eventtype.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/param.cpp b/libguh/types/param.cpp index 3c55c61e..2bfbe9b8 100644 --- a/libguh/types/param.cpp +++ b/libguh/types/param.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/param.h b/libguh/types/param.h index cef17eb2..09b101eb 100644 --- a/libguh/types/param.h +++ b/libguh/types/param.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/paramdescriptor.cpp b/libguh/types/paramdescriptor.cpp index 269ecc35..c6ae2c89 100644 --- a/libguh/types/paramdescriptor.cpp +++ b/libguh/types/paramdescriptor.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/paramdescriptor.h b/libguh/types/paramdescriptor.h index 0a464edc..964de83a 100644 --- a/libguh/types/paramdescriptor.h +++ b/libguh/types/paramdescriptor.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/paramtype.cpp b/libguh/types/paramtype.cpp index 63f2efdc..694712e6 100644 --- a/libguh/types/paramtype.cpp +++ b/libguh/types/paramtype.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * @@ -15,6 +18,7 @@ * along with guh. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + /*! \class ParamType \brief Describes a certain ParamType. diff --git a/libguh/types/paramtype.h b/libguh/types/paramtype.h index 097a4c1f..50bea945 100644 --- a/libguh/types/paramtype.h +++ b/libguh/types/paramtype.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/ruleaction.cpp b/libguh/types/ruleaction.cpp index 92776c91..b7e74a97 100644 --- a/libguh/types/ruleaction.cpp +++ b/libguh/types/ruleaction.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/ruleaction.h b/libguh/types/ruleaction.h index 0ddc04f8..35df6024 100644 --- a/libguh/types/ruleaction.h +++ b/libguh/types/ruleaction.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/ruleactionparam.cpp b/libguh/types/ruleactionparam.cpp index fcee9aec..88f4eb23 100644 --- a/libguh/types/ruleactionparam.cpp +++ b/libguh/types/ruleactionparam.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/ruleactionparam.h b/libguh/types/ruleactionparam.h index 19ddc079..a26438ec 100644 --- a/libguh/types/ruleactionparam.h +++ b/libguh/types/ruleactionparam.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/state.cpp b/libguh/types/state.cpp index eb54d76d..2f0330d7 100644 --- a/libguh/types/state.cpp +++ b/libguh/types/state.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/state.h b/libguh/types/state.h index 5983709a..012d2273 100644 --- a/libguh/types/state.h +++ b/libguh/types/state.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/statedescriptor.cpp b/libguh/types/statedescriptor.cpp index 9fbca419..618d8771 100644 --- a/libguh/types/statedescriptor.cpp +++ b/libguh/types/statedescriptor.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/statedescriptor.h b/libguh/types/statedescriptor.h index 9c6c45fc..0b28de0b 100644 --- a/libguh/types/statedescriptor.h +++ b/libguh/types/statedescriptor.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/statetype.cpp b/libguh/types/statetype.cpp index c66656ef..307667fd 100644 --- a/libguh/types/statetype.cpp +++ b/libguh/types/statetype.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/statetype.h b/libguh/types/statetype.h index 37cb4e62..148c76dd 100644 --- a/libguh/types/statetype.h +++ b/libguh/types/statetype.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/vendor.cpp b/libguh/types/vendor.cpp index 0e84f210..f88ce957 100644 --- a/libguh/types/vendor.cpp +++ b/libguh/types/vendor.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/types/vendor.h b/libguh/types/vendor.h index 667cdd09..90e7f007 100644 --- a/libguh/types/vendor.h +++ b/libguh/types/vendor.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/libguh/typeutils.h b/libguh/typeutils.h index 67b9aae4..b965034e 100644 --- a/libguh/typeutils.h +++ b/libguh/typeutils.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/boblight/bobclient.cpp b/plugins/deviceplugins/boblight/bobclient.cpp index 177957af..19d2824d 100644 --- a/plugins/deviceplugins/boblight/bobclient.cpp +++ b/plugins/deviceplugins/boblight/bobclient.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/boblight/bobclient.h b/plugins/deviceplugins/boblight/bobclient.h index c0549791..be375dff 100644 --- a/plugins/deviceplugins/boblight/bobclient.h +++ b/plugins/deviceplugins/boblight/bobclient.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/boblight/devicepluginboblight.cpp b/plugins/deviceplugins/boblight/devicepluginboblight.cpp index 57e6ca1f..d333401b 100644 --- a/plugins/deviceplugins/boblight/devicepluginboblight.cpp +++ b/plugins/deviceplugins/boblight/devicepluginboblight.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/boblight/devicepluginboblight.h b/plugins/deviceplugins/boblight/devicepluginboblight.h index b66c8ce1..38af0bb1 100644 --- a/plugins/deviceplugins/boblight/devicepluginboblight.h +++ b/plugins/deviceplugins/boblight/devicepluginboblight.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/commandlauncher/deviceplugincommandlauncher.cpp b/plugins/deviceplugins/commandlauncher/deviceplugincommandlauncher.cpp index aa66df80..d92bdf8d 100644 --- a/plugins/deviceplugins/commandlauncher/deviceplugincommandlauncher.cpp +++ b/plugins/deviceplugins/commandlauncher/deviceplugincommandlauncher.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/commandlauncher/deviceplugincommandlauncher.h b/plugins/deviceplugins/commandlauncher/deviceplugincommandlauncher.h index 0c419e7c..e611c4e4 100644 --- a/plugins/deviceplugins/commandlauncher/deviceplugincommandlauncher.h +++ b/plugins/deviceplugins/commandlauncher/deviceplugincommandlauncher.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/conrad/devicepluginconrad.cpp b/plugins/deviceplugins/conrad/devicepluginconrad.cpp index 2221fc10..5e55d197 100644 --- a/plugins/deviceplugins/conrad/devicepluginconrad.cpp +++ b/plugins/deviceplugins/conrad/devicepluginconrad.cpp @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /*! \page conrad.html diff --git a/plugins/deviceplugins/conrad/devicepluginconrad.h b/plugins/deviceplugins/conrad/devicepluginconrad.h index 38e39ff5..1a2ee929 100644 --- a/plugins/deviceplugins/conrad/devicepluginconrad.h +++ b/plugins/deviceplugins/conrad/devicepluginconrad.h @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef DEVICEPLUGINCONRAD_H #define DEVICEPLUGINCONRAD_H diff --git a/plugins/deviceplugins/datetime/deviceplugindatetime.cpp b/plugins/deviceplugins/datetime/deviceplugindatetime.cpp index e99e2ac9..f40f0c24 100644 --- a/plugins/deviceplugins/datetime/deviceplugindatetime.cpp +++ b/plugins/deviceplugins/datetime/deviceplugindatetime.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/datetime/deviceplugindatetime.h b/plugins/deviceplugins/datetime/deviceplugindatetime.h index a942d0b3..1b03ca1d 100644 --- a/plugins/deviceplugins/datetime/deviceplugindatetime.h +++ b/plugins/deviceplugins/datetime/deviceplugindatetime.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/elro/devicepluginelro.cpp b/plugins/deviceplugins/elro/devicepluginelro.cpp index ba94e34c..9721fb07 100644 --- a/plugins/deviceplugins/elro/devicepluginelro.cpp +++ b/plugins/deviceplugins/elro/devicepluginelro.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/elro/devicepluginelro.h b/plugins/deviceplugins/elro/devicepluginelro.h index 588cfc3b..5f42d489 100644 --- a/plugins/deviceplugins/elro/devicepluginelro.h +++ b/plugins/deviceplugins/elro/devicepluginelro.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/deviceplugineq-3.cpp b/plugins/deviceplugins/eq-3/deviceplugineq-3.cpp index 947ad702..750f4dfe 100644 --- a/plugins/deviceplugins/eq-3/deviceplugineq-3.cpp +++ b/plugins/deviceplugins/eq-3/deviceplugineq-3.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/deviceplugineq-3.h b/plugins/deviceplugins/eq-3/deviceplugineq-3.h index 20adf451..a489630f 100644 --- a/plugins/deviceplugins/eq-3/deviceplugineq-3.h +++ b/plugins/deviceplugins/eq-3/deviceplugineq-3.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/maxcube.cpp b/plugins/deviceplugins/eq-3/maxcube.cpp index 6635c69e..738ec4d2 100644 --- a/plugins/deviceplugins/eq-3/maxcube.cpp +++ b/plugins/deviceplugins/eq-3/maxcube.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/maxcube.h b/plugins/deviceplugins/eq-3/maxcube.h index 2889b3e8..ed039c22 100644 --- a/plugins/deviceplugins/eq-3/maxcube.h +++ b/plugins/deviceplugins/eq-3/maxcube.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/maxcubediscovery.cpp b/plugins/deviceplugins/eq-3/maxcubediscovery.cpp index 3b6aafad..afc7127b 100644 --- a/plugins/deviceplugins/eq-3/maxcubediscovery.cpp +++ b/plugins/deviceplugins/eq-3/maxcubediscovery.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/maxcubediscovery.h b/plugins/deviceplugins/eq-3/maxcubediscovery.h index bf416e45..b7df5cdf 100644 --- a/plugins/deviceplugins/eq-3/maxcubediscovery.h +++ b/plugins/deviceplugins/eq-3/maxcubediscovery.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/maxdevice.cpp b/plugins/deviceplugins/eq-3/maxdevice.cpp index e9c4c6f7..830f5cfe 100644 --- a/plugins/deviceplugins/eq-3/maxdevice.cpp +++ b/plugins/deviceplugins/eq-3/maxdevice.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/maxdevice.h b/plugins/deviceplugins/eq-3/maxdevice.h index 557c96af..5d3da168 100644 --- a/plugins/deviceplugins/eq-3/maxdevice.h +++ b/plugins/deviceplugins/eq-3/maxdevice.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/radiatorthermostat.cpp b/plugins/deviceplugins/eq-3/radiatorthermostat.cpp index bb84a3ce..78819bec 100644 --- a/plugins/deviceplugins/eq-3/radiatorthermostat.cpp +++ b/plugins/deviceplugins/eq-3/radiatorthermostat.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/radiatorthermostat.h b/plugins/deviceplugins/eq-3/radiatorthermostat.h index 4b32de96..ad417e2e 100644 --- a/plugins/deviceplugins/eq-3/radiatorthermostat.h +++ b/plugins/deviceplugins/eq-3/radiatorthermostat.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/room.cpp b/plugins/deviceplugins/eq-3/room.cpp index 08254c59..0439a064 100644 --- a/plugins/deviceplugins/eq-3/room.cpp +++ b/plugins/deviceplugins/eq-3/room.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/room.h b/plugins/deviceplugins/eq-3/room.h index 52c55393..922e5d20 100644 --- a/plugins/deviceplugins/eq-3/room.h +++ b/plugins/deviceplugins/eq-3/room.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/wallthermostat.cpp b/plugins/deviceplugins/eq-3/wallthermostat.cpp index 4988e394..d8ad423d 100644 --- a/plugins/deviceplugins/eq-3/wallthermostat.cpp +++ b/plugins/deviceplugins/eq-3/wallthermostat.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/eq-3/wallthermostat.h b/plugins/deviceplugins/eq-3/wallthermostat.h index b608c3c0..c01a95f3 100644 --- a/plugins/deviceplugins/eq-3/wallthermostat.h +++ b/plugins/deviceplugins/eq-3/wallthermostat.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/genericelements/deviceplugingenericelements.cpp b/plugins/deviceplugins/genericelements/deviceplugingenericelements.cpp index ca9dcff7..ba1e1510 100644 --- a/plugins/deviceplugins/genericelements/deviceplugingenericelements.cpp +++ b/plugins/deviceplugins/genericelements/deviceplugingenericelements.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/genericelements/deviceplugingenericelements.h b/plugins/deviceplugins/genericelements/deviceplugingenericelements.h index e5da1c73..aae687f0 100644 --- a/plugins/deviceplugins/genericelements/deviceplugingenericelements.h +++ b/plugins/deviceplugins/genericelements/deviceplugingenericelements.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/intertechno/devicepluginintertechno.cpp b/plugins/deviceplugins/intertechno/devicepluginintertechno.cpp index f573140e..7e1b9af4 100644 --- a/plugins/deviceplugins/intertechno/devicepluginintertechno.cpp +++ b/plugins/deviceplugins/intertechno/devicepluginintertechno.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/intertechno/devicepluginintertechno.h b/plugins/deviceplugins/intertechno/devicepluginintertechno.h index 074775c4..918abc78 100644 --- a/plugins/deviceplugins/intertechno/devicepluginintertechno.h +++ b/plugins/deviceplugins/intertechno/devicepluginintertechno.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/leynew/devicepluginleynew.cpp b/plugins/deviceplugins/leynew/devicepluginleynew.cpp index 58d8674e..36818a52 100644 --- a/plugins/deviceplugins/leynew/devicepluginleynew.cpp +++ b/plugins/deviceplugins/leynew/devicepluginleynew.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/leynew/devicepluginleynew.h b/plugins/deviceplugins/leynew/devicepluginleynew.h index 66b8ece3..cc536e39 100644 --- a/plugins/deviceplugins/leynew/devicepluginleynew.h +++ b/plugins/deviceplugins/leynew/devicepluginleynew.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lgsmarttv/devicepluginlgsmarttv.cpp b/plugins/deviceplugins/lgsmarttv/devicepluginlgsmarttv.cpp index 9e78b4e0..9c029d3e 100644 --- a/plugins/deviceplugins/lgsmarttv/devicepluginlgsmarttv.cpp +++ b/plugins/deviceplugins/lgsmarttv/devicepluginlgsmarttv.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lgsmarttv/devicepluginlgsmarttv.h b/plugins/deviceplugins/lgsmarttv/devicepluginlgsmarttv.h index b327ef7c..8ba719f5 100644 --- a/plugins/deviceplugins/lgsmarttv/devicepluginlgsmarttv.h +++ b/plugins/deviceplugins/lgsmarttv/devicepluginlgsmarttv.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lgsmarttv/tvdevice.cpp b/plugins/deviceplugins/lgsmarttv/tvdevice.cpp index b02d85a7..7dcee0d6 100644 --- a/plugins/deviceplugins/lgsmarttv/tvdevice.cpp +++ b/plugins/deviceplugins/lgsmarttv/tvdevice.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lgsmarttv/tvdevice.h b/plugins/deviceplugins/lgsmarttv/tvdevice.h index 408a9f60..37ac79cd 100644 --- a/plugins/deviceplugins/lgsmarttv/tvdevice.h +++ b/plugins/deviceplugins/lgsmarttv/tvdevice.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lgsmarttv/tveventhandler.cpp b/plugins/deviceplugins/lgsmarttv/tveventhandler.cpp index 990b6ba2..56024983 100644 --- a/plugins/deviceplugins/lgsmarttv/tveventhandler.cpp +++ b/plugins/deviceplugins/lgsmarttv/tveventhandler.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lgsmarttv/tveventhandler.h b/plugins/deviceplugins/lgsmarttv/tveventhandler.h index 05ab953c..c9ef9614 100644 --- a/plugins/deviceplugins/lgsmarttv/tveventhandler.h +++ b/plugins/deviceplugins/lgsmarttv/tveventhandler.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lircd/devicepluginlircd.cpp b/plugins/deviceplugins/lircd/devicepluginlircd.cpp index 210a3ece..16767ed8 100644 --- a/plugins/deviceplugins/lircd/devicepluginlircd.cpp +++ b/plugins/deviceplugins/lircd/devicepluginlircd.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lircd/devicepluginlircd.h b/plugins/deviceplugins/lircd/devicepluginlircd.h index e183b561..02010d03 100644 --- a/plugins/deviceplugins/lircd/devicepluginlircd.h +++ b/plugins/deviceplugins/lircd/devicepluginlircd.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lircd/lircdclient.cpp b/plugins/deviceplugins/lircd/lircdclient.cpp index 3a795470..8c8226b5 100644 --- a/plugins/deviceplugins/lircd/lircdclient.cpp +++ b/plugins/deviceplugins/lircd/lircdclient.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/lircd/lircdclient.h b/plugins/deviceplugins/lircd/lircdclient.h index 7b8e4a34..cb32cb73 100644 --- a/plugins/deviceplugins/lircd/lircdclient.h +++ b/plugins/deviceplugins/lircd/lircdclient.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/mailnotification/devicepluginmailnotification.cpp b/plugins/deviceplugins/mailnotification/devicepluginmailnotification.cpp index f3acd0e7..8b48f25c 100644 --- a/plugins/deviceplugins/mailnotification/devicepluginmailnotification.cpp +++ b/plugins/deviceplugins/mailnotification/devicepluginmailnotification.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/mailnotification/devicepluginmailnotification.h b/plugins/deviceplugins/mailnotification/devicepluginmailnotification.h index a328437f..9ec31009 100644 --- a/plugins/deviceplugins/mailnotification/devicepluginmailnotification.h +++ b/plugins/deviceplugins/mailnotification/devicepluginmailnotification.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/mailnotification/smtpclient.cpp b/plugins/deviceplugins/mailnotification/smtpclient.cpp index 8a4a1b84..8b79a32a 100644 --- a/plugins/deviceplugins/mailnotification/smtpclient.cpp +++ b/plugins/deviceplugins/mailnotification/smtpclient.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/mailnotification/smtpclient.h b/plugins/deviceplugins/mailnotification/smtpclient.h index f8611196..96e0fd3d 100644 --- a/plugins/deviceplugins/mailnotification/smtpclient.h +++ b/plugins/deviceplugins/mailnotification/smtpclient.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/mock/devicepluginmock.cpp b/plugins/deviceplugins/mock/devicepluginmock.cpp index 9df0d83a..4589e356 100644 --- a/plugins/deviceplugins/mock/devicepluginmock.cpp +++ b/plugins/deviceplugins/mock/devicepluginmock.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/mock/devicepluginmock.h b/plugins/deviceplugins/mock/devicepluginmock.h index c328a5cc..1ec4dfd4 100644 --- a/plugins/deviceplugins/mock/devicepluginmock.h +++ b/plugins/deviceplugins/mock/devicepluginmock.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/mock/httpdaemon.cpp b/plugins/deviceplugins/mock/httpdaemon.cpp index c1931e59..9aa5396d 100644 --- a/plugins/deviceplugins/mock/httpdaemon.cpp +++ b/plugins/deviceplugins/mock/httpdaemon.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/mock/httpdaemon.h b/plugins/deviceplugins/mock/httpdaemon.h index 6f633167..28afe226 100644 --- a/plugins/deviceplugins/mock/httpdaemon.h +++ b/plugins/deviceplugins/mock/httpdaemon.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/openweathermap/devicepluginopenweathermap.cpp b/plugins/deviceplugins/openweathermap/devicepluginopenweathermap.cpp index 69f9d834..a5dc9e55 100644 --- a/plugins/deviceplugins/openweathermap/devicepluginopenweathermap.cpp +++ b/plugins/deviceplugins/openweathermap/devicepluginopenweathermap.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/openweathermap/devicepluginopenweathermap.h b/plugins/deviceplugins/openweathermap/devicepluginopenweathermap.h index bdb38a6a..65ebc1b2 100644 --- a/plugins/deviceplugins/openweathermap/devicepluginopenweathermap.h +++ b/plugins/deviceplugins/openweathermap/devicepluginopenweathermap.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/philipshue/devicepluginphilipshue.cpp b/plugins/deviceplugins/philipshue/devicepluginphilipshue.cpp index e643f807..109b344c 100644 --- a/plugins/deviceplugins/philipshue/devicepluginphilipshue.cpp +++ b/plugins/deviceplugins/philipshue/devicepluginphilipshue.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/philipshue/devicepluginphilipshue.h b/plugins/deviceplugins/philipshue/devicepluginphilipshue.h index 50f1e78c..b06ad3d4 100644 --- a/plugins/deviceplugins/philipshue/devicepluginphilipshue.h +++ b/plugins/deviceplugins/philipshue/devicepluginphilipshue.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/philipshue/huebridgeconnection.cpp b/plugins/deviceplugins/philipshue/huebridgeconnection.cpp index 8a05c61c..3298233b 100644 --- a/plugins/deviceplugins/philipshue/huebridgeconnection.cpp +++ b/plugins/deviceplugins/philipshue/huebridgeconnection.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2013 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/philipshue/huebridgeconnection.h b/plugins/deviceplugins/philipshue/huebridgeconnection.h index ef1c4ca3..4d58a967 100644 --- a/plugins/deviceplugins/philipshue/huebridgeconnection.h +++ b/plugins/deviceplugins/philipshue/huebridgeconnection.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/philipshue/light.cpp b/plugins/deviceplugins/philipshue/light.cpp index 1cc9e400..d2ac711c 100644 --- a/plugins/deviceplugins/philipshue/light.cpp +++ b/plugins/deviceplugins/philipshue/light.cpp @@ -1,21 +1,23 @@ -/* - * Copyright 2013 Michael Zanetti - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; version 2. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * Authors: - * Michael Zanetti - */ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2013 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #include "light.h" #include "huebridgeconnection.h" diff --git a/plugins/deviceplugins/philipshue/light.h b/plugins/deviceplugins/philipshue/light.h index fa7b18a0..28de33b0 100644 --- a/plugins/deviceplugins/philipshue/light.h +++ b/plugins/deviceplugins/philipshue/light.h @@ -1,21 +1,22 @@ -/* - * Copyright 2013 Michael Zanetti - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; version 2. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * Authors: - * Michael Zanetti - */ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2013 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef LIGHT_H #define LIGHT_H diff --git a/plugins/deviceplugins/tune/deviceplugintune.cpp b/plugins/deviceplugins/tune/deviceplugintune.cpp index bcfd8e10..31ddb4b6 100644 --- a/plugins/deviceplugins/tune/deviceplugintune.cpp +++ b/plugins/deviceplugins/tune/deviceplugintune.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/tune/deviceplugintune.h b/plugins/deviceplugins/tune/deviceplugintune.h index c0c4a6a5..f5193509 100644 --- a/plugins/deviceplugins/tune/deviceplugintune.h +++ b/plugins/deviceplugins/tune/deviceplugintune.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/tune/jsonrpcserver.cpp b/plugins/deviceplugins/tune/jsonrpcserver.cpp index 3bee46de..28b10289 100644 --- a/plugins/deviceplugins/tune/jsonrpcserver.cpp +++ b/plugins/deviceplugins/tune/jsonrpcserver.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/tune/jsonrpcserver.h b/plugins/deviceplugins/tune/jsonrpcserver.h index 54147508..7bdee224 100644 --- a/plugins/deviceplugins/tune/jsonrpcserver.h +++ b/plugins/deviceplugins/tune/jsonrpcserver.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/tune/tunemanager.cpp b/plugins/deviceplugins/tune/tunemanager.cpp index 5869cd7d..f951e209 100644 --- a/plugins/deviceplugins/tune/tunemanager.cpp +++ b/plugins/deviceplugins/tune/tunemanager.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/tune/tunemanager.h b/plugins/deviceplugins/tune/tunemanager.h index f462984c..09643619 100644 --- a/plugins/deviceplugins/tune/tunemanager.h +++ b/plugins/deviceplugins/tune/tunemanager.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/unitec/devicepluginunitec.cpp b/plugins/deviceplugins/unitec/devicepluginunitec.cpp index b16d7f27..c2db340f 100644 --- a/plugins/deviceplugins/unitec/devicepluginunitec.cpp +++ b/plugins/deviceplugins/unitec/devicepluginunitec.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/unitec/devicepluginunitec.h b/plugins/deviceplugins/unitec/devicepluginunitec.h index a1437f65..a5c7dcf0 100644 --- a/plugins/deviceplugins/unitec/devicepluginunitec.h +++ b/plugins/deviceplugins/unitec/devicepluginunitec.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/wakeonlan/devicepluginwakeonlan.cpp b/plugins/deviceplugins/wakeonlan/devicepluginwakeonlan.cpp index 453c5cca..571da6f2 100644 --- a/plugins/deviceplugins/wakeonlan/devicepluginwakeonlan.cpp +++ b/plugins/deviceplugins/wakeonlan/devicepluginwakeonlan.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * @@ -15,6 +17,7 @@ * along with guh. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + /*! \page wakeonlan.html \title Wake On Lan diff --git a/plugins/deviceplugins/wakeonlan/devicepluginwakeonlan.h b/plugins/deviceplugins/wakeonlan/devicepluginwakeonlan.h index c1ba90eb..edb2d81c 100644 --- a/plugins/deviceplugins/wakeonlan/devicepluginwakeonlan.h +++ b/plugins/deviceplugins/wakeonlan/devicepluginwakeonlan.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/weatherground/devicepluginweatherground.cpp b/plugins/deviceplugins/weatherground/devicepluginweatherground.cpp deleted file mode 100644 index 655fb942..00000000 --- a/plugins/deviceplugins/weatherground/devicepluginweatherground.cpp +++ /dev/null @@ -1,157 +0,0 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ - -#include "devicepluginweatherground.h" - -#include "plugin/device.h" -#include "devicemanager.h" - -#include -#include -#include -#include - - -VendorId weathergroundVendorId = VendorId("68f84197-b158-4d24-9d7b-709cfff843c1"); - -DevicePluginWeatherground::DevicePluginWeatherground() -{ - m_parser = new WeathergroundParser(this); -} - -QList DevicePluginWeatherground::supportedVendors() const -{ - QList ret; - Vendor weatherground(weathergroundVendorId, "weatherground"); - ret.append(weatherground); - return ret; -} - -QList DevicePluginWeatherground::supportedDevices() const -{ - QList ret; - - DeviceClass deviceClassWeatherground(pluginId(), weathergroundVendorId, DeviceClassId("af2e15f0-650e-4452-b379-fa76a2dc46c6")); - deviceClassWeatherground.setName("Weather from Weatherground"); - - QVariantList weatherParams; - QVariantMap cityParam; - cityParam.insert("name", "citycode"); - cityParam.insert("type", "string"); - weatherParams.append(cityParam); - - QVariantMap autoDetectParam; - autoDetectParam.insert("name", "autodetect"); - autoDetectParam.insert("type", "bool"); - weatherParams.append(cityParam); - - - QList weatherActions; - ActionType updateWeather(ActionTypeId("a1dc271a-a993-4d9b-adfc-4fbb58cbecb9")); - updateWeather.setName("refresh"); - weatherActions.append(updateWeather); - - - QList weatherStates; - StateType updateTimeState(StateTypeId("09b091f5-d830-4739-b8f0-df96101cabc6")); - updateTimeState.setName("last update"); - updateTimeState.setType(QVariant::DateTime); - updateTimeState.setDefaultValue(QDateTime(QDate(1999,1,1),QTime(0,0,0))); - weatherStates.append(updateTimeState); - - StateType temperatureState(StateTypeId("97ffaa0b-4302-43a5-9aa5-00a5efe321c0")); - temperatureState.setName("temperature [°C]"); - temperatureState.setType(QVariant::Double); - temperatureState.setDefaultValue(-999.9); - weatherStates.append(temperatureState); - - StateType humidityState(StateTypeId("2e925181-69b7-4201-9160-11ca4afecc41")); - humidityState.setName("humidity [%]"); - humidityState.setType(QVariant::Int); - humidityState.setDefaultValue(0); - weatherStates.append(humidityState); - - StateType sunsetState(StateTypeId("a8e6601e-c9de-43c8-9a0e-9688cb66ae6d")); - sunsetState.setName("sunset"); - sunsetState.setType(QVariant::Time); - sunsetState.setDefaultValue(QTime(0,0,0)); - weatherStates.append(sunsetState); - - StateType sunriseState(StateTypeId("8e81d15a-3231-415b-8fba-5f6a02259cc1")); - sunriseState.setName("sunrise"); - sunriseState.setType(QVariant::Time); - sunriseState.setDefaultValue(QTime(0,0,0)); - weatherStates.append(sunriseState); - - StateType windSpeedState(StateTypeId("546880b9-c4c8-4dc1-b589-ac9c76240009")); - windSpeedState.setName("wind speed [km/h]"); - windSpeedState.setType(QVariant::Double); - windSpeedState.setDefaultValue(0); - weatherStates.append(windSpeedState); - - StateType windDirectionState(StateTypeId("e05e6015-4ed8-4fb1-a18e-1a09be272556")); - windDirectionState.setName("wind direction"); - windDirectionState.setType(QVariant::String); - windDirectionState.setDefaultValue("-"); - weatherStates.append(windDirectionState); - - StateType currentlyState(StateTypeId("6032cb3b-fe52-4006-aa8b-d5c1e6d500e3")); - currentlyState.setName("current weather"); - currentlyState.setType(QVariant::String); - currentlyState.setDefaultValue("-"); - weatherStates.append(currentlyState); - - StateType ageOfMoonState(StateTypeId("e49fe057-98ac-4a38-9aa3-8e8ff260c162")); - ageOfMoonState.setName("age of moon [days]"); - ageOfMoonState.setType(QVariant::Int); - ageOfMoonState.setDefaultValue(-1); - weatherStates.append(ageOfMoonState); - - StateType moonIlluminatedState(StateTypeId("d8688eb5-5d4f-4c85-9338-d86c7c2069a8")); - moonIlluminatedState.setName("moon illuminated [%]"); - moonIlluminatedState.setType(QVariant::Int); - moonIlluminatedState.setDefaultValue(-1); - weatherStates.append(moonIlluminatedState); - - deviceClassWeatherground.setActions(weatherActions); - deviceClassWeatherground.setStates(weatherStates); - - ret.append(deviceClassWeatherground); - return ret; -} - -DeviceManager::HardwareResources DevicePluginWeatherground::requiredHardware() const -{ - return DeviceManager::HardwareResourceTimer; -} - -QString DevicePluginWeatherground::pluginName() const -{ - return "Weatherground"; -} - -QUuid DevicePluginWeatherground::pluginId() const -{ - return QUuid("16ed6d4d-2ab4-4fed-bf54-c95107b9982a"); -} - -void DevicePluginWeatherground::guhTimer() -{ - m_parser->updateData(); -} - diff --git a/plugins/deviceplugins/weatherground/devicepluginweatherground.h b/plugins/deviceplugins/weatherground/devicepluginweatherground.h deleted file mode 100644 index 1e0c9fdf..00000000 --- a/plugins/deviceplugins/weatherground/devicepluginweatherground.h +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ - -#ifndef DEVICEPLUGINWEATHERGROUND_H -#define DEVICEPLUGINWEATHERGROUND_H - -#include "plugin/deviceplugin.h" -#include "weathergroundparser.h" - - -class DevicePluginWeatherground : public DevicePlugin -{ - Q_OBJECT - - Q_PLUGIN_METADATA(IID "org.guh.DevicePlugin" FILE "devicepluginweatherground.json") - Q_INTERFACES(DevicePlugin) - -public: - explicit DevicePluginWeatherground(); - - WeathergroundParser *m_parser; - - QList supportedVendors() const override; - QList supportedDevices() const override; - DeviceManager::HardwareResources requiredHardware() const override; - - QString pluginName() const override; - QUuid pluginId() const override; - - void guhTimer() override; - -private slots: - -public slots: - - -}; - -#endif // DEVICEPLUGINWEATHERGROUND_H diff --git a/plugins/deviceplugins/weatherground/weathergroundparser.cpp b/plugins/deviceplugins/weatherground/weathergroundparser.cpp deleted file mode 100644 index b431486f..00000000 --- a/plugins/deviceplugins/weatherground/weathergroundparser.cpp +++ /dev/null @@ -1,126 +0,0 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - -#include "weathergroundparser.h" - -WeathergroundParser::WeathergroundParser(QObject *parent) : - QObject(parent) -{ - m_manager = new QNetworkAccessManager(this); - - m_cityCode = "/q/zmw:00000.2.11034"; - m_language = "EN"; - m_apikey = "779a480dea5163c6"; - - connect(m_manager,SIGNAL(finished(QNetworkReply*)),this,SLOT(replyFinished(QNetworkReply*))); - connect(this,SIGNAL(dataReady(QByteArray)),this,SLOT(processResponse(QByteArray))); - connect(this,SIGNAL(locationDetected(QString,QString)),this,SLOT(updateData(QString,QString))); -} - -void WeathergroundParser::replyFinished(QNetworkReply *reply) -{ - emit dataReady(reply->readAll()); -} - -void WeathergroundParser::processResponse(const QByteArray &data) -{ - QJsonParseError error; - QJsonDocument jsonDoc = QJsonDocument::fromJson(data, &error); - - qDebug() << jsonDoc.toJson(); - - if(error.error != QJsonParseError::NoError) { - qWarning() << "failed to parse data" << data << ":" << error.errorString(); - } - - QVariantMap dataMap = jsonDoc.toVariant().toMap(); - - //===================================================================================== - // Pars answere - - //---------------------------------------------------- - if(dataMap.contains("location")){ - QVariantMap locationMap = dataMap.value("location").toMap(); - m_cityName = locationMap.value("city").toString(); - m_cityCode = locationMap.value("l").toString(); - m_country = locationMap.value("country_iso3166").toString(); - - emit locationDetected(m_cityCode,m_language); - } - - - //---------------------------------------------------- - if(dataMap.contains("RESULTS")){ - QVariantList list = dataMap.value("RESULTS").toList(); -// foreach (QVariant key, list) { -// qDebug() << "----------------------------------------"; -// QVariantMap elemant = key.toMap(); -// if(elemant.contains("name")){ -// qDebug() << elemant.value("name").toString(); -// qDebug() << elemant.value("l").toString(); -// } -// } - emit querryListReady(list); - } - //---------------------------------------------------- - if(dataMap.contains("sun_phase")){ - int sunRiseH = dataMap.value("sun_phase").toMap().value("sunrise").toMap().value("hour").toInt(); - int sunRiseM = dataMap.value("sun_phase").toMap().value("sunrise").toMap().value("minute").toInt(); - - int sunSetH = dataMap.value("sun_phase").toMap().value("sunset").toMap().value("hour").toInt(); - int sunSetM = dataMap.value("sun_phase").toMap().value("sunset").toMap().value("minute").toInt(); - - m_sunrise = QTime(sunRiseH,sunRiseM); - m_sunset = QTime(sunSetH,sunSetM); - - emit sunDataReady(m_sunset, m_sunrise); - } - //---------------------------------------------------- - if(dataMap.contains("current_observation")){ - m_weather = dataMap.value("current_observation").toMap().value("weather").toString(); - m_temperature = dataMap.value("current_observation").toMap().value("temp_c").toDouble(); - m_temperatureFeeling = dataMap.value("current_observation").toMap().value("feelslike_c").toDouble(); - m_humidity = dataMap.value("current_observation").toMap().value("relative_humidity").toString(); - m_windSpeed = dataMap.value("current_observation").toMap().value("wind_kph").toDouble(); - m_windDirection = dataMap.value("current_observation").toMap().value("wind_dir").toString(); - } -} - -void WeathergroundParser::updateData() -{ -// qDebug() << "============================================="; -// qDebug() << QTime::currentTime().toString(); - - QUrl url = QUrl("http://api.wunderground.com/api/" + m_apikey +"/geolookup/lang:" + m_language + "/q/autoip.json"); - m_manager->get(QNetworkRequest(url)); -} - -void WeathergroundParser::updateData(const QString &cityCode, const QString &language) -{ - QUrl url = "http://api.wunderground.com/api/" + m_apikey +"/conditions/lang:" + language + cityCode + ".json"; - m_manager->get(QNetworkRequest(url)); - - url = "http://api.wunderground.com/api/" + m_apikey +"/astronomy/lang:" + language + cityCode + ".json"; - m_manager->get(QNetworkRequest(url)); -} - -void WeathergroundParser::searchCity(const QString &searchString) -{ - QUrl url = QUrl("http://autocomplete.wunderground.com/aq?query=" + searchString); - m_manager->get(QNetworkRequest(url)); -} diff --git a/plugins/deviceplugins/weatherground/weathergroundparser.h b/plugins/deviceplugins/weatherground/weathergroundparser.h deleted file mode 100644 index 13a97987..00000000 --- a/plugins/deviceplugins/weatherground/weathergroundparser.h +++ /dev/null @@ -1,85 +0,0 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - -#ifndef WEATHERGROUNDPARSER_H -#define WEATHERGROUNDPARSER_H - -#include -#include -#include -#include -#include -#include - -class WeathergroundParser : public QObject -{ - Q_OBJECT -public: - explicit WeathergroundParser(QObject *parent = 0); - -private: - QNetworkAccessManager *m_manager; - - QString m_cityCode; - QString m_cityName; - QString m_country; - QString m_language; - QString m_apikey; - - QTime m_currentTime; - - //current weather - QString m_weather; - QString m_windDirection; - QString m_humidity; - double m_temperature; - double m_temperatureFeeling; - double m_windSpeed; - double m_pressure; - - // astronomy - QTime m_sunset; - QTime m_sunrise; - -signals: - void dataReady(const QByteArray &data); - void locationDetected(const QString &cityCode, const QString &language); - void querryListReady(const QVariantList &querryList); - - void temperatureReady(const double &temperature); - void humidityReady(const double &humidity); - void windSpeedReady(const double &windSpeed); - void windDirectionReady(const QString &windDirection); - void currentWeatherReady(const QString ¤tWeather); - void moonAgeReady(const int &age); - void moonIlluminationReady(const int &age); - void sunDataReady(const QTime &sunSet, const QTime &sunRise); - -private slots: - void replyFinished(QNetworkReply *reply); - void processResponse(const QByteArray &data); - -public slots: - void updateData(); - void updateData(const QString &cityCode, const QString &language); - void searchCity(const QString &searchString); - - -}; - -#endif // WEATHERGROUNDPARSER_H diff --git a/plugins/deviceplugins/wemo/devicepluginwemo.cpp b/plugins/deviceplugins/wemo/devicepluginwemo.cpp index be4163d8..7057942c 100644 --- a/plugins/deviceplugins/wemo/devicepluginwemo.cpp +++ b/plugins/deviceplugins/wemo/devicepluginwemo.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/wemo/devicepluginwemo.h b/plugins/deviceplugins/wemo/devicepluginwemo.h index f659f44b..fe3a1211 100644 --- a/plugins/deviceplugins/wemo/devicepluginwemo.h +++ b/plugins/deviceplugins/wemo/devicepluginwemo.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/wemo/wemoswitch.cpp b/plugins/deviceplugins/wemo/wemoswitch.cpp deleted file mode 100644 index 0a0cc217..00000000 --- a/plugins/deviceplugins/wemo/wemoswitch.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - -#include "wemoswitch.h" - -WemoSwitch::WemoSwitch(QObject *parent, UpnpDeviceDescriptor upnpDeviceDescriptor): - UpnpDevice(parent, upnpDeviceDescriptor), - m_powerState(false), - m_reachable(false) -{ -} - -void WemoSwitch::setPowerState(const bool &powerState) -{ - m_powerState = powerState; -} - -bool WemoSwitch::powerState() const -{ - return m_powerState; -} - -void WemoSwitch::setReachable(const bool &reachable) -{ - m_reachable = reachable; -} - -bool WemoSwitch::reachable() const -{ - return m_reachable; -} diff --git a/plugins/deviceplugins/wemo/wemoswitch.h b/plugins/deviceplugins/wemo/wemoswitch.h deleted file mode 100644 index 15fce2ab..00000000 --- a/plugins/deviceplugins/wemo/wemoswitch.h +++ /dev/null @@ -1,45 +0,0 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - -#ifndef WEMOSWITCH_H -#define WEMOSWITCH_H - -#include - -#include "plugin/deviceplugin.h" -#include "network/upnpdiscovery/upnpdevice.h" - -class WemoSwitch : public UpnpDevice -{ - Q_OBJECT -public: - explicit WemoSwitch(QObject *parent = 0, UpnpDeviceDescriptor upnpDeviceDescriptor = UpnpDeviceDescriptor()); - - void setPowerState(const bool &powerState); - bool powerState() const; - - void setReachable(const bool &reachable); - bool reachable() const; - -private: - bool m_powerState; - bool m_reachable; - -}; - -#endif // WEMOSWITCH_H diff --git a/plugins/deviceplugins/wifidetector/devicepluginwifidetector.cpp b/plugins/deviceplugins/wifidetector/devicepluginwifidetector.cpp index 542ce5e3..730b3080 100644 --- a/plugins/deviceplugins/wifidetector/devicepluginwifidetector.cpp +++ b/plugins/deviceplugins/wifidetector/devicepluginwifidetector.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/plugins/deviceplugins/wifidetector/devicepluginwifidetector.h b/plugins/deviceplugins/wifidetector/devicepluginwifidetector.h index c4899118..7b8a92a6 100644 --- a/plugins/deviceplugins/wifidetector/devicepluginwifidetector.h +++ b/plugins/deviceplugins/wifidetector/devicepluginwifidetector.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/guhcore.cpp b/server/guhcore.cpp index 32e47511..ceed7d53 100644 --- a/server/guhcore.cpp +++ b/server/guhcore.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/guhcore.h b/server/guhcore.h index c0704fe2..a0400cbc 100644 --- a/server/guhcore.h +++ b/server/guhcore.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/guhservice.cpp b/server/guhservice.cpp index 13540ae6..66c4cb73 100644 --- a/server/guhservice.cpp +++ b/server/guhservice.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/server/guhservice.h b/server/guhservice.h index 6ef1ec59..dee27132 100644 --- a/server/guhservice.h +++ b/server/guhservice.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/actionhandler.cpp b/server/jsonrpc/actionhandler.cpp index 6038a995..a5226af5 100644 --- a/server/jsonrpc/actionhandler.cpp +++ b/server/jsonrpc/actionhandler.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/actionhandler.h b/server/jsonrpc/actionhandler.h index f6b64366..11906306 100644 --- a/server/jsonrpc/actionhandler.h +++ b/server/jsonrpc/actionhandler.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/devicehandler.cpp b/server/jsonrpc/devicehandler.cpp index b323d48f..6c82a5b6 100644 --- a/server/jsonrpc/devicehandler.cpp +++ b/server/jsonrpc/devicehandler.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/devicehandler.h b/server/jsonrpc/devicehandler.h index 84035e24..11253325 100644 --- a/server/jsonrpc/devicehandler.h +++ b/server/jsonrpc/devicehandler.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/eventhandler.cpp b/server/jsonrpc/eventhandler.cpp index 840f719a..fd140753 100644 --- a/server/jsonrpc/eventhandler.cpp +++ b/server/jsonrpc/eventhandler.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/eventhandler.h b/server/jsonrpc/eventhandler.h index 32b76589..a62e35ec 100644 --- a/server/jsonrpc/eventhandler.h +++ b/server/jsonrpc/eventhandler.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/jsonhandler.cpp b/server/jsonrpc/jsonhandler.cpp index 5f54174a..c08535af 100644 --- a/server/jsonrpc/jsonhandler.cpp +++ b/server/jsonrpc/jsonhandler.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/jsonhandler.h b/server/jsonrpc/jsonhandler.h index 75383f2c..69acede8 100644 --- a/server/jsonrpc/jsonhandler.h +++ b/server/jsonrpc/jsonhandler.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/jsonrpcserver.cpp b/server/jsonrpc/jsonrpcserver.cpp index 7f6f6120..b734abdf 100644 --- a/server/jsonrpc/jsonrpcserver.cpp +++ b/server/jsonrpc/jsonrpcserver.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/jsonrpcserver.h b/server/jsonrpc/jsonrpcserver.h index 1254389e..cd6f46f8 100644 --- a/server/jsonrpc/jsonrpcserver.h +++ b/server/jsonrpc/jsonrpcserver.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/jsontypes.cpp b/server/jsonrpc/jsontypes.cpp index f07ddd12..7d918585 100644 --- a/server/jsonrpc/jsontypes.cpp +++ b/server/jsonrpc/jsontypes.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/jsontypes.h b/server/jsonrpc/jsontypes.h index 9922a93c..b65dab5a 100644 --- a/server/jsonrpc/jsontypes.h +++ b/server/jsonrpc/jsontypes.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/logginghandler.cpp b/server/jsonrpc/logginghandler.cpp index 6bb42355..a622f169 100644 --- a/server/jsonrpc/logginghandler.cpp +++ b/server/jsonrpc/logginghandler.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/logginghandler.h b/server/jsonrpc/logginghandler.h index 0a9d2663..7beff9a5 100644 --- a/server/jsonrpc/logginghandler.h +++ b/server/jsonrpc/logginghandler.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/ruleshandler.cpp b/server/jsonrpc/ruleshandler.cpp index 9845b8a9..98e55787 100644 --- a/server/jsonrpc/ruleshandler.cpp +++ b/server/jsonrpc/ruleshandler.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/ruleshandler.h b/server/jsonrpc/ruleshandler.h index b4b02dd4..97e32725 100644 --- a/server/jsonrpc/ruleshandler.h +++ b/server/jsonrpc/ruleshandler.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/statehandler.cpp b/server/jsonrpc/statehandler.cpp index 5242fa91..8711ae32 100644 --- a/server/jsonrpc/statehandler.cpp +++ b/server/jsonrpc/statehandler.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/jsonrpc/statehandler.h b/server/jsonrpc/statehandler.h index 1185f0a8..0f975a5d 100644 --- a/server/jsonrpc/statehandler.h +++ b/server/jsonrpc/statehandler.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/logging/logengine.cpp b/server/logging/logengine.cpp index c3b7727a..96af09c9 100644 --- a/server/logging/logengine.cpp +++ b/server/logging/logengine.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/logging/logengine.h b/server/logging/logengine.h index 2b23cbfc..e40fa1c4 100644 --- a/server/logging/logengine.h +++ b/server/logging/logengine.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/logging/logentry.cpp b/server/logging/logentry.cpp index cd878c7e..d22b433c 100644 --- a/server/logging/logentry.cpp +++ b/server/logging/logentry.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/logging/logentry.h b/server/logging/logentry.h index 35b469ce..51551fd6 100644 --- a/server/logging/logentry.h +++ b/server/logging/logentry.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/logging/logfilter.h b/server/logging/logfilter.h index 2a3566dd..89978009 100644 --- a/server/logging/logfilter.h +++ b/server/logging/logfilter.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/logging/logging.h b/server/logging/logging.h index 9827257d..2db38c85 100644 --- a/server/logging/logging.h +++ b/server/logging/logging.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/main.cpp b/server/main.cpp index a092fbc1..24625eef 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/rule.cpp b/server/rule.cpp index 8ebe10e0..ecf2a95b 100644 --- a/server/rule.cpp +++ b/server/rule.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/rule.h b/server/rule.h index 06e027dc..b49cd3d2 100644 --- a/server/rule.h +++ b/server/rule.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/ruleengine.cpp b/server/ruleengine.cpp index 7401f2f7..a2c455de 100644 --- a/server/ruleengine.cpp +++ b/server/ruleengine.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/ruleengine.h b/server/ruleengine.h index f1eb1a45..4923ead2 100644 --- a/server/ruleengine.h +++ b/server/ruleengine.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/stateevaluator.cpp b/server/stateevaluator.cpp index 0a43a12f..6bb4d938 100644 --- a/server/stateevaluator.cpp +++ b/server/stateevaluator.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/stateevaluator.h b/server/stateevaluator.h index 4105e2a0..e9308719 100644 --- a/server/stateevaluator.h +++ b/server/stateevaluator.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/tcpserver.cpp b/server/tcpserver.cpp index db09981a..5f504a3e 100644 --- a/server/tcpserver.cpp +++ b/server/tcpserver.cpp @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/server/tcpserver.h b/server/tcpserver.h index ee59479a..98b5d25d 100644 --- a/server/tcpserver.h +++ b/server/tcpserver.h @@ -1,4 +1,7 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/tests/auto/actions/testactions.cpp b/tests/auto/actions/testactions.cpp index 3c2e54a7..f88885af 100644 --- a/tests/auto/actions/testactions.cpp +++ b/tests/auto/actions/testactions.cpp @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "guhtestbase.h" #include "guhcore.h" diff --git a/tests/auto/devices/testdevices.cpp b/tests/auto/devices/testdevices.cpp index d1ca5d21..491b9c19 100644 --- a/tests/auto/devices/testdevices.cpp +++ b/tests/auto/devices/testdevices.cpp @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "guhtestbase.h" #include "guhcore.h" diff --git a/tests/auto/events/testevents.cpp b/tests/auto/events/testevents.cpp index fc45d06e..fec7411d 100644 --- a/tests/auto/events/testevents.cpp +++ b/tests/auto/events/testevents.cpp @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "guhtestbase.h" #include "guhcore.h" diff --git a/tests/auto/guhtestbase.cpp b/tests/auto/guhtestbase.cpp index 5c1dbd00..f96f0933 100644 --- a/tests/auto/guhtestbase.cpp +++ b/tests/auto/guhtestbase.cpp @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "guhtestbase.h" #include "mocktcpserver.h" diff --git a/tests/auto/guhtestbase.h b/tests/auto/guhtestbase.h index d6fbded7..46efa584 100644 --- a/tests/auto/guhtestbase.h +++ b/tests/auto/guhtestbase.h @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef GUHTESTBASE_H #define GUHTESTBASE_H diff --git a/tests/auto/jsonrpc/testjsonrpc.cpp b/tests/auto/jsonrpc/testjsonrpc.cpp index d68c0a99..a199eb07 100644 --- a/tests/auto/jsonrpc/testjsonrpc.cpp +++ b/tests/auto/jsonrpc/testjsonrpc.cpp @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "guhtestbase.h" #include "guhcore.h" diff --git a/tests/auto/mocktcpserver.cpp b/tests/auto/mocktcpserver.cpp index 46817f67..ccb95aec 100644 --- a/tests/auto/mocktcpserver.cpp +++ b/tests/auto/mocktcpserver.cpp @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/tests/auto/mocktcpserver.h b/tests/auto/mocktcpserver.h index c159b3b3..432093e8 100644 --- a/tests/auto/mocktcpserver.h +++ b/tests/auto/mocktcpserver.h @@ -1,4 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * * * * This file is part of guh. * * * diff --git a/tests/auto/plugins/testplugins.cpp b/tests/auto/plugins/testplugins.cpp index 8c025434..123ef53a 100644 --- a/tests/auto/plugins/testplugins.cpp +++ b/tests/auto/plugins/testplugins.cpp @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "guhtestbase.h" #include "guhcore.h" diff --git a/tests/auto/rules/testrules.cpp b/tests/auto/rules/testrules.cpp index e12e979a..bf0072ef 100644 --- a/tests/auto/rules/testrules.cpp +++ b/tests/auto/rules/testrules.cpp @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "guhtestbase.h" #include "guhcore.h" diff --git a/tests/auto/states/teststates.cpp b/tests/auto/states/teststates.cpp index d0e7ff1e..8fb310e9 100644 --- a/tests/auto/states/teststates.cpp +++ b/tests/auto/states/teststates.cpp @@ -1,20 +1,23 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 Simon Stuerz * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "guhtestbase.h" #include "guhcore.h" diff --git a/tests/auto/versioning/testversioning.cpp b/tests/auto/versioning/testversioning.cpp index 5b87ba87..51d93865 100644 --- a/tests/auto/versioning/testversioning.cpp +++ b/tests/auto/versioning/testversioning.cpp @@ -1,20 +1,22 @@ -/**************************************************************************** - * * - * This file is part of guh. * - * * - * Guh is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, version 2 of the License. * - * * - * Guh is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with guh. If not, see . * - * * - ***************************************************************************/ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2014 Michael Zanetti * + * * + * This file is part of guh. * + * * + * Guh is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, version 2 of the License. * + * * + * Guh is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "guhtestbase.h" #include "guhcore.h"