[Tizen] Temporarily modified so that window is no null
[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 #include <widget_base.h>
24
25 // INTERNAL INCLUDES
26 #include <dali/public-api/adaptor-framework/widget-impl.h>
27 #include <dali/internal/system/common/widget-controller.h>
28
29 namespace Dali
30 {
31
32 namespace Internal
33 {
34
35 namespace Adaptor
36 {
37
38 /**
39  * @brief Holds the Implementation for the internal WidgetImpl class
40  */
41 class WidgetImplTizen : public Widget::Impl
42 {
43 public:
44
45   /**
46    * Constructor
47    */
48   WidgetImplTizen( widget_base_instance_h instanceHandle );
49
50   /**
51    * Destructor
52    */
53   ~WidgetImplTizen() override;
54
55 public:
56
57   /**
58    * Set content information to widget framework
59    */
60   void SetContentInfo( const std::string& contentInfo ) override;
61
62 private:
63
64   widget_base_instance_h mInstanceHandle;
65 };
66
67 } // namespace Adaptor
68
69 } // namespace Internal
70
71 } // namespace Dali
72
73 #endif // DALI_WIDGET_CONTROLLER_TIZEN_H