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.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/window_manager.hpp b/src/window_manager.hpp
index 0fb1805..1237a60 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"
@@ -225,8 +226,11 @@ class WindowManager
void removeClient(const std::string &appid);
void exceptionProcessForTransition();
- // Do not use this function
+
+ // Do not use these functions
void timerHandler();
+ void startTransitionWrapper(std::vector<WMAction> &actions);
+ void processError(WMError error);
private:
bool pop_pending_events();
@@ -253,13 +257,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();
@@ -271,13 +273,13 @@ class WindowManager
const char *check_surface_exist(const char *drawing_name);
- 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;
};