1 #ifndef DALI_WIDGET_CONTROLLER_H
2 #define DALI_WIDGET_CONTROLLER_H
5 * Copyright (c) 2021 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.
22 #include <dali/public-api/signals/connection-tracker.h>
25 #include <dali/public-api/adaptor-framework/widget-impl.h>
34 * @brief Holds the Implementation for the internal WidgetImpl class
36 class Widget::Impl : public Dali::ConnectionTracker
40 * Set content information to widget framework
42 virtual void SetContentInfo(const std::string& contentInfo) = 0;
45 * Check Widget is using key
47 virtual bool IsKeyEventUsing() const = 0;
50 * Set the flag that widget is using keyEvent
52 virtual void SetUsingKeyEvent(bool flag) = 0;
55 * Set the Information of widget
57 virtual void SetInformation(Dali::Window window, const std::string& widgetId) = 0;
62 virtual Dali::Window GetWindow() const = 0;
67 virtual std::string GetWidgetId() const = 0;
70 } // namespace Adaptor
72 } // namespace Internal
76 #endif // DALI_WIDGET_CONTROLLER_H