From f6f3801ce576a1186d1bf2dab04498801ef3e8b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Alburquerque?= Date: Tue, 1 Jan 2013 20:19:47 -0500 Subject: giomm: Add the TlsInteraction class. * gio/src/tlsinteraction.{ccg,hg}: * gio/src/filelist.am: Add the sources wrapping the C functions and include the sources in the build. * gio/src/gio_vfuncs.defs: Add the virtual functions of the class. The vfuncs are not wrapped yet so that gmmproc can be modified so that virtual functions with slot parameters can be wrapped as is already possible with methods. * tools/m4/convert_gio.m4: Add necessary conversions. --- tools/m4/convert_gio.m4 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/m4/convert_gio.m4 b/tools/m4/convert_gio.m4 index ed34d9d3..70286757 100644 --- a/tools/m4/convert_gio.m4 +++ b/tools/m4/convert_gio.m4 @@ -39,8 +39,9 @@ _CONV_ENUM(G,SocketFamily) _CONV_ENUM(G,SocketMsgFlags) _CONV_ENUM(G,SocketProtocol) _CONV_ENUM(G,SocketType) -_CONV_ENUM(G, TlsCertificateFlags) -_CONV_ENUM(G, TlsPasswordFlags) +_CONV_ENUM(G,TlsCertificateFlags) +_CONV_ENUM(G,TlsInteractionResult) +_CONV_ENUM(G,TlsPasswordFlags) _CONV_ENUM(G,UnixSocketAddressType) _CONV_ENUM(G,ZlibCompressorFormat) @@ -267,6 +268,9 @@ _CONVERSION(`GTimeZoneMonitor*',`Glib::RefPtr',`Glib::wrap($3)' _CONVERSION(`GTlsCertificate*', `Glib::RefPtr', `Glib::wrap($3)') _CONVERSION(`const Glib::RefPtr&', `GTlsCertificate*', `const_cast(Glib::unwrap($3))') +#TlsPassword +_CONVERSION(`const Glib::RefPtr&',`GTlsPassword*',`const_cast(Glib::unwrap($3))') + #UnixFDList _CONVERSION(`GUnixFDList*',`Glib::RefPtr',`Glib::wrap($3)') _CONVERSION(`const Glib::RefPtr&',`GUnixFDList*',`Glib::unwrap($3)') -- cgit v1.2.1