diff options
author | Stefan Schmidt <stefan@osg.samsung.com> | 2016-11-11 10:58:22 +0100 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2016-11-11 10:58:22 +0100 |
commit | 6a322b1b2c321d4eaaccddabd9eb1a28ac6accc3 (patch) | |
tree | 4428dba6e55f78b906c74bd84f42d7de9bb84f70 | |
parent | e056e0b1d1ee26175f8d2b05554bdf2d9f48c868 (diff) | |
download | efl-6a322b1b2c321d4eaaccddabd9eb1a28ac6accc3.tar.gz |
docs: ecore: finish up eo file docs in ecore
-rw-r--r-- | src/lib/ecore/ecore_exe.eo | 6 | ||||
-rw-r--r-- | src/lib/ecore/efl_io_closer_fd.eo | 3 | ||||
-rw-r--r-- | src/lib/ecore/efl_io_copier.eo | 11 | ||||
-rw-r--r-- | src/lib/ecore/efl_io_file.eo | 10 | ||||
-rw-r--r-- | src/lib/ecore/efl_io_positioner_fd.eo | 3 | ||||
-rw-r--r-- | src/lib/ecore/efl_io_reader_fd.eo | 3 | ||||
-rw-r--r-- | src/lib/ecore/efl_io_sizer_fd.eo | 3 | ||||
-rw-r--r-- | src/lib/ecore/efl_io_writer_fd.eo | 3 | ||||
-rw-r--r-- | src/lib/ecore/efl_loop.eo | 8 | ||||
-rw-r--r-- | src/lib/ecore/efl_loop_fd.eo | 6 | ||||
-rw-r--r-- | src/lib/ecore/efl_loop_timer.eo | 2 | ||||
-rw-r--r-- | src/lib/ecore/efl_loop_user.eo | 3 | ||||
-rw-r--r-- | src/lib/ecore/efl_promise.eo | 3 |
13 files changed, 36 insertions, 28 deletions
diff --git a/src/lib/ecore/ecore_exe.eo b/src/lib/ecore/ecore_exe.eo index b300b7ba18..09286fb91e 100644 --- a/src/lib/ecore/ecore_exe.eo +++ b/src/lib/ecore/ecore_exe.eo @@ -15,9 +15,9 @@ struct Ecore.Exe.Event_Data { [[Ecore exe event data structure]] exe: Efl.Object; [[The handle to the process. FIXME: should actually be Ecore.Exe, workaround cyclic]] - data: void_ptr; [[the raw binary data from the child process that was received]] - size: int; [[the size of this data in bytes]] - lines: ptr(Ecore.Exe.Event_Data.Line); [[an array of line data if line buffered, the last one has it's line member set to $NULL]] + data: void_ptr; [[The raw binary data from the child process that was received]] + size: int; [[The size of this data in bytes]] + lines: ptr(Ecore.Exe.Event_Data.Line); [[An array of line data if line buffered, the last one has it's line member set to $NULL]] } enum Ecore.Exe_Flags diff --git a/src/lib/ecore/efl_io_closer_fd.eo b/src/lib/ecore/efl_io_closer_fd.eo index 853f2b4562..67e60be54e 100644 --- a/src/lib/ecore/efl_io_closer_fd.eo +++ b/src/lib/ecore/efl_io_closer_fd.eo @@ -6,10 +6,11 @@ mixin Efl.Io.Closer.Fd (Efl.Io.Closer) { methods { @property closer_fd { + [[Closer file descriptor]] get {} set @protected {} values { - fd: int; + fd: int; [[File descriptor]] } } } diff --git a/src/lib/ecore/efl_io_copier.eo b/src/lib/ecore/efl_io_copier.eo index 04a0a8316d..a5e07ac280 100644 --- a/src/lib/ecore/efl_io_copier.eo +++ b/src/lib/ecore/efl_io_copier.eo @@ -30,7 +30,7 @@ class Efl.Io.Copier (Efl.Loop_User, Efl.Io.Closer) { [[Constructor-only property to set where to read data from]] } values { - source: Efl.Io.Reader; + source: Efl.Io.Reader; [[Reader source]] } } @@ -41,7 +41,7 @@ class Efl.Io.Copier (Efl.Loop_User, Efl.Io.Closer) { [[Constructor-only property to set where to write data to]] } values { - destination: Efl.Io.Writer; + destination: Efl.Io.Writer; [[Writer destination]] } } @@ -79,11 +79,12 @@ class Efl.Io.Copier (Efl.Loop_User, Efl.Io.Closer) { } @property progress { + [[Progress for read or write]] get { } values { - read: uint64 @optional; [[amount of bytes read from source]] - written: uint64 @optional; [[amount of bytes written to destination]] + read: uint64 @optional; [[Amount of bytes read from source]] + written: uint64 @optional; [[Amount of bytes written to destination]] total: uint64 @optional; [[If @.source is an Efl.Io.Sizer, its total size. Otherwise 0 to report unknown size]] } } @@ -109,7 +110,7 @@ class Efl.Io.Copier (Efl.Loop_User, Efl.Io.Closer) { The buffer is then owned by caller, which should call eina_binbuf_free() when it's done. ]] - return: free(own(ptr(Eina.Binbuf)), eina_binbuf_free) @warn_unused; + return: free(own(ptr(Eina.Binbuf)), eina_binbuf_free) @warn_unused; [[Binbuf]] } } diff --git a/src/lib/ecore/efl_io_file.eo b/src/lib/ecore/efl_io_file.eo index 841f173299..d09fb52bc0 100644 --- a/src/lib/ecore/efl_io_file.eo +++ b/src/lib/ecore/efl_io_file.eo @@ -10,7 +10,7 @@ class Efl.Io.File (Efl.Loop.Fd, Efl.File, Efl.Io.Reader.Fd, Efl.Io.Writer.Fd, Ef methods { @property flags { - [[bitwise OR'ed flags to open the file, like O_CREAT, O_APPEND... + [[Bitwise OR'ed flags to open the file, like O_CREAT, O_APPEND... Defaults to O_RDONLY | O_CLOEXEC. @@ -23,11 +23,11 @@ class Efl.Io.File (Efl.Loop.Fd, Efl.File, Efl.Io.Reader.Fd, Efl.Io.Writer.Fd, Ef } set { - [[constructor property to define flags to open the file]] + [[Constructor property to define flags to open the file]] } values { - flags: uint32; [[flags to open file, see man:open(2).]] + flags: uint32; [[Flags to open file, see man:open(2).]] } } @@ -36,11 +36,11 @@ class Efl.Io.File (Efl.Loop.Fd, Efl.File, Efl.Io.Reader.Fd, Efl.Io.Writer.Fd, Ef } set { - [[constructor property to define mode to open the file]] + [[Constructor property to define mode to open the file]] } values { - mode: uint32; [[mode to open file, see man:open(2).]] + mode: uint32; [[Mode to open file, see man:open(2).]] } } } diff --git a/src/lib/ecore/efl_io_positioner_fd.eo b/src/lib/ecore/efl_io_positioner_fd.eo index 475d938e6e..bbdaa57e62 100644 --- a/src/lib/ecore/efl_io_positioner_fd.eo +++ b/src/lib/ecore/efl_io_positioner_fd.eo @@ -6,10 +6,11 @@ mixin Efl.Io.Positioner.Fd (Efl.Io.Positioner) { methods { @property positioner_fd { + [[Positionier file descriptor]] get {} set @protected {} values { - fd: int; + fd: int; [[File descriptor]] } } } diff --git a/src/lib/ecore/efl_io_reader_fd.eo b/src/lib/ecore/efl_io_reader_fd.eo index 4d2a61ece8..08afa412c1 100644 --- a/src/lib/ecore/efl_io_reader_fd.eo +++ b/src/lib/ecore/efl_io_reader_fd.eo @@ -6,10 +6,11 @@ mixin Efl.Io.Reader.Fd (Efl.Io.Reader) { methods { @property reader_fd { + [[Reader file descriptor]] get {} set @protected {} values { - fd: int; + fd: int; [[File descriptor]] } } } diff --git a/src/lib/ecore/efl_io_sizer_fd.eo b/src/lib/ecore/efl_io_sizer_fd.eo index 82cbb87e31..c165e777b9 100644 --- a/src/lib/ecore/efl_io_sizer_fd.eo +++ b/src/lib/ecore/efl_io_sizer_fd.eo @@ -6,10 +6,11 @@ mixin Efl.Io.Sizer.Fd (Efl.Io.Sizer) { methods { @property sizer_fd { + [[Sizer file descriptor]] get {} set @protected {} values { - fd: int; + fd: int; [[File descriptor]] } } } diff --git a/src/lib/ecore/efl_io_writer_fd.eo b/src/lib/ecore/efl_io_writer_fd.eo index 7d793a2c7a..97e7d455bd 100644 --- a/src/lib/ecore/efl_io_writer_fd.eo +++ b/src/lib/ecore/efl_io_writer_fd.eo @@ -6,10 +6,11 @@ mixin Efl.Io.Writer.Fd (Efl.Io.Writer) { methods { @property writer_fd { + [[Writer file descriptor]] get {} set @protected {} values { - fd: int; + fd: int; [[File descriptor]] } } } diff --git a/src/lib/ecore/efl_loop.eo b/src/lib/ecore/efl_loop.eo index 18279d05cf..0f00720623 100644 --- a/src/lib/ecore/efl_loop.eo +++ b/src/lib/ecore/efl_loop.eo @@ -23,7 +23,7 @@ class Efl.Loop (Efl.Object) [[Points to the main loop instance of the application.]] get {} values { - main_loop: Efl.Loop; + main_loop: Efl.Loop; [[Application main loop]] } } @property app_efl_version { @@ -33,7 +33,7 @@ class Efl.Loop (Efl.Object) ]] get {} values { - version: ptr(const(Efl.Version)); + version: ptr(const(Efl.Version)); [[Efl version]] } } @property efl_version { @@ -43,7 +43,7 @@ class Efl.Loop (Efl.Object) ]] get {} values { - version: ptr(const(Efl.Version)); + version: ptr(const(Efl.Version)); [[Efl version]] } } iterate { @@ -53,7 +53,7 @@ class Efl.Loop (Efl.Object) iterate_may_block { [[Runs a single iteration of the main loop to process everything on the queue with block/non-blocking status.]] - return: int; + return: int; [[Return from single iteration run]] params { may_block: int; [[A flag if the main loop has a possibility of blocking.]] } diff --git a/src/lib/ecore/efl_loop_fd.eo b/src/lib/ecore/efl_loop_fd.eo index 4e0853f41a..0c1deb1fab 100644 --- a/src/lib/ecore/efl_loop_fd.eo +++ b/src/lib/ecore/efl_loop_fd.eo @@ -34,9 +34,9 @@ class Efl.Loop.Fd (Efl.Loop_User) } } events { - read; - write; - error; + read; [[Called when a read happened on the file descriptor]] + write; [[Called when a write happened on the file descriptor]] + error; [[Called when a error occurred on the file descriptor]] } implements { Efl.Object.constructor; diff --git a/src/lib/ecore/efl_loop_timer.eo b/src/lib/ecore/efl_loop_timer.eo index fbbbe348ce..baf661a002 100644 --- a/src/lib/ecore/efl_loop_timer.eo +++ b/src/lib/ecore/efl_loop_timer.eo @@ -25,7 +25,7 @@ class Efl.Loop.Timer (Efl.Loop_User) @property pending { [[Pending time regarding a timer.]] get { - return: double; + return: double; [[Pending time]] } } reset { diff --git a/src/lib/ecore/efl_loop_user.eo b/src/lib/ecore/efl_loop_user.eo index ec790de021..f126c57cef 100644 --- a/src/lib/ecore/efl_loop_user.eo +++ b/src/lib/ecore/efl_loop_user.eo @@ -6,7 +6,8 @@ class Efl.Loop_User (Efl.Object) eo_prefix: efl_loop; methods { loop_get { - return: Efl.Loop; + [[Get loop]] + return: Efl.Loop; [[Efl loop]] } } implements { diff --git a/src/lib/ecore/efl_promise.eo b/src/lib/ecore/efl_promise.eo index e78cad845d..acc6e749ee 100644 --- a/src/lib/ecore/efl_promise.eo +++ b/src/lib/ecore/efl_promise.eo @@ -2,6 +2,7 @@ import eina_types; class Efl.Promise (Efl.Loop_User) { + [[Efl promise class]] methods { progress_set { [[Update the progress and send it immediately to all connected Efl_Future. @@ -11,7 +12,7 @@ class Efl.Promise (Efl.Loop_User) of the function call. ]] params { - @in p: const(void_ptr); + @in p: const(void_ptr); [[Progress to be set]] } } @property future { |