\r
class WMLayer;\r
class LayerState;\r
+class WMAction;\r
+class WMClient;\r
+\r
class LayerControl\r
{\r
public:\r
WMError updateLayer(LayerState& layer_state);\r
WMError commitChange();\r
void undoUpdate();\r
+ WMError layoutChange(const WMAction& action);\r
+ WMError visibilityChange(const WMAction &action);\r
\r
// Don't use this function.\r
void dispatchCreateEvent(ilmObjectType object, unsigned id, bool created);\r
void dispatchPropertyChangeEvent(unsigned id, struct ilmSurfaceProperties*, t_ilm_notification_mask);\r
void dispatchPropertyChangeEvent(unsigned id, struct ilmLayerProperties*, t_ilm_notification_mask);\r
private:\r
+ WMError makeVisible(const std::shared_ptr<WMClient> client);\r
+ WMError makeInvisible(const std::shared_ptr<WMClient> client);\r
WMError loadLayerSetting(const std::string& path);\r
WMError loadAreaDb(const std::string& path);\r
\r