summaryrefslogtreecommitdiffstats
path: root/samplehomescreeninterfaceapp/src/sampleclass.cpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2017-10-23 14:29:20 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2017-10-23 14:29:20 +0900
commite33fb7867a36b803f7ae2a1cb8f1a3b4f9076e08 (patch)
treeef2972d4b72a7a1cc63ac69155574278b2e0be8c /samplehomescreeninterfaceapp/src/sampleclass.cpp
parentf5c14333d2170ae9babed53ea530828569a830ff (diff)
Split libhomescreen from agl-homescreen-service-2017
Split libhomescreen library from agl-homescreen-service-2017. Relative commit: https://gerrit.automotivelinux.org/gerrit/#/c/11413/ Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'samplehomescreeninterfaceapp/src/sampleclass.cpp')
-rw-r--r--samplehomescreeninterfaceapp/src/sampleclass.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/samplehomescreeninterfaceapp/src/sampleclass.cpp b/samplehomescreeninterfaceapp/src/sampleclass.cpp
deleted file mode 100644
index a5e1fac..0000000
--- a/samplehomescreeninterfaceapp/src/sampleclass.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-#include "sampleclass.hpp"
-
-SampleClass::SampleClass() :
- mp_libHomeScreen(0)
-{
- mp_libHomeScreen = new LibHomeScreen();
-}
-
-SampleClass::~SampleClass()
-{
- delete mp_libHomeScreen;
-}
-
-std::vector<int> SampleClass::getAllSurfacesOfProcess(int pid)
-{
- return mp_libHomeScreen->getAllSurfacesOfProcess(pid);
-}
-
-void SampleClass::hardKeyPressed(int key)
-{
- mp_libHomeScreen->hardKeyPressed(key);
-}
-
-int SampleClass::getSurfaceStatus(int surfaceId)
-{
- return mp_libHomeScreen->getSurfaceStatus(surfaceId);
-}
-
-void SampleClass::renderSurfaceToArea(int surfaceId, int layoutArea)
-{
- mp_libHomeScreen->renderSurfaceToArea(surfaceId, layoutArea);
-}
-
-bool SampleClass::renderAppToAreaAllowed(int appCategory, int layoutArea)
-{
- return mp_libHomeScreen->renderAppToAreaAllowed(appCategory, layoutArea);
-}
-
-void SampleClass::requestSurfaceIdToFullScreen(int surfaceId)
-{
- mp_libHomeScreen->requestSurfaceIdToFullScreen(surfaceId);
-}