aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app.hpp b/src/app.hpp
index ea5ac36..68214b3 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -251,6 +251,8 @@ struct App {
void updateWindowResource(json_object* json_out);
private:
+ typedef std::map<std::string, std::string> RoleState;
+
PolicyManager pm_;
LayoutManager lm_;
std::unordered_map<std::string, int> role2surfaceid_;
@@ -258,8 +260,8 @@ private:
std::unordered_map<std::string, std::string> role2drawingname_;
std::unordered_map<int, int> appid2role_;
CarInfo crr_car_info_;
+ std::map<std::string, RoleState> crr_layer_state;
- int allocateSurface();
void setSurfaceSize(const char* role, const char* area);
int loadAppDb();
const char* convertDrawingNameToRole(char const *drawing_name);