From ad05c9c7d47a11ad29c9b9d7ffd01fd7df8aeb99 Mon Sep 17 00:00:00 2001 From: Harry van Haaren Date: Mon, 5 Aug 2013 13:29:07 +0100 Subject: [PATCH] -Implementing new Logic class as input interface to all Luppp functionality --- src/logic.cxx | 0 src/logic.hxx | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/logic.cxx create mode 100644 src/logic.hxx diff --git a/src/logic.cxx b/src/logic.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/logic.hxx b/src/logic.hxx new file mode 100644 index 0000000..1d15253 --- /dev/null +++ b/src/logic.hxx @@ -0,0 +1,28 @@ + +#ifndef LUPPP_LOGIC_H +#define LUPPP_LOGIC_H + +/** Logic + * This class contains an interface exposing most functionality in Luppp. The + * interface is used to have one central place from where each controller can + * interact with Luppp using the same function calls. + * + * This class should be used for input from any device. The interface is + * deliberatly specific with regards to scheduling events: controllers should + * NOT attempt to schedule changes: use the provided functions directly when + * events occur on a controller. + * + * The ControllerUpdater class is the opposite of this class, it provides + * feedback of each event that occurs. + * + * Note: The GridLogic class provides the interface to scene selection / state. +**/ +class Logic +{ + public: + Logic() + + void +}; + +#endif // LUPPP_LOGIC_H