#ifndef LIBHOMESCREEN_HPP
#define LIBHOMESCREEN_HPP
+#include <list>
+
// forward declarations
struct _LibHomeScreenHomescreen;
typedef struct _LibHomeScreenHomescreen LibHomeScreenHomescreen;
+typedef struct
+{
+ int x;
+ int y;
+ int width;
+ int height;
+} sRectangle;
+
class LibHomeScreen
{
public:
~LibHomeScreen();
// these are representing the D-Bus methods:
+ std::list<int> getAllSurfacesOfProcess(int pid);
+ int getSurfaceStatus(int surfaceId);
void hardKeyPressed(int key);
- void toggleFullScreen();
-
+ void renderSurfaceToArea(int surfaceId, int layoutArea);
+ bool renderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
+ void requestSurfaceIdToFullScreen(int surfaceId);
private:
LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy;
};
#endif // LIBHOMESCREEN_HPP
+