1 #ifndef __DALI_EXTENSION_INTERNAL_ECORE_X_EVENT_HANDLER__
2 #define __DALI_EXTENSION_INTERNAL_ECORE_X_EVENT_HANDLER__
5 * Copyright (c) 2019 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
23 #include <Ecore_Evas.h>
24 #include <Ecore_Wl2.h>
26 #include <dali/integration-api/debug.h>
29 #include "evas-plugin-visibility-interface.h"
40 class EvasPluginVisibilityInterface;
42 class EcoreWlEventHandler
48 * @param[in] window is id of ecore wayland window.
49 * @param[in] evasPluginVisibilityInterface Used to send ecore wayland event to evas plugin
51 EcoreWlEventHandler(Ecore_Wl2_Window* window, EvasPluginVisibilityInterface& evasPluginVisibilityInterface);
56 ~EcoreWlEventHandler();
59 * @brief Send the ecore wayland visibility.
61 * @param[in] visibility True is that ecore wayland window is show up and false is not
63 void SendEcoreWlVisibility(bool visibility);
66 EvasPluginVisibilityInterface& mEvasPluginVisibilityInterface;
72 } // namespace Internal
74 } // namespace Extension