diff options
author | 2016-10-31 11:40:18 +0100 | |
---|---|---|
committer | 2016-10-31 11:40:18 +0100 | |
commit | 949bf001944f462b4fbf8d28ee7e9643c9888bee (patch) | |
tree | 4de706ec9ddd0faa5717254f9cded41e9dd884bd /SampleHomeScreenInterfaceApp/src/sampleclass.hpp | |
parent | d19555c038f6f1f89f08f12c88908d84b32b1bbf (diff) |
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 <Jens_Bocklage@mentor.com>
Diffstat (limited to 'SampleHomeScreenInterfaceApp/src/sampleclass.hpp')
-rw-r--r-- | SampleHomeScreenInterfaceApp/src/sampleclass.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
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 |