From 949bf001944f462b4fbf8d28ee7e9643c9888bee Mon Sep 17 00:00:00 2001 From: "Bocklage, Jens" Date: Mon, 31 Oct 2016 11:40:18 +0100 Subject: Introduces shared lib that provides the API of D-Bus org.agl.homescreen. Initial implementation to show the idea. Also availabale a sample app that uses the new lib. The lib uses the GNU D-Bus lib. Signed-off-by: Bocklage, Jens --- SampleHomeScreenInterfaceApp/src/sampleclass.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 SampleHomeScreenInterfaceApp/src/sampleclass.hpp (limited to 'SampleHomeScreenInterfaceApp/src/sampleclass.hpp') diff --git a/SampleHomeScreenInterfaceApp/src/sampleclass.hpp b/SampleHomeScreenInterfaceApp/src/sampleclass.hpp new file mode 100644 index 0000000..aa5f376 --- /dev/null +++ b/SampleHomeScreenInterfaceApp/src/sampleclass.hpp @@ -0,0 +1,19 @@ +#ifndef SAMPLECLASS_HPP +#define SAMPLECLASS_HPP + +#include "libhomescreen.hpp" + +class SampleClass +{ +public: + SampleClass(); + ~SampleClass(); + + void hardKeyPressed(int key); + void toggleFullScreen(); + +private: + LibHomeScreen *mp_libHomeScreen; +}; + +#endif // SAMPLECLASS_HPP -- cgit 1.2.3-korg