#include <vector>
#include <unordered_map>
#include <functional>
+#include <regex>
#include <ilm/ilm_control.h>
#include "wm_error.hpp"
#include "util.hpp"
void dispatchSurfacePropChangeEvent(unsigned id, struct ilmSurfaceProperties*, t_ilm_notification_mask);
void dispatchLayerPropChangeEvent(unsigned id, struct ilmLayerProperties*, t_ilm_notification_mask);
- bool hasRemoteLayer(unsigned layer);
+ std::string hasRemoteLayer(unsigned layer);
+ std::string areaToRemoteLayer(std::string area);
private:
WMError makeVisible(const std::shared_ptr<WMClient> client);
WMError loadAreasConfigFile(const std::string& path, const std::string& ecu_name);
std::vector<std::shared_ptr<WMLayer>> wm_layers;
+ std::vector<std::string> wm_remoteLayerName;
std::vector<Screen> wm_screens;
std::unordered_map<unsigned, unsigned> lid2wmlid;
std::unordered_map<std::string, struct rect> area2size;