Stop overload and devide 2 APIs
* dispatchSurfacePropChangeEvent
* dispatchLayerPropChangeEvent
Change-Id: Ibe5fb58d0dd06bcc0aa4e5e6063b57d05715656e
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
struct ilmSurfaceProperties* surface_prop,
t_ilm_notification_mask mask)
{
struct ilmSurfaceProperties* surface_prop,
t_ilm_notification_mask mask)
{
- g_lc_ctxt->dispatchPropertyChangeEvent(surface, surface_prop, mask);
+ g_lc_ctxt->dispatchSurfacePropChangeEvent(surface, surface_prop, mask);
}
static void layerCallback_static(t_ilm_layer layer,
struct ilmLayerProperties* layer_prop,
t_ilm_notification_mask mask)
{
}
static void layerCallback_static(t_ilm_layer layer,
struct ilmLayerProperties* layer_prop,
t_ilm_notification_mask mask)
{
- g_lc_ctxt->dispatchPropertyChangeEvent(layer, layer_prop, mask);
+ g_lc_ctxt->dispatchLayerPropChangeEvent(layer, layer_prop, mask);
}
LayerControl::LayerControl(const std::string& root)
}
LayerControl::LayerControl(const std::string& root)
-void LayerControl::dispatchPropertyChangeEvent(unsigned id,
+void LayerControl::dispatchSurfacePropChangeEvent(unsigned id,
struct ilmSurfaceProperties* sprop,
t_ilm_notification_mask mask)
{
struct ilmSurfaceProperties* sprop,
t_ilm_notification_mask mask)
{
-void LayerControl::dispatchPropertyChangeEvent(unsigned id,
+void LayerControl::dispatchLayerPropChangeEvent(unsigned id,
struct ilmLayerProperties* lprop,
t_ilm_notification_mask mask)
{
struct ilmLayerProperties* lprop,
t_ilm_notification_mask mask)
{
// Don't use this function.
void dispatchCreateEvent(ilmObjectType object, unsigned id, bool created);
// Don't use this function.
void dispatchCreateEvent(ilmObjectType object, unsigned id, bool created);
- void dispatchPropertyChangeEvent(unsigned id, struct ilmSurfaceProperties*, t_ilm_notification_mask);
- void dispatchPropertyChangeEvent(unsigned id, struct ilmLayerProperties*, t_ilm_notification_mask);
+ void dispatchSurfacePropChangeEvent(unsigned id, struct ilmSurfaceProperties*, t_ilm_notification_mask);
+ void dispatchLayerPropChangeEvent(unsigned id, struct ilmLayerProperties*, t_ilm_notification_mask);
+
private:
WMError makeVisible(const std::shared_ptr<WMClient> client);
WMError makeInvisible(const std::shared_ptr<WMClient> client);
private:
WMError makeVisible(const std::shared_ptr<WMClient> client);
WMError makeInvisible(const std::shared_ptr<WMClient> client);