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 --- libhomescreen/include/libhomescreen.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libhomescreen/include/libhomescreen.hpp (limited to 'libhomescreen/include') diff --git a/libhomescreen/include/libhomescreen.hpp b/libhomescreen/include/libhomescreen.hpp new file mode 100644 index 0000000..f92e190 --- /dev/null +++ b/libhomescreen/include/libhomescreen.hpp @@ -0,0 +1,22 @@ +#ifndef LIBHOMESCREEN_HPP +#define LIBHOMESCREEN_HPP + +// forward declarations +struct _LibHomeScreenHomescreen; +typedef struct _LibHomeScreenHomescreen LibHomeScreenHomescreen; + +class LibHomeScreen +{ +public: + LibHomeScreen(); + ~LibHomeScreen(); + + // these are representing the D-Bus methods: + void hardKeyPressed(int key); + void toggleFullScreen(); + +private: + LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy; +}; + +#endif // LIBHOMESCREEN_HPP -- cgit 1.2.3-korg