Added C# binding for properties in devel-api
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / manual / cpp / devel-property-wrap.cpp
1 /*
2  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 #ifndef CSHARP_DEVEL_PROPERTY
19 #define CSHARP_DEVEL_PROPERTY
20 #endif
21
22 #include "common.h"
23
24 #include <dali/devel-api/actors/actor-devel.h>
25 #include <dali/devel-api/rendering/renderer-devel.h>
26 #include <dali-toolkit/devel-api/controls/control-devel.h>
27 #include <dali-toolkit/devel-api/controls/scrollable/item-view/item-view-devel.h>
28 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_BATCH_PARENT_get() {
35   int jresult ;
36   int result;
37
38   result = (int)Dali::DevelActor::Property::BATCH_PARENT;
39   jresult = (int)result;
40   return jresult;
41 }
42
43 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SIBLING_ORDER_get() {
44   int jresult ;
45   int result;
46
47   result = (int)Dali::DevelActor::Property::SIBLING_ORDER;
48   jresult = (int)result;
49   return jresult;
50 }
51
52 SWIGEXPORT int SWIGSTDCALL CSharp_Renderer_Property_BATCHING_ENABLED_get() {
53   int jresult ;
54   int result;
55
56   result = (int)Dali::DevelRenderer::Property::BATCHING_ENABLED;
57   jresult = (int)result;
58   return jresult;
59 }
60
61 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() {
62   int jresult ;
63   int result;
64
65   result = (int)Dali::Toolkit::DevelControl::Property::TOOLTIP;
66   jresult = (int)result;
67   return jresult;
68 }
69
70 SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() {
71   int jresult ;
72   int result;
73
74   result = (int)Dali::Toolkit::DevelItemView::Property::LAYOUT;
75   jresult = (int)result;
76   return jresult;
77 }
78
79 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
80   int jresult ;
81   int result;
82
83   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_VISUAL;
84   jresult = (int)result;
85   return jresult;
86 }
87
88 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
89   int jresult ;
90   int result;
91
92   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_VISUAL;
93   jresult = (int)result;
94   return jresult;
95 }
96
97 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
98   int jresult ;
99   int result;
100
101   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_VISUAL;
102   jresult = (int)result;
103   return jresult;
104 }
105
106 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
107   int jresult ;
108   int result;
109
110   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_VISUAL;
111   jresult = (int)result;
112   return jresult;
113 }
114
115 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
116   int jresult ;
117   int result;
118
119   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_BACKGROUND_VISUAL;
120   jresult = (int)result;
121   return jresult;
122 }
123
124 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
125   int jresult ;
126   int result;
127
128   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_BACKGROUND_VISUAL;
129   jresult = (int)result;
130   return jresult;
131 }
132
133 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
134   int jresult ;
135   int result;
136
137   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
138   jresult = (int)result;
139   return jresult;
140 }
141
142 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
143   int jresult ;
144   int result;
145
146   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
147   jresult = (int)result;
148   return jresult;
149 }
150
151 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
152   int jresult ;
153   int result;
154
155   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT;
156   jresult = (int)result;
157   return jresult;
158 }
159
160 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
161   int jresult ;
162   int result;
163
164   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING;
165   jresult = (int)result;
166   return jresult;
167 }
168
169 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
170   int jresult ;
171   int result;
172
173   result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING;
174   jresult = (int)result;
175   return jresult;
176 }
177
178 #ifdef __cplusplus
179 }
180 #endif
181