summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_line_eo.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_line_eo.hh')
-rw-r--r--src/lib/evas/canvas/evas_line_eo.hh337
1 files changed, 337 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_line_eo.hh b/src/lib/evas/canvas/evas_line_eo.hh
new file mode 100644
index 0000000..63ca84f
--- /dev/null
+++ b/src/lib/evas/canvas/evas_line_eo.hh
@@ -0,0 +1,337 @@
1#ifndef EVAS_LINE_EO_HH
2#define EVAS_LINE_EO_HH
3#include <Eo.h>
4
5extern "C" {
6#include "efl_canvas_object.eo.h"
7#include "efl_canvas_pointer.eo.h"
8#include "efl_class.eo.h"
9#include "efl_gfx_color.eo.h"
10#include "efl_gfx_entity.eo.h"
11#include "efl_gfx_hint.eo.h"
12#include "efl_gfx_mapping.eo.h"
13#include "efl_gfx_stack.eo.h"
14#include "efl_input_device.eo.h"
15#include "efl_input_focus.eo.h"
16#include "efl_input_hold.eo.h"
17#include "efl_input_interface.eo.h"
18#include "efl_input_key.eo.h"
19#include "efl_input_pointer.eo.h"
20#include "efl_loop.eo.h"
21#include "efl_loop_consumer.eo.h"
22#include "efl_object.eo.h"
23#include "efl_ui_i18n.eo.h"
24#include "evas_line_eo.h"
25}
26#include <Eina.hh>
27#include <Eo.hh>
28#include "efl_canvas_object.eo.hh"
29#include "efl_canvas_pointer.eo.hh"
30#include "efl_class.eo.hh"
31#include "efl_gfx_color.eo.hh"
32#include "efl_gfx_entity.eo.hh"
33#include "efl_gfx_hint.eo.hh"
34#include "efl_gfx_mapping.eo.hh"
35#include "efl_gfx_stack.eo.hh"
36#include "efl_input_device.eo.hh"
37#include "efl_input_focus.eo.hh"
38#include "efl_input_hold.eo.hh"
39#include "efl_input_interface.eo.hh"
40#include "efl_input_key.eo.hh"
41#include "efl_input_pointer.eo.hh"
42#include "efl_loop.eo.hh"
43#include "efl_loop_consumer.eo.hh"
44#include "efl_object.eo.hh"
45#include "efl_ui_i18n.eo.hh"
46#ifndef EVAS_LINE_FWD_GUARD
47#define EVAS_LINE_FWD_GUARD
48namespace evas {
49struct Line;
50}
51namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Line> : ::std::true_type {}; } }
52namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Line&> : ::std::true_type {}; } }
53namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Line const> : ::std::true_type {}; } }
54namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Line const&> : ::std::true_type {}; } }
55#endif
56#ifndef EFL_CLASS_FWD_GUARD
57#define EFL_CLASS_FWD_GUARD
58namespace efl {
59struct Class;
60}
61namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class> : ::std::true_type {}; } }
62namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class&> : ::std::true_type {}; } }
63namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const> : ::std::true_type {}; } }
64namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const&> : ::std::true_type {}; } }
65#endif
66#ifndef EFL_GFX_COLOR_FWD_GUARD
67#define EFL_GFX_COLOR_FWD_GUARD
68namespace efl { namespace gfx {
69struct Color;
70} }
71namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color> : ::std::true_type {}; } }
72namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color&> : ::std::true_type {}; } }
73namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const> : ::std::true_type {}; } }
74namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Color const&> : ::std::true_type {}; } }
75#endif
76#ifndef EFL_INPUT_DEVICE_FWD_GUARD
77#define EFL_INPUT_DEVICE_FWD_GUARD
78namespace efl { namespace input {
79struct Device;
80} }
81namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device> : ::std::true_type {}; } }
82namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device&> : ::std::true_type {}; } }
83namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const> : ::std::true_type {}; } }
84namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const&> : ::std::true_type {}; } }
85#endif
86#ifndef EFL_GFX_ENTITY_FWD_GUARD
87#define EFL_GFX_ENTITY_FWD_GUARD
88namespace efl { namespace gfx {
89struct Entity;
90} }
91namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } }
92namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } }
93namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } }
94namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } }
95#endif
96#ifndef EFL_GFX_HINT_FWD_GUARD
97#define EFL_GFX_HINT_FWD_GUARD
98namespace efl { namespace gfx {
99struct Hint;
100} }
101namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint> : ::std::true_type {}; } }
102namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint&> : ::std::true_type {}; } }
103namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const> : ::std::true_type {}; } }
104namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Hint const&> : ::std::true_type {}; } }
105#endif
106#ifndef EFL_INPUT_FOCUS_FWD_GUARD
107#define EFL_INPUT_FOCUS_FWD_GUARD
108namespace efl { namespace input {
109struct Focus;
110} }
111namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus> : ::std::true_type {}; } }
112namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus&> : ::std::true_type {}; } }
113namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const> : ::std::true_type {}; } }
114namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const&> : ::std::true_type {}; } }
115#endif
116#ifndef EFL_INPUT_HOLD_FWD_GUARD
117#define EFL_INPUT_HOLD_FWD_GUARD
118namespace efl { namespace input {
119struct Hold;
120} }
121namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold> : ::std::true_type {}; } }
122namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold&> : ::std::true_type {}; } }
123namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const> : ::std::true_type {}; } }
124namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const&> : ::std::true_type {}; } }
125#endif
126#ifndef EFL_UI_I18N_FWD_GUARD
127#define EFL_UI_I18N_FWD_GUARD
128namespace efl { namespace ui {
129struct I18n;
130} }
131namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n> : ::std::true_type {}; } }
132namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n&> : ::std::true_type {}; } }
133namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const> : ::std::true_type {}; } }
134namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::I18n const&> : ::std::true_type {}; } }
135#endif
136#ifndef EFL_INPUT_INTERFACE_FWD_GUARD
137#define EFL_INPUT_INTERFACE_FWD_GUARD
138namespace efl { namespace input {
139struct Interface;
140} }
141namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface> : ::std::true_type {}; } }
142namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface&> : ::std::true_type {}; } }
143namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const> : ::std::true_type {}; } }
144namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const&> : ::std::true_type {}; } }
145#endif
146#ifndef EFL_INPUT_KEY_FWD_GUARD
147#define EFL_INPUT_KEY_FWD_GUARD
148namespace efl { namespace input {
149struct Key;
150} }
151namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key> : ::std::true_type {}; } }
152namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key&> : ::std::true_type {}; } }
153namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const> : ::std::true_type {}; } }
154namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const&> : ::std::true_type {}; } }
155#endif
156#ifndef EFL_LOOP_FWD_GUARD
157#define EFL_LOOP_FWD_GUARD
158namespace efl {
159struct Loop;
160}
161namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop> : ::std::true_type {}; } }
162namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop&> : ::std::true_type {}; } }
163namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const> : ::std::true_type {}; } }
164namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const&> : ::std::true_type {}; } }
165#endif
166#ifndef EFL_LOOP_CONSUMER_FWD_GUARD
167#define EFL_LOOP_CONSUMER_FWD_GUARD
168namespace efl {
169struct Loop_Consumer;
170}
171namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer> : ::std::true_type {}; } }
172namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer&> : ::std::true_type {}; } }
173namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const> : ::std::true_type {}; } }
174namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const&> : ::std::true_type {}; } }
175#endif
176#ifndef EFL_GFX_MAPPING_FWD_GUARD
177#define EFL_GFX_MAPPING_FWD_GUARD
178namespace efl { namespace gfx {
179struct Mapping;
180} }
181namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping> : ::std::true_type {}; } }
182namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping&> : ::std::true_type {}; } }
183namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const> : ::std::true_type {}; } }
184namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Mapping const&> : ::std::true_type {}; } }
185#endif
186#ifndef EFL_OBJECT_FWD_GUARD
187#define EFL_OBJECT_FWD_GUARD
188namespace efl {
189struct Object;
190}
191namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } }
192namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } }
193namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } }
194namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } }
195#endif
196#ifndef EFL_CANVAS_OBJECT_FWD_GUARD
197#define EFL_CANVAS_OBJECT_FWD_GUARD
198namespace efl { namespace canvas {
199struct Object;
200} }
201namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object> : ::std::true_type {}; } }
202namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object&> : ::std::true_type {}; } }
203namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const> : ::std::true_type {}; } }
204namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const&> : ::std::true_type {}; } }
205#endif
206#ifndef EFL_CANVAS_POINTER_FWD_GUARD
207#define EFL_CANVAS_POINTER_FWD_GUARD
208namespace efl { namespace canvas {
209struct Pointer;
210} }
211namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer> : ::std::true_type {}; } }
212namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer&> : ::std::true_type {}; } }
213namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const> : ::std::true_type {}; } }
214namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const&> : ::std::true_type {}; } }
215#endif
216#ifndef EFL_INPUT_POINTER_FWD_GUARD
217#define EFL_INPUT_POINTER_FWD_GUARD
218namespace efl { namespace input {
219struct Pointer;
220} }
221namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer> : ::std::true_type {}; } }
222namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer&> : ::std::true_type {}; } }
223namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const> : ::std::true_type {}; } }
224namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const&> : ::std::true_type {}; } }
225#endif
226#ifndef EFL_GFX_STACK_FWD_GUARD
227#define EFL_GFX_STACK_FWD_GUARD
228namespace efl { namespace gfx {
229struct Stack;
230} }
231namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack> : ::std::true_type {}; } }
232namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack&> : ::std::true_type {}; } }
233namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const> : ::std::true_type {}; } }
234namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Stack const&> : ::std::true_type {}; } }
235#endif
236
237namespace eo_cxx {
238namespace evas {
239struct Line {
240 ::efl::eolian::return_traits<void>::type xy_get( ::efl::eolian::out_traits<int>::type x1, ::efl::eolian::out_traits<int>::type y1, ::efl::eolian::out_traits<int>::type x2, ::efl::eolian::out_traits<int>::type y2) const;
241 ::efl::eolian::return_traits<void>::type xy_set( ::efl::eolian::in_traits<int>::type x1, ::efl::eolian::in_traits<int>::type y1, ::efl::eolian::in_traits<int>::type x2, ::efl::eolian::in_traits<int>::type y2) const;
242 static Efl_Class const* _eo_class()
243 {
244 return EVAS_LINE_CLASS;
245 }
246 Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Line *>(this))); }
247 operator ::evas::Line() const;
248 operator ::evas::Line&();
249 operator ::evas::Line const&() const;
250 /// @cond LOCAL
251 ::efl::eolian::address_of_operator<Line, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
252 ::efl::eolian::address_of_operator<Line const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
253 /// @endcond
254};
255}
256}
257namespace evas {
258struct Line : private ::efl::eo::concrete
259 , EO_CXX_INHERIT(::efl::Loop_Consumer)
260 , EO_CXX_INHERIT(::efl::Object)
261 , EO_CXX_INHERIT(::efl::canvas::Object)
262 , EO_CXX_INHERIT(::efl::canvas::Pointer)
263 , EO_CXX_INHERIT(::efl::gfx::Color)
264 , EO_CXX_INHERIT(::efl::gfx::Entity)
265 , EO_CXX_INHERIT(::efl::gfx::Hint)
266 , EO_CXX_INHERIT(::efl::gfx::Mapping)
267 , EO_CXX_INHERIT(::efl::gfx::Stack)
268 , EO_CXX_INHERIT(::efl::input::Interface)
269 , EO_CXX_INHERIT(::efl::ui::I18n)
270{
271 explicit Line( ::Eo* eo)
272 : ::efl::eo::concrete(eo) {}
273 Line(std::nullptr_t)
274 : ::efl::eo::concrete(nullptr) {}
275 explicit Line() = default;
276 Line(Line const&) = default;
277 Line(Line&&) = default;
278 Line& operator=(Line const&) = default;
279 Line& operator=(Line&&) = default;
280 template <typename Derived>
281 Line(Derived&& derived
282 , typename std::enable_if<
283 ::efl::eo::is_eolian_object<Derived>::value
284 && std::is_base_of< Line, Derived>::value>::type* = 0)
285 : ::efl::eo::concrete(derived._eo_ptr()) {}
286
287 Line( ::efl::eo::instantiate_t)
288 {
289 ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
290 }
291 template <typename T>
292 explicit Line( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0)
293 {
294 ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
295 }
296 template <typename F> Line( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Line >::value>::type* = 0)
297 {
298 ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f));
299 }
300 template <typename T, typename F> Line( ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Line >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0)
301 {
302 ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f));
303 }
304
305 ::efl::eolian::return_traits<void>::type xy_get( ::efl::eolian::out_traits<int>::type x1, ::efl::eolian::out_traits<int>::type y1, ::efl::eolian::out_traits<int>::type x2, ::efl::eolian::out_traits<int>::type y2) const;
306 ::efl::eolian::return_traits<void>::type xy_set( ::efl::eolian::in_traits<int>::type x1, ::efl::eolian::in_traits<int>::type y1, ::efl::eolian::in_traits<int>::type x2, ::efl::eolian::in_traits<int>::type y2) const;
307 static Efl_Class const* _eo_class()
308 {
309 return EVAS_LINE_CLASS;
310 }
311 Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Line *>(this))); }
312 /// @cond LOCAL
313 ::efl::eolian::address_of_operator<Line, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Object, ::efl::canvas::Pointer, ::efl::gfx::Color, ::efl::gfx::Entity, ::efl::gfx::Hint, ::efl::gfx::Mapping, ::efl::gfx::Stack, ::efl::input::Interface, ::efl::ui::I18n> operator&() { return {this}; }
314 ::efl::eolian::address_of_operator<Line const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Object const , ::efl::canvas::Pointer const , ::efl::gfx::Color const , ::efl::gfx::Entity const , ::efl::gfx::Hint const , ::efl::gfx::Mapping const , ::efl::gfx::Stack const , ::efl::input::Interface const , ::efl::ui::I18n const > operator&() const { return {this}; }
315 /// @endcond
316 ::efl::eo::wref<Line> _get_wref() const { return ::efl::eo::wref<Line>(*this); }
317 ::efl::eo::concrete const& _get_concrete() const { return *this; }
318 ::efl::eo::concrete& _get_concrete() { return *this; }
319 using ::efl::eo::concrete::_eo_ptr;
320 using ::efl::eo::concrete::_release;
321 using ::efl::eo::concrete::_reset;
322 using ::efl::eo::concrete::_delete;
323 using ::efl::eo::concrete::operator bool;
324#ifdef EFL_CXXPERIMENTAL
325 const Line* operator->() const { return this; }
326 Line* operator->() { return this; }
327 operator Eo*() const { return _eo_ptr(); }
328#endif
329 friend bool operator==(Line const& lhs, Line const& rhs)
330 { return lhs._get_concrete() == rhs._get_concrete(); }
331 friend bool operator!=(Line const& lhs, Line const& rhs)
332 { return !(lhs == rhs); }
333};
334static_assert(sizeof(Line) == sizeof(Eo*), "");
335static_assert(std::is_standard_layout<Line>::value, "");
336}
337#endif