1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
11 #ifndef SWIG_NDalic_WRAP_H_
12 #define SWIG_NDalic_WRAP_H_
14 class SwigDirector_ViewImpl : public Dali::Toolkit::Internal::Control, public Swig::Director {
17 SwigDirector_ViewImpl(Dali::Toolkit::Internal::Control::ControlBehaviour behaviourFlags);
18 virtual ~SwigDirector_ViewImpl();
19 virtual void OnStageConnection(int depth);
20 virtual void OnStageConnectionSwigPublic(int depth) {
21 Dali::Toolkit::Internal::Control::OnStageConnection(depth);
23 virtual void OnStageDisconnection();
24 virtual void OnStageDisconnectionSwigPublic() {
25 Dali::Toolkit::Internal::Control::OnStageDisconnection();
27 virtual void OnChildAdd(Dali::Actor &child);
28 virtual void OnChildAddSwigPublic(Dali::Actor &child) {
29 Dali::Toolkit::Internal::Control::OnChildAdd(child);
31 virtual void OnChildRemove(Dali::Actor &child);
32 virtual void OnChildRemoveSwigPublic(Dali::Actor &child) {
33 Dali::Toolkit::Internal::Control::OnChildRemove(child);
35 virtual void OnPropertySet(Dali::Property::Index index, Dali::Property::Value propertyValue);
36 virtual void OnPropertySetSwigPublic(Dali::Property::Index index, Dali::Property::Value propertyValue) {
37 Dali::Toolkit::Internal::Control::OnPropertySet(index,propertyValue);
39 virtual void OnSizeSet(Dali::Vector3 const &targetSize);
40 virtual void OnSizeSetSwigPublic(Dali::Vector3 const &targetSize) {
41 Dali::Toolkit::Internal::Control::OnSizeSet(targetSize);
43 virtual void OnSizeAnimation(Dali::Animation &animation, Dali::Vector3 const &targetSize);
44 virtual void OnSizeAnimationSwigPublic(Dali::Animation &animation, Dali::Vector3 const &targetSize) {
45 Dali::Toolkit::Internal::Control::OnSizeAnimation(animation,targetSize);
47 virtual bool OnTouchEvent(Dali::TouchEvent const &event);
48 virtual bool OnTouchEventSwigPublic(Dali::TouchEvent const &event) {
49 return Dali::Toolkit::Internal::Control::OnTouchEvent(event);
51 virtual bool OnHoverEvent(Dali::HoverEvent const &event);
52 virtual bool OnHoverEventSwigPublic(Dali::HoverEvent const &event) {
53 return Dali::Toolkit::Internal::Control::OnHoverEvent(event);
55 virtual bool OnKeyEvent(Dali::KeyEvent const &event);
56 virtual bool OnKeyEventSwigPublic(Dali::KeyEvent const &event) {
57 return Dali::Toolkit::Internal::Control::OnKeyEvent(event);
59 virtual bool OnWheelEvent(Dali::WheelEvent const &event);
60 virtual bool OnWheelEventSwigPublic(Dali::WheelEvent const &event) {
61 return Dali::Toolkit::Internal::Control::OnWheelEvent(event);
63 virtual void OnRelayout(Dali::Vector2 const &size, Dali::RelayoutContainer &container);
64 virtual void OnRelayoutSwigPublic(Dali::Vector2 const &size, Dali::RelayoutContainer &container) {
65 Dali::Toolkit::Internal::Control::OnRelayout(size,container);
67 virtual void OnSetResizePolicy(Dali::ResizePolicy::Type policy, Dali::Dimension::Type dimension);
68 virtual void OnSetResizePolicySwigPublic(Dali::ResizePolicy::Type policy, Dali::Dimension::Type dimension) {
69 Dali::Toolkit::Internal::Control::OnSetResizePolicy(policy,dimension);
71 virtual Dali::Vector3 GetNaturalSize();
72 virtual Dali::Vector3 GetNaturalSizeSwigPublic() {
73 return Dali::Toolkit::Internal::Control::GetNaturalSize();
75 virtual float CalculateChildSize(Dali::Actor const &child, Dali::Dimension::Type dimension);
76 virtual float CalculateChildSizeSwigPublic(Dali::Actor const &child, Dali::Dimension::Type dimension) {
77 return Dali::Toolkit::Internal::Control::CalculateChildSize(child,dimension);
79 virtual float GetHeightForWidth(float width);
80 virtual float GetHeightForWidthSwigPublic(float width) {
81 return Dali::Toolkit::Internal::Control::GetHeightForWidth(width);
83 virtual float GetWidthForHeight(float height);
84 virtual float GetWidthForHeightSwigPublic(float height) {
85 return Dali::Toolkit::Internal::Control::GetWidthForHeight(height);
87 virtual bool RelayoutDependentOnChildren(Dali::Dimension::Type dimension = Dali::Dimension::ALL_DIMENSIONS);
88 virtual bool RelayoutDependentOnChildrenSwigPublic(Dali::Dimension::Type dimension = Dali::Dimension::ALL_DIMENSIONS) {
89 return Dali::Toolkit::Internal::Control::RelayoutDependentOnChildren(dimension);
91 virtual void OnCalculateRelayoutSize(Dali::Dimension::Type dimension);
92 virtual void OnCalculateRelayoutSizeSwigPublic(Dali::Dimension::Type dimension) {
93 Dali::Toolkit::Internal::Control::OnCalculateRelayoutSize(dimension);
95 virtual void OnLayoutNegotiated(float size, Dali::Dimension::Type dimension);
96 virtual void OnLayoutNegotiatedSwigPublic(float size, Dali::Dimension::Type dimension) {
97 Dali::Toolkit::Internal::Control::OnLayoutNegotiated(size,dimension);
99 virtual Dali::CustomActorImpl::Extension *GetExtension();
100 virtual void OnInitialize();
101 virtual void OnControlChildAdd(Dali::Actor &child);
102 virtual void OnControlChildRemove(Dali::Actor &child);
103 virtual void OnStyleChange(Dali::Toolkit::StyleManager styleManager, Dali::StyleChange::Type change);
104 virtual bool OnAccessibilityActivated();
105 virtual bool OnAccessibilityPan(Dali::PanGesture gesture);
106 virtual bool OnAccessibilityTouch(Dali::TouchEvent const &touchEvent);
107 virtual bool OnAccessibilityValueChange(bool isIncrease);
108 virtual bool OnAccessibilityZoom();
109 virtual void OnKeyInputFocusGained();
110 virtual void OnKeyInputFocusLost();
111 virtual Dali::Actor GetNextKeyboardFocusableActor(Dali::Actor currentFocusedActor, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled);
112 virtual void OnKeyboardFocusChangeCommitted(Dali::Actor commitedFocusableActor);
113 virtual bool OnKeyboardEnter();
114 virtual void OnPinch(Dali::PinchGesture const &pinch);
115 virtual void OnPan(Dali::PanGesture const &pan);
116 virtual void OnTap(Dali::TapGesture const &tap);
117 virtual void OnLongPress(Dali::LongPressGesture const &longPress);
118 virtual void SignalConnected(Dali::SlotObserver *slotObserver, Dali::CallbackBase *callback);
119 virtual void SignalDisconnected(Dali::SlotObserver *slotObserver, Dali::CallbackBase *callback);
120 virtual Dali::Toolkit::Internal::Control::Extension *GetControlExtension();
122 typedef void (SWIGSTDCALL* SWIG_Callback0_t)(int);
123 typedef void (SWIGSTDCALL* SWIG_Callback1_t)();
124 typedef void (SWIGSTDCALL* SWIG_Callback2_t)(void *);
125 typedef void (SWIGSTDCALL* SWIG_Callback3_t)(void *);
126 typedef void (SWIGSTDCALL* SWIG_Callback4_t)(int, void *);
127 typedef void (SWIGSTDCALL* SWIG_Callback5_t)(void *);
128 typedef void (SWIGSTDCALL* SWIG_Callback6_t)(void *, void *);
129 typedef unsigned int (SWIGSTDCALL* SWIG_Callback7_t)(void *);
130 typedef unsigned int (SWIGSTDCALL* SWIG_Callback8_t)(void *);
131 typedef unsigned int (SWIGSTDCALL* SWIG_Callback9_t)(void *);
132 typedef unsigned int (SWIGSTDCALL* SWIG_Callback10_t)(void *);
133 typedef void (SWIGSTDCALL* SWIG_Callback11_t)(void *, void *);
134 typedef void (SWIGSTDCALL* SWIG_Callback12_t)(int, int);
135 typedef void * (SWIGSTDCALL* SWIG_Callback13_t)();
136 typedef float (SWIGSTDCALL* SWIG_Callback14_t)(void *, int);
137 typedef float (SWIGSTDCALL* SWIG_Callback15_t)(float);
138 typedef float (SWIGSTDCALL* SWIG_Callback16_t)(float);
139 typedef unsigned int (SWIGSTDCALL* SWIG_Callback17_t)(int);
140 typedef unsigned int (SWIGSTDCALL* SWIG_Callback18_t)();
141 typedef void (SWIGSTDCALL* SWIG_Callback19_t)(int);
142 typedef void (SWIGSTDCALL* SWIG_Callback20_t)(float, int);
143 typedef void (SWIGSTDCALL* SWIG_Callback21_t)();
144 typedef void (SWIGSTDCALL* SWIG_Callback22_t)(void *);
145 typedef void (SWIGSTDCALL* SWIG_Callback23_t)(void *);
146 typedef void (SWIGSTDCALL* SWIG_Callback24_t)(void *, int);
147 typedef unsigned int (SWIGSTDCALL* SWIG_Callback25_t)();
148 typedef unsigned int (SWIGSTDCALL* SWIG_Callback26_t)(void *);
149 typedef unsigned int (SWIGSTDCALL* SWIG_Callback27_t)(void *);
150 typedef unsigned int (SWIGSTDCALL* SWIG_Callback28_t)(unsigned int);
151 typedef unsigned int (SWIGSTDCALL* SWIG_Callback29_t)();
152 typedef void (SWIGSTDCALL* SWIG_Callback30_t)();
153 typedef void (SWIGSTDCALL* SWIG_Callback31_t)();
154 typedef void * (SWIGSTDCALL* SWIG_Callback32_t)(void *, int, unsigned int);
155 typedef void (SWIGSTDCALL* SWIG_Callback33_t)(void *);
156 typedef unsigned int (SWIGSTDCALL* SWIG_Callback34_t)();
157 typedef void (SWIGSTDCALL* SWIG_Callback35_t)(void *);
158 typedef void (SWIGSTDCALL* SWIG_Callback36_t)(void *);
159 typedef void (SWIGSTDCALL* SWIG_Callback37_t)(void *);
160 typedef void (SWIGSTDCALL* SWIG_Callback38_t)(void *);
161 typedef void (SWIGSTDCALL* SWIG_Callback39_t)(void *, void *);
162 typedef void (SWIGSTDCALL* SWIG_Callback40_t)(void *, void *);
163 void swig_connect_director(SWIG_Callback0_t callbackOnStageConnection, SWIG_Callback1_t callbackOnStageDisconnection, SWIG_Callback2_t callbackOnChildAdd, SWIG_Callback3_t callbackOnChildRemove, SWIG_Callback4_t callbackOnPropertySet, SWIG_Callback5_t callbackOnSizeSet, SWIG_Callback6_t callbackOnSizeAnimation, SWIG_Callback7_t callbackOnTouchEvent, SWIG_Callback8_t callbackOnHoverEvent, SWIG_Callback9_t callbackOnKeyEvent, SWIG_Callback10_t callbackOnWheelEvent, SWIG_Callback11_t callbackOnRelayout, SWIG_Callback12_t callbackOnSetResizePolicy, SWIG_Callback13_t callbackGetNaturalSize, SWIG_Callback14_t callbackCalculateChildSize, SWIG_Callback15_t callbackGetHeightForWidth, SWIG_Callback16_t callbackGetWidthForHeight, SWIG_Callback17_t callbackRelayoutDependentOnChildren__SWIG_0, SWIG_Callback18_t callbackRelayoutDependentOnChildren__SWIG_1, SWIG_Callback19_t callbackOnCalculateRelayoutSize, SWIG_Callback20_t callbackOnLayoutNegotiated, SWIG_Callback21_t callbackOnInitialize, SWIG_Callback22_t callbackOnControlChildAdd, SWIG_Callback23_t callbackOnControlChildRemove, SWIG_Callback24_t callbackOnStyleChange, SWIG_Callback25_t callbackOnAccessibilityActivated, SWIG_Callback26_t callbackOnAccessibilityPan, SWIG_Callback27_t callbackOnAccessibilityTouch, SWIG_Callback28_t callbackOnAccessibilityValueChange, SWIG_Callback29_t callbackOnAccessibilityZoom, SWIG_Callback30_t callbackOnKeyInputFocusGained, SWIG_Callback31_t callbackOnKeyInputFocusLost, SWIG_Callback32_t callbackGetNextKeyboardFocusableActor, SWIG_Callback33_t callbackOnKeyboardFocusChangeCommitted, SWIG_Callback34_t callbackOnKeyboardEnter, SWIG_Callback35_t callbackOnPinch, SWIG_Callback36_t callbackOnPan, SWIG_Callback37_t callbackOnTap, SWIG_Callback38_t callbackOnLongPress, SWIG_Callback39_t callbackSignalConnected, SWIG_Callback40_t callbackSignalDisconnected);
166 SWIG_Callback0_t swig_callbackOnStageConnection;
167 SWIG_Callback1_t swig_callbackOnStageDisconnection;
168 SWIG_Callback2_t swig_callbackOnChildAdd;
169 SWIG_Callback3_t swig_callbackOnChildRemove;
170 SWIG_Callback4_t swig_callbackOnPropertySet;
171 SWIG_Callback5_t swig_callbackOnSizeSet;
172 SWIG_Callback6_t swig_callbackOnSizeAnimation;
173 SWIG_Callback7_t swig_callbackOnTouchEvent;
174 SWIG_Callback8_t swig_callbackOnHoverEvent;
175 SWIG_Callback9_t swig_callbackOnKeyEvent;
176 SWIG_Callback10_t swig_callbackOnWheelEvent;
177 SWIG_Callback11_t swig_callbackOnRelayout;
178 SWIG_Callback12_t swig_callbackOnSetResizePolicy;
179 SWIG_Callback13_t swig_callbackGetNaturalSize;
180 SWIG_Callback14_t swig_callbackCalculateChildSize;
181 SWIG_Callback15_t swig_callbackGetHeightForWidth;
182 SWIG_Callback16_t swig_callbackGetWidthForHeight;
183 SWIG_Callback17_t swig_callbackRelayoutDependentOnChildren__SWIG_0;
184 SWIG_Callback18_t swig_callbackRelayoutDependentOnChildren__SWIG_1;
185 SWIG_Callback19_t swig_callbackOnCalculateRelayoutSize;
186 SWIG_Callback20_t swig_callbackOnLayoutNegotiated;
187 SWIG_Callback21_t swig_callbackOnInitialize;
188 SWIG_Callback22_t swig_callbackOnControlChildAdd;
189 SWIG_Callback23_t swig_callbackOnControlChildRemove;
190 SWIG_Callback24_t swig_callbackOnStyleChange;
191 SWIG_Callback25_t swig_callbackOnAccessibilityActivated;
192 SWIG_Callback26_t swig_callbackOnAccessibilityPan;
193 SWIG_Callback27_t swig_callbackOnAccessibilityTouch;
194 SWIG_Callback28_t swig_callbackOnAccessibilityValueChange;
195 SWIG_Callback29_t swig_callbackOnAccessibilityZoom;
196 SWIG_Callback30_t swig_callbackOnKeyInputFocusGained;
197 SWIG_Callback31_t swig_callbackOnKeyInputFocusLost;
198 SWIG_Callback32_t swig_callbackGetNextKeyboardFocusableActor;
199 SWIG_Callback33_t swig_callbackOnKeyboardFocusChangeCommitted;
200 SWIG_Callback34_t swig_callbackOnKeyboardEnter;
201 SWIG_Callback35_t swig_callbackOnPinch;
202 SWIG_Callback36_t swig_callbackOnPan;
203 SWIG_Callback37_t swig_callbackOnTap;
204 SWIG_Callback38_t swig_callbackOnLongPress;
205 SWIG_Callback39_t swig_callbackSignalConnected;
206 SWIG_Callback40_t swig_callbackSignalDisconnected;
207 void swig_init_callbacks();
210 class SwigDirector_ItemFactory : public Dali::Toolkit::ItemFactory, public Swig::Director {
213 SwigDirector_ItemFactory();
214 virtual ~SwigDirector_ItemFactory();
215 virtual unsigned int GetNumberOfItems();
216 virtual Dali::Actor NewItem(unsigned int itemId);
217 virtual void ItemReleased(unsigned int itemId, Dali::Actor actor);
218 virtual Dali::Toolkit::ItemFactory::Extension *GetExtension();
220 typedef unsigned int (SWIGSTDCALL* SWIG_Callback0_t)();
221 typedef void * (SWIGSTDCALL* SWIG_Callback1_t)(unsigned int);
222 typedef void (SWIGSTDCALL* SWIG_Callback2_t)(unsigned int, void *);
223 void swig_connect_director(SWIG_Callback0_t callbackGetNumberOfItems, SWIG_Callback1_t callbackNewItem, SWIG_Callback2_t callbackItemReleased);
226 SWIG_Callback0_t swig_callbackGetNumberOfItems;
227 SWIG_Callback1_t swig_callbackNewItem;
228 SWIG_Callback2_t swig_callbackItemReleased;
229 void swig_init_callbacks();