diff options
author | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2016-06-02 09:30:48 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2016-06-02 09:30:48 +0200 |
commit | 2857a6fb98191e7e402435b8b4c023369a2cb2ad (patch) | |
tree | 4f7a519621ba618aee3735ad6df9e3a315d5fef1 /gio/src/bufferedinputstream.hg | |
parent | 81e2e2ae9f30dd7404f2368f50610d964257ad26 (diff) | |
download | glibmm-2857a6fb98191e7e402435b8b4c023369a2cb2ad.tar.gz |
Wrap some constructors and methods in giomm streams
Also, add TODO comments about adding vfuncs at ABI break.
* gio/src/bufferedinputstream.hg: TODO: Add fill_vfunc().
* gio/src/filterinputstream.[hg|ccg]: Add ctor.
* gio/src/filteroutputstream.[hg|ccg]: Add ctor.
* gio/src/inputstream.hg: Add ctor, is_closed(), has_pending(),
set_pending(), clear_pending(). TODO: Add read_vfunc(), skip_vfunc(),
close_vfunc().
* gio/src/memoryoutputstream.[hg|ccg]: Add ctor and create().
* gio/src/outputstream.hg: Add ctor, is_closed(), is_closing(), has_pending(),
set_pending(), clear_pending(). TODO: Add write_vfunc(), splice_vfunc(),
flush_vfunc(), close_vfunc().
An updated version of a patch by Krzysztof KosiĆski <tweenk.pl@gmail.com>
Bug #572471
Diffstat (limited to 'gio/src/bufferedinputstream.hg')
-rw-r--r-- | gio/src/bufferedinputstream.hg | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gio/src/bufferedinputstream.hg b/gio/src/bufferedinputstream.hg index d940f43b..9661d1ec 100644 --- a/gio/src/bufferedinputstream.hg +++ b/gio/src/bufferedinputstream.hg @@ -1,5 +1,3 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - /* Copyright (C) 2008 The gtkmm Development Team * * This library is free software; you can redistribute it and/or @@ -109,9 +107,9 @@ public: _WRAP_PROPERTY("buffer-size", guint) protected: + //TODO: When we can break ABI, add vfunc. See https://bugzilla.gnome.org/show_bug.cgi?id=572471 #m4 _CONVERSION(`GCancellable*', `const Glib::RefPtr<Cancellable>&', `Glib::wrap($3, true)') - //_WRAP_VFUNC(gssize fill(gssize count, const Glib::RefPtr<Cancellable>& cancellable, GError** error), "fill") - + //_WRAP_VFUNC(gssize fill(gssize count, const Glib::RefPtr<Cancellable>& cancellable), fill, errthrow, err_return_value -1) }; } // namespace Gio |