2016-04-20 02:11:21 -07:00
|
|
|
import ecore_types;
|
2016-02-16 05:55:20 -08:00
|
|
|
|
2014-06-26 11:37:40 -07:00
|
|
|
class Ecore.Job (Eo.Base)
|
2014-03-23 07:02:19 -07:00
|
|
|
{
|
2016-04-14 09:17:01 -07:00
|
|
|
[[Ecore Jobs are queued until the main loop dealt with the current event.
|
|
|
|
|
|
|
|
Jobs are processed by the main loop similarly to events. They also will
|
|
|
|
be executed in the order in which they were added.
|
|
|
|
]]
|
|
|
|
|
2014-03-23 07:02:19 -07:00
|
|
|
eo_prefix: ecore_job;
|
2014-08-27 07:01:09 -07:00
|
|
|
methods {
|
2014-09-01 07:53:35 -07:00
|
|
|
constructor {
|
2015-06-08 09:36:23 -07:00
|
|
|
[[Constructor.]]
|
2014-08-27 07:01:09 -07:00
|
|
|
legacy: null;
|
2014-03-23 07:02:19 -07:00
|
|
|
params {
|
2016-04-14 09:17:01 -07:00
|
|
|
@in func: Ecore_Cb; [[Ecore job to be queued callback function.]]
|
|
|
|
@in data: const(void)*; [[Private data passed to callback function.]]
|
2014-03-23 07:02:19 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 03:14:59 -07:00
|
|
|
Eo.Base.destructor;
|
2015-05-20 06:56:45 -07:00
|
|
|
Eo.Base.finalize;
|
2014-03-23 07:02:19 -07:00
|
|
|
}
|
2014-09-01 07:53:35 -07:00
|
|
|
constructors {
|
|
|
|
.constructor;
|
|
|
|
}
|
2014-06-26 11:37:40 -07:00
|
|
|
}
|