aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Efl.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-08-23 20:03:10 -0300
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-08-23 20:17:13 -0300
commit86e87b2fd932a8199683f7bd1adfaba1c9f43d9a (patch)
tree1696c0acff294ed4b270dc5e7026004cad118b63 /src/Makefile_Efl.am
parentefl_io_copier_example: set loop as parent for Efl.Net.Dialer.Tcp (diff)
downloadefl-86e87b2fd932a8199683f7bd1adfaba1c9f43d9a.tar.gz
efl_io_queue: basic class to interact with Efl.Io interfaces.
The use of low-level interfaces such as Efl.Io.Reader and Efl.Io.Writer are not that user-friendly as they can handle partial data. Classes such as Efl.Io.Copier makes them easy to use, but they need a reader (source) or writer (destination) and in our examples we used fixed buffers or some existing streams (stdin/stdout/stderr, networking...). However, if interactively we need to produce some data to be sent, such as implementing some networking protocols, we'd have to write our own Efl.Io.Reader and Efl.Io.Writer classes to handle the buffering. Not anymore! With Efl.Io.Queue you can write stuff to it and it will buffer to memory. Once stuff is read, it will automatically remove those bytes from buffer.
Diffstat (limited to 'src/Makefile_Efl.am')
-rw-r--r--src/Makefile_Efl.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am
index 2ba7bf0ec4..a66ab6bd4d 100644
--- a/src/Makefile_Efl.am
+++ b/src/Makefile_Efl.am
@@ -52,6 +52,7 @@ efl_eolian_files = \
lib/efl/interfaces/efl_io_sizer.eo \
lib/efl/interfaces/efl_io_writer.eo \
lib/efl/interfaces/efl_io_buffer.eo \
+ lib/efl/interfaces/efl_io_queue.eo \
$(efl_eolian_legacy_files) \
$(NULL)
@@ -100,6 +101,7 @@ lib/efl/interfaces/efl_io_reader.c \
lib/efl/interfaces/efl_io_sizer.c \
lib/efl/interfaces/efl_io_writer.c \
lib/efl/interfaces/efl_io_buffer.c \
+lib/efl/interfaces/efl_io_queue.c \
$(NULL)
lib_efl_libefl_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl -I$(top_srcdir)/src/lib/efl @EFL_CFLAGS@ -DEFL_GFX_FILTER_BETA