blob: f5a5d131bb6a21aabfdcbcc2d9620a2ff7a4ec58 (
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 <list>
class SampleClass
{
public:
SampleClass();
~SampleClass();
std::list<int> getAllSurfacesOfProcess(int pid);
sRectangle getLayoutRenderAreaForSurfaceId(int surfaceId);
int getSurfaceStatus(int surfaceId);
void hardKeyPressed(int key);
void renderSurfaceToArea(int surfaceId, const sRectangle &renderArea);
void requestSurfaceIdToFullScreen(int surfaceId);
private:
LibHomeScreen *mp_libHomeScreen;
};
#endif // SAMPLECLASS_HPP
|