aboutsummaryrefslogtreecommitdiffstats
path: root/src/window_manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_manager.hpp')
-rw-r--r--src/window_manager.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/window_manager.hpp b/src/window_manager.hpp
index 2358c5a..6cbd355 100644
--- a/src/window_manager.hpp
+++ b/src/window_manager.hpp
@@ -25,6 +25,7 @@
#include "layers.hpp"
#include "layout.hpp"
#include "wayland_ivi_wm.hpp"
+#include "pm_wrapper.hpp"
#include "hmi-debug.h"
#include "request.hpp"
#include "wm_error.hpp"
@@ -227,8 +228,11 @@ class WindowManager
void removeClient(const std::string &appid);
void exceptionProcessForTransition();
const char* convertRoleOldToNew(char const *role);
+
// Do not use this function
void timerHandler();
+ void startTransitionWrapper(std::vector<WMAction> &actions);
+ void processError(WMError error);
private:
bool pop_pending_events();
@@ -255,13 +259,11 @@ class WindowManager
WMError doTransition(unsigned sequence_number);
WMError checkPolicy(unsigned req_num);
WMError startTransition(unsigned req_num);
- WMError setInvisibleTask(const std::string &role, bool split);
WMError doEndDraw(unsigned req_num);
WMError layoutChange(const WMAction &action);
WMError visibilityChange(const WMAction &action);
WMError setSurfaceSize(unsigned surface, const std::string& area);
- WMError changeCurrentState(unsigned req_num);
void emitScreenUpdated(unsigned req_num);
void setTimer();
@@ -272,13 +274,13 @@ class WindowManager
const char *check_surface_exist(const char *role);
- bool can_split(struct LayoutState const &state, int new_id);
-
private:
std::unordered_map<std::string, struct compositor::rect> area2size;
std::unordered_map<std::string, std::string> roleold2new;
std::unordered_map<std::string, std::string> rolenew2old;
+ PMWrapper pmw;
+
static const char* kDefaultOldRoleDb;
};