diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2010-11-04 00:44:46 -0400 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2010-11-04 00:44:46 -0400 |
commit | 17bec9e3e90a5669e125d633b8ef1bdbef0faf80 (patch) | |
tree | 8086851599799ba74de7b21f8b8b8b08cd0e6469 /gio/src/socket.hg | |
parent | 55328e55bf35297e548422f574ae365ddf999638 (diff) | |
download | glibmm-17bec9e3e90a5669e125d633b8ef1bdbef0faf80.tar.gz |
giomm: Wrap several unwrapped functions.
* gio/src/memoryoutputstream.hg: Added stream_steal_data(), and a
get_data() constant version.
* gio/src/networkservice.hg: Added get_scheme(), set_scheme().
Wrapped the "scheme" property.
* gio/src/socket.{ccg,hg}: Added get_timeout(), set_timeout(),
receive_with_blocking() and send_with_blocking().
* gio/src/socketclient.hg: Add get_enable_proxy(), set_enable_proxy(),
get_timeout(), set_timeout() and add_application_proxy().
* gio/src/socketconnectable.hg: Added proxy_enumerate() and an
enumerate() constant version.
* gio/src/socketaddressenumerator.hg: Added TODO's.
* gio/src/actiongroup.hg: Small class docs correction.
Diffstat (limited to 'gio/src/socket.hg')
-rw-r--r-- | gio/src/socket.hg | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gio/src/socket.hg b/gio/src/socket.hg index 8b24918d..be19c693 100644 --- a/gio/src/socket.hg +++ b/gio/src/socket.hg @@ -177,6 +177,15 @@ public: _WRAP_METHOD(Glib::RefPtr<Credentials> get_credentials(), g_socket_get_credentials, errthrow) _WRAP_METHOD(Glib::RefPtr<const Credentials> get_credentials() const, g_socket_get_credentials, errthrow) + + _WRAP_METHOD(guint get_timeout() const, g_socket_get_timeout) + _WRAP_METHOD(void set_timeout(guint timeout), g_socket_set_timeout) + + _WRAP_METHOD_DOCS_ONLY(g_socket_receive_with_blocking) + gssize receive_with_blocking(gchar* buffer, gsize size, bool blocking, const Glib::RefPtr<Cancellable>& cancellable = Glib::RefPtr<Cancellable>()); + + _WRAP_METHOD_DOCS_ONLY(g_socket_send_with_blocking) + gssize send_with_blocking(gchar* buffer, gsize size, bool blocking, const Glib::RefPtr<Cancellable>& cancellable = Glib::RefPtr<Cancellable>()); _WRAP_PROPERTY("blocking", bool) _WRAP_PROPERTY("family", SocketFamily) |