2016-06-05 22:54:36 -07:00
|
|
|
|
|
|
|
struct Generic.Event
|
|
|
|
{
|
|
|
|
field1: int;
|
2019-07-08 07:15:41 -07:00
|
|
|
field2: list<string>;
|
2016-06-05 22:54:36 -07:00
|
|
|
}
|
2016-02-18 02:06:33 -08:00
|
|
|
|
2018-12-14 12:52:56 -08:00
|
|
|
class Generic extends Efl.Object implements Generic_Interface
|
2015-03-26 07:48:09 -07:00
|
|
|
{
|
|
|
|
data: Generic_Data;
|
2015-05-07 08:36:45 -07:00
|
|
|
methods {
|
|
|
|
@property req_ctor_a_value {
|
2015-03-26 07:48:09 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:13:08 -07:00
|
|
|
value: int;
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 08:36:45 -07:00
|
|
|
@property opt_ctor_a_value {
|
2015-03-26 07:48:09 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:13:08 -07:00
|
|
|
value: int;
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
required_ctor_a {
|
|
|
|
params {
|
2015-05-18 08:13:08 -07:00
|
|
|
@in value: int;
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
required_ctor_b {
|
|
|
|
params {
|
2016-06-05 22:54:36 -07:00
|
|
|
@in value: int;
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
optional_ctor_a {
|
|
|
|
params {
|
2015-05-18 08:13:08 -07:00
|
|
|
@in value: int;
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
optional_ctor_b {
|
|
|
|
params {
|
2016-06-05 22:54:36 -07:00
|
|
|
@in value: int;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@property req_ctor_b_value {
|
|
|
|
get {}
|
|
|
|
values {
|
|
|
|
value: int;
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
|
|
|
}
|
2016-06-05 22:54:36 -07:00
|
|
|
@property opt_ctor_b_value {
|
|
|
|
get {}
|
|
|
|
values {
|
|
|
|
value: int;
|
|
|
|
}
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
2016-06-05 22:54:36 -07:00
|
|
|
out_required_ctor_a {
|
|
|
|
params {
|
|
|
|
@out value: int;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
out_required_ctor_b {
|
|
|
|
params {
|
|
|
|
@out value: int;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
out_optional_ctor_a {
|
|
|
|
params {
|
|
|
|
@out value: int;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
out_optional_ctor_b {
|
|
|
|
params {
|
|
|
|
@out value: int;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
call_event1 {
|
|
|
|
}
|
|
|
|
call_event2 {
|
|
|
|
}
|
|
|
|
call_event3 {
|
|
|
|
}
|
|
|
|
call_event4 {
|
|
|
|
}
|
|
|
|
call_event5 {
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
2016-06-15 08:19:10 -07:00
|
|
|
|
|
|
|
protected_method1 @protected {
|
|
|
|
}
|
|
|
|
beta_method1 @beta {
|
|
|
|
}
|
|
|
|
protected_beta_method1 @protected @beta {
|
|
|
|
}
|
2019-07-26 04:02:21 -07:00
|
|
|
event_param {
|
|
|
|
params {
|
|
|
|
value: event;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const_event_param {
|
|
|
|
params {
|
|
|
|
value: const(event);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
binbuf_param {
|
|
|
|
params {
|
|
|
|
value: binbuf;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const_binbuf_param {
|
|
|
|
params {
|
|
|
|
value: const(binbuf);
|
|
|
|
}
|
|
|
|
}
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
|
|
|
constructors {
|
|
|
|
.required_ctor_a;
|
|
|
|
.required_ctor_b;
|
|
|
|
.optional_ctor_a @optional;
|
|
|
|
.optional_ctor_b @optional;
|
|
|
|
}
|
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|
2016-06-05 22:54:36 -07:00
|
|
|
events {
|
efl: Add missing event types
Summary:
All events must have a type now, otherwise bindings don't know how to handle
the event_info field.
Most of the missing event types were actually "void" (no event_info present).
Some struct definitions had to be moved to eo instead of h files, so they
are available to bindings. Some have not, and are marked with FIXME.
Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb).
In general, there are hundreds of changed files, but mostly to add a type which
was not present before, so there's no harm done.
Also, A lot of FIXMEs have been added which should be, like, fixed.
For example, some events can send different types of event_info, which is
very inconvenient (and error prone).
Test Plan: make with c# bindings works, make check and make examples work too.
Reviewers: cedric, q66, lauromoura
Subscribers: zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6169
2018-05-11 08:20:40 -07:00
|
|
|
prefix,event1: void;
|
2016-06-05 22:54:36 -07:00
|
|
|
prefix,event2: Generic;
|
|
|
|
prefix,event3: int;
|
2019-07-08 07:15:41 -07:00
|
|
|
prefix,event4: const(array<string>);
|
2016-06-05 22:54:36 -07:00
|
|
|
prefix,event5: Generic.Event;
|
efl: Add missing event types
Summary:
All events must have a type now, otherwise bindings don't know how to handle
the event_info field.
Most of the missing event types were actually "void" (no event_info present).
Some struct definitions had to be moved to eo instead of h files, so they
are available to bindings. Some have not, and are marked with FIXME.
Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb).
In general, there are hundreds of changed files, but mostly to add a type which
was not present before, so there's no harm done.
Also, A lot of FIXMEs have been added which should be, like, fixed.
For example, some events can send different types of event_info, which is
very inconvenient (and error prone).
Test Plan: make with c# bindings works, make check and make examples work too.
Reviewers: cedric, q66, lauromoura
Subscribers: zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6169
2018-05-11 08:20:40 -07:00
|
|
|
protected,event1 @protected: void;
|
|
|
|
beta,event1 @beta: void;
|
|
|
|
protected,beta,event1 @beta @protected: void;
|
2016-06-05 22:54:36 -07:00
|
|
|
}
|
2015-03-26 07:48:09 -07:00
|
|
|
}
|