From a3b4d231056a52565af500563f9b362adc6abd22 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Fri, 26 Apr 2019 12:18:18 +0200 Subject: [PATCH 1/3] Jenkins release build --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 83ae90b..f2b53be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,7 +23,7 @@ nymea-plugins (0.12.1) xenial; urgency=medium * Rename vendor "guh GmbH" to "nymea" * Don't use dpkg specific tools to set install path - -- Jenkins Thu, 02 May 2019 11:56:17 +0200 + -- Jenkins Fri, 26 Apr 2019 12:18:18 +0200 nymea-plugins (0.12.0) xenial; urgency=medium [ Michael Zanetti ] From 5f63a58fe4a1645687dc7dff87e49b629e299a1e Mon Sep 17 00:00:00 2001 From: Jenkins Date: Thu, 2 May 2019 11:56:17 +0200 Subject: [PATCH 2/3] Jenkins release build --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index f2b53be..83ae90b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,7 +23,7 @@ nymea-plugins (0.12.1) xenial; urgency=medium * Rename vendor "guh GmbH" to "nymea" * Don't use dpkg specific tools to set install path - -- Jenkins Fri, 26 Apr 2019 12:18:18 +0200 + -- Jenkins Thu, 02 May 2019 11:56:17 +0200 nymea-plugins (0.12.0) xenial; urgency=medium [ Michael Zanetti ] From 15ab2f84718115e9a47bde5be32e86ce94434090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Thu, 30 May 2019 16:11:40 +0200 Subject: [PATCH 3/3] Migrate generic elements plugin documentation --- genericelements/README.md | 15 +++++++++ .../deviceplugingenericelements.cpp | 32 ------------------- 2 files changed, 15 insertions(+), 32 deletions(-) create mode 100644 genericelements/README.md diff --git a/genericelements/README.md b/genericelements/README.md new file mode 100644 index 0000000..5bd15ed --- /dev/null +++ b/genericelements/README.md @@ -0,0 +1,15 @@ +# Generic elements + +The generic elements plugin allows you create virtual buttons, which can be connected with a rule. This gives you +the possibility to execute multiple actions with one signal. Without a rule this generic elements are +useless. + +## Toggle Button +With the "Toggle Button" you can create a button with one action toggle. In the `state` you can find out, +what happens if the button will be pressed. The states can be true or false. + +## Button +With the "Button" you can create a button with one action `press`. This button just creates one event. + +## ON/OFF Button +With the "ON/OFF Button" you create a button pair with the actions `ON` and `OFF`. diff --git a/genericelements/deviceplugingenericelements.cpp b/genericelements/deviceplugingenericelements.cpp index 59bf074..f6abe30 100644 --- a/genericelements/deviceplugingenericelements.cpp +++ b/genericelements/deviceplugingenericelements.cpp @@ -20,38 +20,6 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -/*! - \page genericelements.html - \title Generic elements - \brief Common elements to test the rule engine. - - \ingroup plugins - \ingroup nymea-tests - - The generic elements plugin allows you create virtual buttons, which can be connected with a rule. This gives you - the possibility to execute multiple \l{Action}{Actions} with one signal. Without a rule this generic elements are - useless. - - \chapter Toggle Button - With the "Toggle Button" \l{DeviceClass} you can create a button with one \l{Action} \unicode{0x2192} toggle. In the \tt state \l{State} you can find out, - what happens if the button will be pressed. The states can be true or false. - - \chapter Button - With the "Button" \l{DeviceClass} you can create a button with one \l{Action} \unicode{0x2192} press. This button just creates one \l{Event}. - - \chapter ON/OFF Button - With the "ON/OFF Button" \l{DeviceClass} you create a button pair with the \l{Action}{Actions} \unicode{0x2192} ON and OFF. - - \chapter Plugin properties - Following JSON file contains the definition and the description of all available \l{DeviceClass}{DeviceClasses} - and \l{Vendor}{Vendors} of this \l{DevicePlugin}. - - For more details how to read this JSON file please check out the documentation for \l{The plugin JSON File}. - - \quotefile plugins/deviceplugins/genericelements/deviceplugingenericelements.json -*/ - - #include "deviceplugingenericelements.h" #include "devicemanager.h" #include "plugininfo.h"