diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-07-19 13:08:17 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-07-19 15:22:29 +0000 |
commit | c6f9a9b8468b3746a3dec7ee2a0b7d84ec9fb44a (patch) | |
tree | e766e0b4b1bb894c5511ed6d1e71a4ac389415d6 /src/window_manager.hpp | |
parent | e4222ca8da3b02afca5625fa2cef6832aa8ce90e (diff) |
Revert "Add PolicyManager as plugin"
This reverts commit 99b6f4d2fcd421d3a760a88a67e511fb6fc98068.
Change-Id: I8725ca05a3e3fa0ea9e1db935e9e7d5b85a9affd
Diffstat (limited to 'src/window_manager.hpp')
-rw-r--r-- | src/window_manager.hpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/window_manager.hpp b/src/window_manager.hpp index 1237a60..0fb1805 100644 --- a/src/window_manager.hpp +++ b/src/window_manager.hpp @@ -25,7 +25,6 @@ #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" @@ -226,11 +225,8 @@ class WindowManager void removeClient(const std::string &appid); void exceptionProcessForTransition(); - - // Do not use these functions + // Do not use this function void timerHandler(); - void startTransitionWrapper(std::vector<WMAction> &actions); - void processError(WMError error); private: bool pop_pending_events(); @@ -257,11 +253,13 @@ 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(); @@ -273,13 +271,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; }; |