Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use std::vector instead of std::list.
[staging/HomeScreen.git]
/
libhomescreen
/
include
/
libhomescreen.hpp
diff --git
a/libhomescreen/include/libhomescreen.hpp
b/libhomescreen/include/libhomescreen.hpp
index
f92e190
..
6baa805
100644
(file)
--- a/
libhomescreen/include/libhomescreen.hpp
+++ b/
libhomescreen/include/libhomescreen.hpp
@@
-1,10
+1,20
@@
#ifndef LIBHOMESCREEN_HPP
#define LIBHOMESCREEN_HPP
#ifndef LIBHOMESCREEN_HPP
#define LIBHOMESCREEN_HPP
+#include <vector>
+
// forward declarations
struct _LibHomeScreenHomescreen;
typedef struct _LibHomeScreenHomescreen LibHomeScreenHomescreen;
// forward declarations
struct _LibHomeScreenHomescreen;
typedef struct _LibHomeScreenHomescreen LibHomeScreenHomescreen;
+typedef struct
+{
+ int x;
+ int y;
+ int width;
+ int height;
+} sRectangle;
+
class LibHomeScreen
{
public:
class LibHomeScreen
{
public:
@@
-12,11
+22,15
@@
public:
~LibHomeScreen();
// these are representing the D-Bus methods:
~LibHomeScreen();
// these are representing the D-Bus methods:
+ std::vector<int> getAllSurfacesOfProcess(int pid);
+ int getSurfaceStatus(int surfaceId);
void hardKeyPressed(int key);
void hardKeyPressed(int key);
- void toggleFullScreen();
-
+ void renderSurfaceToArea(int surfaceId, int layoutArea);
+ bool renderAppToAreaAllowed(int appCategory, int layoutArea);
+ void requestSurfaceIdToFullScreen(int surfaceId);
private:
LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy;
};
#endif // LIBHOMESCREEN_HPP
private:
LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy;
};
#endif // LIBHOMESCREEN_HPP
+