[4.0] DALi version 1.2.75
[platform/core/uifw/dali-adaptor.git] / adaptors / tizen / widget-controller.h
1 #ifndef DALI_WIDGET_CONTROLLER_H
2 #define DALI_WIDGET_CONTROLLER_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 #include <widget_base.h>
26 #include <widget-impl.h>
27
28 namespace Dali
29 {
30
31 namespace Internal
32 {
33
34 namespace Adaptor
35 {
36
37 /**
38  * @brief Holds the Implementation for the internal WidgetImpl class
39  */
40 class Widget::Impl : public ConnectionTracker
41 {
42 public:
43
44   /**
45    * Constructor
46    */
47   Impl( widget_base_instance_h instanceHandle );
48
49   /**
50    * Destructor
51    */
52   ~Impl();
53
54 public:
55
56   /**
57    * Set content information to widget framework
58    */
59   void SetContentInfo( const std::string& contentInfo );
60
61 private:
62
63   widget_base_instance_h mInstanceHandle;
64 };
65
66 } // namespace Adaptor
67
68 } // namespace Internal
69
70 } // namespace Dali
71
72 #endif // DALI_WIDGET_CONTROLLER_H