aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/efl/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl/interfaces')
-rw-r--r--src/lib/efl/interfaces/efl_io_closer.c9
-rw-r--r--src/lib/efl/interfaces/efl_io_closer.eo20
2 files changed, 7 insertions, 22 deletions
diff --git a/src/lib/efl/interfaces/efl_io_closer.c b/src/lib/efl/interfaces/efl_io_closer.c
index 55b27f7b4d..1e93faf645 100644
--- a/src/lib/efl/interfaces/efl_io_closer.c
+++ b/src/lib/efl/interfaces/efl_io_closer.c
@@ -1,13 +1,4 @@
#include "config.h"
#include "Efl.h"
-EOLIAN static Eina_Bool
-_efl_io_closer_closed_set(Eo *obj, void *pd EINA_UNUSED, Eina_Bool is_closed)
-{
- if (is_closed)
- return efl_io_closer_close(obj) == 0;
-
- return EINA_FALSE;
-}
-
#include "interfaces/efl_io_closer.eo.c"
diff --git a/src/lib/efl/interfaces/efl_io_closer.eo b/src/lib/efl/interfaces/efl_io_closer.eo
index b7a6684fb6..2ba4323085 100644
--- a/src/lib/efl/interfaces/efl_io_closer.eo
+++ b/src/lib/efl/interfaces/efl_io_closer.eo
@@ -1,6 +1,6 @@
import eina_types;
-mixin Efl.Io.Closer {
+interface Efl.Io.Closer {
[[Generic interface for objects that can close themselves.
This interface allows external objects to transparently close an
@@ -12,10 +12,8 @@ mixin Efl.Io.Closer {
@since 1.19
]]
- data: null;
-
methods {
- close @pure_virtual {
+ close {
[[Closes the Input/Output object.
This operation will be executed immediately and may or
@@ -32,11 +30,7 @@ mixin Efl.Io.Closer {
@property closed {
[[If true will notify object was closed.]]
- get @pure_virtual { }
- set {
- [[If true, calls close()]]
- return: bool; [[$true if could close, $false if already closed or errors.]]
- }
+ get { }
values {
is_closed: bool; [[$true if closed, $false otherwise]]
}
@@ -49,8 +43,8 @@ mixin Efl.Io.Closer {
so they are not inherited by the processes (children or
self) doing exec().
]]
- get @pure_virtual { }
- set @pure_virtual {
+ get { }
+ set {
[[If $true, will close on exec() call.]]
return: bool; [[$true if could set, $false if not supported or failed.]]
}
@@ -65,8 +59,8 @@ mixin Efl.Io.Closer {
If the object was disconnected from its parent (including the main loop) without close,
this property will state whenever it should be closed or not.
]]
- get @pure_virtual { }
- set @pure_virtual { }
+ get { }
+ set { }
values {
close_on_invalidate: bool; [[$true if close on invalidate, $false otherwise]]
}