diff options
Diffstat (limited to 'src/lib/ecore/efl_threadio.eo')
-rw-r--r-- | src/lib/ecore/efl_threadio.eo | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/lib/ecore/efl_threadio.eo b/src/lib/ecore/efl_threadio.eo new file mode 100644 index 0000000000..1d3af45cdc --- /dev/null +++ b/src/lib/ecore/efl_threadio.eo @@ -0,0 +1,52 @@ +import efl_object; + +function EFlThreadIOCall { + [[ A Function to call on the "other end" of a thread obvject ]] + params { + @cref event: Efl.Event; [[ ]] + } +}; + +function EFlThreadIOCallSync { + [[ A Function to call on the "other end" of a thread obvject ]] + params { + @cref event: Efl.Event; [[ ]] + } + return: void_ptr; [[ ]] +}; + +mixin Efl.ThreadIO +{ + [[ ]] + methods { + @property indata { + set { } + get { } + values { + data: void_ptr; [[ ]] + } + } + @property outdata { + set { } + get { } + values { + data: void_ptr; [[ ]] + } + } + call { + params { + func: EFlThreadIOCall; [[ ]] + } + } + call_sync { + params { + func: EFlThreadIOCallSync; [[ ]] + } + return: void_ptr; [[ ]] + } + } + events { + } + implements { + } +} |