X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwm_layer.hpp;h=1521309cd3fbb3bb042557cf0007da97f8c53ce4;hb=d6b295b89882b61ddefc4bed4b6f8dad0181d170;hp=97cf8a8bd95b36cc36451af545baf76192884e9e;hpb=8501d1f32139212ad1b26eaf08dabf42edab9c9a;p=apps%2Fagl-service-windowmanager.git diff --git a/src/wm_layer.hpp b/src/wm_layer.hpp index 97cf8a8..1521309 100644 --- a/src/wm_layer.hpp +++ b/src/wm_layer.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. @@ -65,6 +66,8 @@ class WMLayer WMError setLayerState(const LayerState& l); bool hasLayerID(unsigned id); bool hasRole(const std::string& role); + void setRemote(const bool newRemote) { remote = newRemote; } + bool isRemote(void) { return remote; } // Manipulation void addLayerToState(unsigned layer); @@ -90,6 +93,7 @@ class WMLayer std::vector id_list; unsigned id_begin; unsigned id_end; + bool remote = false; }; } // namespace wm