blob: fd00afef20b488ff27c53fe43c81dc48ebc10322 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|