X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwm_layer_control.hpp;h=e675e120816bdc93127d83359e7b2587df7de4f3;hb=refs%2Ftags%2F8.99.3;hp=68acd669210b6636a80ad6d5e51c34f7df376fda;hpb=8501d1f32139212ad1b26eaf08dabf42edab9c9a;p=apps%2Fagl-service-windowmanager.git diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp index 68acd66..e675e12 100644 --- a/src/wm_layer_control.hpp +++ b/src/wm_layer_control.hpp @@ -1,5 +1,6 @@ /* * Copyright (c) 2017 TOYOTA MOTOR CORPORATION + * Copyright (c) 2019 Konsulko Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,8 +64,8 @@ class LayerControl explicit LayerControl(const std::string& root); ~LayerControl() = default; WMError init(const LayerControlCallbacks& cb); - void createNewLayer(unsigned id); - unsigned getNewLayerID(const std::string& role); + void createNewLayer(unsigned id, bool remote = false); + unsigned getNewLayerID(const std::string& role, std::string* layer_name = nullptr); std::shared_ptr getWMLayer(unsigned layer); std::shared_ptr getWMLayer(std::string layer_name); struct rect getAreaSize(const std::string& area); @@ -99,6 +100,7 @@ class LayerControl std::unordered_map lid2wmlid; std::unordered_map area2size; unsigned screenID; + signed remoteScreenID; struct ilmScreenProperties screen_prop; double scaling; int offset_x; @@ -106,4 +108,4 @@ class LayerControl LayerControlCallbacks cb; }; -} // namespace wm \ No newline at end of file +} // namespace wm