dali-adaptor internal folder refactoring
[platform/core/uifw/dali-adaptor.git] / dali / internal / system / tizen-wayland / widget-controller-tizen.h
1 #ifndef DALI_WIDGET_CONTROLLER_TIZEN_H
2 #define DALI_WIDGET_CONTROLLER_TIZEN_H
3
4 /*
5  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
6  *
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
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  */
20
21 // EXTERNAL INCLUDES
22 #include <dali/public-api/signals/connection-tracker.h>
23
24 // INTERNAL INCLUDES
25 #ifdef WIDGET_SUPPOERTED
26 #include <widget_base.h>
27 #endif
28 #include <dali/public-api/adaptor-framework/widget-impl.h>
29 #include <dali/internal/system/common/widget-controller.h>
30
31 namespace Dali
32 {
33
34 namespace Internal
35 {
36
37 namespace Adaptor
38 {
39
40 /**
41  * @brief Holds the Implementation for the internal WidgetImpl class
42  */
43 class WidgetImplTizen : public Widget::Impl
44 {
45 public:
46
47 #ifndef WIDGET_SUPPOERTED
48   typedef void* widget_base_instance_h;
49 #endif
50
51   /**
52    * Constructor
53    */
54   WidgetImplTizen( widget_base_instance_h instanceHandle );
55
56   /**
57    * Destructor
58    */
59   ~WidgetImplTizen() override;
60
61 public:
62
63   /**
64    * Set content information to widget framework
65    */
66   void SetContentInfo( const std::string& contentInfo ) override;
67
68 private:
69
70   widget_base_instance_h mInstanceHandle;
71 };
72
73 } // namespace Adaptor
74
75 } // namespace Internal
76
77 } // namespace Dali
78
79 #endif // DALI_WIDGET_CONTROLLER_TIZEN_H