summaryrefslogtreecommitdiff
path: root/gio/src/socket.hg
diff options
context:
space:
mode:
Diffstat (limited to 'gio/src/socket.hg')
-rw-r--r--gio/src/socket.hg6
1 files changed, 5 insertions, 1 deletions
diff --git a/gio/src/socket.hg b/gio/src/socket.hg
index 0320ef8f..8b24918d 100644
--- a/gio/src/socket.hg
+++ b/gio/src/socket.hg
@@ -19,6 +19,7 @@
#include <glibmm/object.h>
#include <giomm/initable.h>
+#include <giomm/credentials.h>
#include <giomm/socketconnectable.h>
#include <giomm/socketaddress.h>
#include <giomm/enums.h>
@@ -173,7 +174,10 @@ public:
_WRAP_METHOD(SocketProtocol get_protocol() const, g_socket_get_protocol)
_WRAP_METHOD(SocketType get_socket_type() const, g_socket_get_socket_type)
_WRAP_METHOD(bool speaks_ipv4() const, g_socket_speaks_ipv4)
-
+
+ _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_PROPERTY("blocking", bool)
_WRAP_PROPERTY("family", SocketFamily)
_WRAP_PROPERTY("fd", int)