diff options
author | 2016-10-31 11:40:18 +0100 | |
---|---|---|
committer | 2016-10-31 11:40:18 +0100 | |
commit | 949bf001944f462b4fbf8d28ee7e9643c9888bee (patch) | |
tree | 4de706ec9ddd0faa5717254f9cded41e9dd884bd /libhomescreen/include | |
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 'libhomescreen/include')
-rw-r--r-- | libhomescreen/include/libhomescreen.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
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 |