diff options
Diffstat (limited to 'samplehomescreeninterfaceapp/src/sampleclass.hpp')
-rw-r--r-- | samplehomescreeninterfaceapp/src/sampleclass.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/samplehomescreeninterfaceapp/src/sampleclass.hpp b/samplehomescreeninterfaceapp/src/sampleclass.hpp new file mode 100644 index 0000000..fd00afe --- /dev/null +++ b/samplehomescreeninterfaceapp/src/sampleclass.hpp @@ -0,0 +1,24 @@ +#ifndef SAMPLECLASS_HPP +#define SAMPLECLASS_HPP + +#include "libhomescreen.hpp" +#include <vector> + +class SampleClass +{ +public: + SampleClass(); + ~SampleClass(); + + std::vector<int> getAllSurfacesOfProcess(int pid); + int getSurfaceStatus(int surfaceId); + void hardKeyPressed(int key); + void renderSurfaceToArea(int surfaceId, int layoutArea); + bool renderAppToAreaAllowed(int appCategory, int layoutArea); + void requestSurfaceIdToFullScreen(int surfaceId); + +private: + LibHomeScreen *mp_libHomeScreen; +}; + +#endif // SAMPLECLASS_HPP |