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

#include "libhomescreen.hpp"
#include <list>

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

    std::list<int> getAllSurfacesOfProcess(int pid);
    int getSurfaceStatus(int surfaceId);
    void hardKeyPressed(int key);
    void renderSurfaceToArea(int surfaceId, int layoutArea);
    void requestSurfaceIdToFullScreen(int surfaceId);

private:
    LibHomeScreen *mp_libHomeScreen;
};

#endif // SAMPLECLASS_HPP