aboutsummaryrefslogtreecommitdiffstats
path: root/SampleHomeScreenInterfaceApp/src/sampleclass.hpp
blob: acffcf6952550b73b32aaf4883d2ff8c99e8f1a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef SAMPLECLASS_HPP
#define SAMPLECLASS_HPP

#include "libhomescreen.hpp"

class SampleClass
{
public:
    SampleClass();
    ~SampleClass();

    sRectangle getLayoutRenderAreaForSurfaceId(int surfaceId);
    void hardKeyPressed(int key);
    void renderSurfaceToArea(int surfaceId, const sRectangle &renderArea);
    void requestSurfaceIdToFullScreen(int surfaceId);

private:
    LibHomeScreen *mp_libHomeScreen;
};

#endif // SAMPLECLASS_HPP