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/main.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 SampleHomeScreenInterfaceApp/src/main.cpp (limited to 'SampleHomeScreenInterfaceApp/src/main.cpp') diff --git a/SampleHomeScreenInterfaceApp/src/main.cpp b/SampleHomeScreenInterfaceApp/src/main.cpp new file mode 100644 index 0000000..1e83d80 --- /dev/null +++ b/SampleHomeScreenInterfaceApp/src/main.cpp @@ -0,0 +1,19 @@ +#include +#include "sampleclass.hpp" + +using namespace std; + +int main() +{ + cout << "SampleHomeScreenInterfaceApp" << endl; + + SampleClass *sampleClass = new SampleClass(); + + sampleClass->hardKeyPressed(100); + sampleClass->hardKeyPressed(101); + sampleClass->hardKeyPressed(102); + + delete sampleClass; + + return 0; +} -- cgit 1.2.3-korg