[glibmm] giomm: Add various unwrapped methods.
- From: José Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] giomm: Add various unwrapped methods.
- Date: Mon, 13 Sep 2010 18:55:52 +0000 (UTC)
commit bdf30ccaba818a8a723c70b44448a973efda1da2
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Mon Sep 13 14:54:07 2010 -0400
giomm: Add various unwrapped methods.
* gio/src/gio_methods.defs: Regenerated.
* gio/src/gio_signals.defs: Corrected GVariant parameters of the
GApplication signal defs (from GVariant to GVariant*).
* gio/src/application.hg: Wrapped "action-with-data",
"prepare-activation", and "quit-with-data" signals.
* gio/src/settings.hg: Wrapped reset(), list_children(), list_keys()
get_destroyed(), and the "writable_change_event" signal.
* gio/src/asyncinitable.hg:
* gio/src/settingsbackend.hg: Typos.
ChangeLog | 15 +
gio/src/application.hg | 8 +
gio/src/asyncinitable.hg | 4 +-
gio/src/gio_methods.defs | 1308 +++++++++++++++++++++++++++++++++++++++++---
gio/src/gio_signals.defs | 8 +-
gio/src/settings.hg | 11 +-
gio/src/settingsbackend.hg | 2 +-
7 files changed, 1267 insertions(+), 89 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 459d62d..957458f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2010-09-13 José Alburquerque <jaalburqu svn gnome org>
+
+ giomm: Add various unwrapped methods.
+
+ * gio/src/gio_methods.defs: Regenerated.
+ * gio/src/gio_signals.defs: Corrected GVariant parameters of the
+ GApplication signal defs (from GVariant to GVariant*).
+ * gio/src/application.hg: Wrapped "action-with-data",
+ "prepare-activation", and "quit-with-data" signals.
+ * gio/src/settings.hg: Wrapped reset(), list_children(), list_keys()
+ get_destroyed(), and the "writable_change_event" signal.
+
+ * gio/src/asyncinitable.hg:
+ * gio/src/settingsbackend.hg: Typos.
+
2010-09-13 Murray Cumming <murrayc murrayc com>
DBusMessage: Added methods.
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 4c8160b..d08a00b 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -77,6 +77,14 @@ public:
_WRAP_METHOD(bool quit_with_data(const Glib::VariantBase& platform_data), g_application_quit_with_data)
_WRAP_METHOD(bool is_remote() const, g_application_is_remote)
+
+#m4 _CONVERSION(`const gchar*', `const Glib::ustring&', `Glib::ustring($3)')
+#m4 _CONVERSION(`GVariant*', `const Glib::VariantBase&', `Glib::wrap($3, true)')
+ _WRAP_SIGNAL(void action_with_data(const Glib::ustring& name, const Glib::VariantBase& platform_data), "action-with-data")
+
+ _WRAP_SIGNAL(void prepare_activation(const Glib::VariantBase& arguments, const Glib::VariantBase& platform_data), "prepare-activation")
+
+ _WRAP_SIGNAL(bool quit_with_data(const Glib::VariantBase& platform_data), "quit-with-data")
};
diff --git a/gio/src/asyncinitable.hg b/gio/src/asyncinitable.hg
index f6d96b9..68f66d5 100644
--- a/gio/src/asyncinitable.hg
+++ b/gio/src/asyncinitable.hg
@@ -86,7 +86,7 @@ protected:
* @param cancellable Cancellable object to make cancellation possible.
* @param slot a SlotAsyncReady to call when the request is satisfied.
*
- * @newin{2,22}
+ * @newin{2,26}
*/
void init_async(const SlotAsyncReady& slot,
const Glib::RefPtr<Cancellable>& cancellable,
@@ -120,7 +120,7 @@ protected:
* @param io_priority The I/O priority of the operation.
* @param slot a SlotAsyncReady to call when the request is satisfied.
*
- * @newin{2,22}
+ * @newin{2,26}
*/
void init_async(const SlotAsyncReady& slot,
int io_priority = Glib::PRIORITY_DEFAULT);
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index 8b0cf0b..0993eb7 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -45,6 +45,41 @@
(gtype-id "G_TYPE_CONVERTER")
)
+(define-object Auth
+ (in-module "GDBus")
+ (parent "GObject")
+ (c-name "GDBusAuth")
+ (gtype-id "G_TYPE_D_BUS_AUTH")
+)
+
+(define-object AuthMechanism
+ (in-module "GDBus")
+ (parent "GObject")
+ (c-name "GDBusAuthMechanism")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM")
+)
+
+(define-object AuthMechanismAnon
+ (in-module "GDBus")
+ (parent "GDBusAuthMechanism")
+ (c-name "GDBusAuthMechanismAnon")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_ANON")
+)
+
+(define-object AuthMechanismExternal
+ (in-module "GDBus")
+ (parent "GDBusAuthMechanism")
+ (c-name "GDBusAuthMechanismExternal")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_EXTERNAL")
+)
+
+(define-object AuthMechanismSha1
+ (in-module "GDBus")
+ (parent "GDBusAuthMechanism")
+ (c-name "GDBusAuthMechanismSha1")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_SHA1")
+)
+
(define-object Proxy
(in-module "GDBus")
(parent "GObject")
@@ -52,6 +87,12 @@
(gtype-id "G_TYPE_D_BUS_PROXY")
)
+(define-object AppInfoLookup
+ (in-module "GDesktop")
+ (c-name "GDesktopAppInfoLookup")
+ (gtype-id "G_TYPE_DESKTOP_APP_INFO_LOOKUP")
+)
+
(define-object e
(in-module "GDriv")
(c-name "GDrive")
@@ -64,6 +105,12 @@
(gtype-id "G_TYPE_FILE")
)
+(define-object DescriptorBased
+ (in-module "GFile")
+ (c-name "GFileDescriptorBased")
+ (gtype-id "G_TYPE_FILE_DESCRIPTOR_BASED")
+)
+
(define-object Enumerator
(in-module "GFile")
(parent "GObject")
@@ -159,6 +206,34 @@
(gtype-id "G_TYPE_LOADABLE_ICON")
)
+(define-object DirectoryMonitor
+ (in-module "GLocal")
+ (parent "GFileMonitor")
+ (c-name "GLocalDirectoryMonitor")
+ (gtype-id "G_TYPE_LOCAL_DIRECTORY_MONITOR")
+)
+
+(define-object FileIOStream
+ (in-module "GLocal")
+ (parent "GFileIOStream")
+ (c-name "GLocalFileIOStream")
+ (gtype-id "G_TYPE_LOCAL_FILE_IO_STREAM")
+)
+
+(define-object FileInputStream
+ (in-module "GLocal")
+ (parent "GFileInputStream")
+ (c-name "GLocalFileInputStream")
+ (gtype-id "G_TYPE_LOCAL_FILE_INPUT_STREAM")
+)
+
+(define-object FileMonitor
+ (in-module "GLocal")
+ (parent "GFileMonitor")
+ (c-name "GLocalFileMonitor")
+ (gtype-id "G_TYPE_LOCAL_FILE_MONITOR")
+)
+
(define-object InputStream
(in-module "GMemory")
(parent "GInputStream")
@@ -242,6 +317,13 @@
(gtype-id "G_TYPE_FILE_OUTPUT_STREAM")
)
+(define-object FileOutputStream
+ (in-module "GLocal")
+ (parent "GFileOutputStream")
+ (c-name "GLocalFileOutputStream")
+ (gtype-id "G_TYPE_LOCAL_FILE_OUTPUT_STREAM")
+)
+
(define-object n
(in-module "GPermissio")
(parent "GObject")
@@ -276,6 +358,20 @@
(gtype-id "G_TYPE_SETTINGS_BACKEND")
)
+(define-object SettingsBackend
+ (in-module "GDelayed")
+ (parent "GSettingsBackend")
+ (c-name "GDelayedSettingsBackend")
+ (gtype-id "G_TYPE_DELAYED_SETTINGS_BACKEND")
+)
+
+(define-object Schema
+ (in-module "GSettings")
+ (parent "GObject")
+ (c-name "GSettingsSchema")
+ (gtype-id "G_TYPE_SETTINGS_SCHEMA")
+)
+
(define-object Action
(in-module "GSimple")
(parent "GObject")
@@ -359,6 +455,13 @@
(gtype-id "G_TYPE_SOCKET_CONTROL_MESSAGE")
)
+(define-object InputStream
+ (in-module "GSocket")
+ (parent "GInputStream")
+ (c-name "GSocketInputStream")
+ (gtype-id "G_TYPE_SOCKET_INPUT_STREAM")
+)
+
(define-object Listener
(in-module "GSocket")
(parent "GObject")
@@ -366,6 +469,13 @@
(gtype-id "G_TYPE_SOCKET_LISTENER")
)
+(define-object OutputStream
+ (in-module "GSocket")
+ (parent "GOutputStream")
+ (c-name "GSocketOutputStream")
+ (gtype-id "G_TYPE_SOCKET_OUTPUT_STREAM")
+)
+
(define-object Service
(in-module "GSocket")
(parent "GSocketListener")
@@ -373,6 +483,13 @@
(gtype-id "G_TYPE_SOCKET_SERVICE")
)
+(define-object 4aProxy
+ (in-module "GSocks")
+ (parent "GObject")
+ (c-name "GSocks4aProxy")
+ (gtype-id "G_TYPE_SOCKS4A_PROXY")
+)
+
(define-object Connection
(in-module "GTcp")
(parent "GSocketConnection")
@@ -380,6 +497,13 @@
(gtype-id "G_TYPE_TCP_CONNECTION")
)
+(define-object Connection
+ (in-module "GProxy")
+ (parent "GTcpConnection")
+ (c-name "GProxyConnection")
+ (gtype-id "G_TYPE_PROXY_CONNECTION")
+)
+
(define-object SocketService
(in-module "GThreaded")
(parent "GSocketService")
@@ -387,6 +511,55 @@
(gtype-id "G_TYPE_THREADED_SOCKET_SERVICE")
)
+(define-object Connection
+ (in-module "GUnix")
+ (parent "GSocketConnection")
+ (c-name "GUnixConnection")
+ (gtype-id "G_TYPE_UNIX_CONNECTION")
+)
+
+(define-object CredentialsMessage
+ (in-module "GUnix")
+ (parent "GSocketControlMessage")
+ (c-name "GUnixCredentialsMessage")
+ (gtype-id "G_TYPE_UNIX_CREDENTIALS_MESSAGE")
+)
+
+(define-object FDList
+ (in-module "GUnix")
+ (parent "GObject")
+ (c-name "GUnixFDList")
+ (gtype-id "G_TYPE_UNIX_FD_LIST")
+)
+
+(define-object FDMessage
+ (in-module "GUnix")
+ (parent "GSocketControlMessage")
+ (c-name "GUnixFDMessage")
+ (gtype-id "G_TYPE_UNIX_FD_MESSAGE")
+)
+
+(define-object InputStream
+ (in-module "GUnix")
+ (parent "GInputStream")
+ (c-name "GUnixInputStream")
+ (gtype-id "G_TYPE_UNIX_INPUT_STREAM")
+)
+
+(define-object OutputStream
+ (in-module "GUnix")
+ (parent "GOutputStream")
+ (c-name "GUnixOutputStream")
+ (gtype-id "G_TYPE_UNIX_OUTPUT_STREAM")
+)
+
+(define-object SocketAddress
+ (in-module "GUnix")
+ (parent "GSocketAddress")
+ (c-name "GUnixSocketAddress")
+ (gtype-id "G_TYPE_UNIX_SOCKET_ADDRESS")
+)
+
(define-object s
(in-module "GVf")
(parent "GObject")
@@ -414,8 +587,35 @@
(gtype-id "G_TYPE_NATIVE_VOLUME_MONITOR")
)
+(define-object 32InputStream
+ (in-module "GWin")
+ (parent "GInputStream")
+ (c-name "GWin32InputStream")
+ (gtype-id "G_TYPE_WIN32_INPUT_STREAM")
+)
+
+(define-object 32OutputStream
+ (in-module "GWin")
+ (parent "GOutputStream")
+ (c-name "GWin32OutputStream")
+ (gtype-id "G_TYPE_WIN32_OUTPUT_STREAM")
+)
+
;; Enumerations and flags ...
+(define-enum AuthMechanismState
+ (in-module "GDBus")
+ (c-name "GDBusAuthMechanismState")
+ (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_STATE")
+ (values
+ '("invalid" "G_DBUS_AUTH_MECHANISM_STATE_INVALID")
+ '("waiting-for-data" "G_DBUS_AUTH_MECHANISM_STATE_WAITING_FOR_DATA")
+ '("have-data-to-send" "G_DBUS_AUTH_MECHANISM_STATE_HAVE_DATA_TO_SEND")
+ '("rejected" "G_DBUS_AUTH_MECHANISM_STATE_REJECTED")
+ '("accepted" "G_DBUS_AUTH_MECHANISM_STATE_ACCEPTED")
+ )
+)
+
(define-flags InfoCreateFlags
(in-module "GApp")
(c-name "GAppInfoCreateFlags")
@@ -519,8 +719,8 @@
(c-name "GFileQueryInfoFlags")
(gtype-id "G_TYPE_FILE_QUERY_INFO_FLAGS")
(values
- '("none" "G_FILE_QUERY_INFO_NONE")
- '("nofollow-symlinks" "G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS")
+ '("ne" "G_FILE_QUERY_INFO_NONE")
+ '("follow-symlinks" "G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS")
)
)
@@ -540,7 +740,7 @@
(c-name "GMountMountFlags")
(gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
(values
- '("none" "G_MOUNT_MOUNT_NONE")
+ '("e" "G_MOUNT_MOUNT_NONE")
)
)
@@ -559,7 +759,7 @@
(c-name "GDriveStartFlags")
(gtype-id "G_TYPE_DRIVE_START_FLAGS")
(values
- '("none" "G_DRIVE_START_NONE")
+ '("e" "G_DRIVE_START_NONE")
)
)
@@ -770,10 +970,10 @@
(c-name "GSocketFamily")
(gtype-id "G_TYPE_SOCKET_FAMILY")
(values
- '("invalid" "G_SOCKET_FAMILY_INVALID")
- '("unix" "G_SOCKET_FAMILY_UNIX")
- '("ipv4" "G_SOCKET_FAMILY_IPV4")
- '("ipv6" "G_SOCKET_FAMILY_IPV6")
+ '("g-socket-family-invalid" "G_SOCKET_FAMILY_INVALID")
+ '("#ifdef" "#ifdef")
+ '("#endif" "#endif")
+ '("g-socket-family-ipv6" "G_SOCKET_FAMILY_IPV6")
)
)
@@ -961,8 +1161,8 @@
(c-name "GDBusCallFlags")
(gtype-id "G_TYPE_D_BUS_CALL_FLAGS")
(values
- '("none" "G_DBUS_CALL_FLAGS_NONE")
- '("no-auto-start" "G_DBUS_CALL_FLAGS_NO_AUTO_START")
+ '("ne" "G_DBUS_CALL_FLAGS_NONE")
+ '("-auto-start" "G_DBUS_CALL_FLAGS_NO_AUTO_START")
)
)
@@ -984,9 +1184,9 @@
(c-name "GDBusMessageFlags")
(gtype-id "G_TYPE_D_BUS_MESSAGE_FLAGS")
(values
- '("none" "G_DBUS_MESSAGE_FLAGS_NONE")
- '("no-reply-expected" "G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED")
- '("no-auto-start" "G_DBUS_MESSAGE_FLAGS_NO_AUTO_START")
+ '("ne" "G_DBUS_MESSAGE_FLAGS_NONE")
+ '("-reply-expected" "G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED")
+ '("-auto-start" "G_DBUS_MESSAGE_FLAGS_NO_AUTO_START")
)
)
@@ -1045,7 +1245,7 @@
(c-name "GDBusSignalFlags")
(gtype-id "G_TYPE_D_BUS_SIGNAL_FLAGS")
(values
- '("none" "G_DBUS_SIGNAL_FLAGS_NONE")
+ '("e" "G_DBUS_SIGNAL_FLAGS_NONE")
)
)
@@ -1066,6 +1266,7 @@
(values
'("invalid" "G_CREDENTIALS_TYPE_INVALID")
'("linux-ucred" "G_CREDENTIALS_TYPE_LINUX_UCRED")
+ '("freebsd-cmsgcred" "G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED")
)
)
@@ -1079,17 +1280,6 @@
)
)
-(define-enum MessageFilterResult
- (in-module "GDBus")
- (c-name "GDBusMessageFilterResult")
- (gtype-id "G_TYPE_D_BUS_MESSAGE_FILTER_RESULT")
- (values
- '("no-effect" "G_DBUS_MESSAGE_FILTER_RESULT_NO_EFFECT")
- '("message-consumed" "G_DBUS_MESSAGE_FILTER_RESULT_MESSAGE_CONSUMED")
- '("message-altered" "G_DBUS_MESSAGE_FILTER_RESULT_MESSAGE_ALTERED")
- )
-)
-
(define-flags BindFlags
(in-module "GSettings")
(c-name "GSettingsBindFlags")
@@ -1703,6 +1893,10 @@
+;; From gasynchelper.h
+
+
+
;; From gasyncinitable.h
(define-function g_async_initable_get_type
@@ -2210,6 +2404,10 @@
+;; From gcontenttypeprivate.h
+
+
+
;; From gconverter.h
(define-function g_converter_get_type
@@ -2732,6 +2930,26 @@
+;; From gdbusauth.h
+
+
+
+;; From gdbusauthmechanismanon.h
+
+
+
+;; From gdbusauthmechanismexternal.h
+
+
+
+;; From gdbusauthmechanism.h
+
+
+
+;; From gdbusauthmechanismsha1.h
+
+
+
;; From gdbusauthobserver.h
(define-function g_dbus_auth_observer_get_type
@@ -3572,6 +3790,27 @@
)
)
+(define-method get_locked
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_locked")
+ (return-type "gboolean")
+)
+
+(define-method lock
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_lock")
+ (return-type "none")
+)
+
+(define-method copy
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_copy")
+ (return-type "GDBusMessage*")
+ (parameters
+ '("GError**" "error")
+ )
+)
+
(define-method get_byte_order
(of-object "GDBusMessage")
(c-name "g_dbus_message_get_byte_order")
@@ -4127,6 +4366,10 @@
+;; From gdbusprivate.h
+
+
+
;; From gdbusproxy.h
(define-function g_dbus_proxy_get_type
@@ -4346,54 +4589,6 @@
-;; From gdbusproxywatching.h
-
-(define-function g_bus_watch_proxy
- (c-name "g_bus_watch_proxy")
- (return-type "guint")
- (parameters
- '("GBusType" "bus_type")
- '("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("GType" "interface_type")
- '("GDBusProxyFlags" "proxy_flags")
- '("GBusProxyAppearedCallback" "proxy_appeared_handler")
- '("GBusProxyVanishedCallback" "proxy_vanished_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
- )
-)
-
-(define-function g_bus_watch_proxy_on_connection
- (c-name "g_bus_watch_proxy_on_connection")
- (return-type "guint")
- (parameters
- '("GDBusConnection*" "connection")
- '("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("GType" "interface_type")
- '("GDBusProxyFlags" "proxy_flags")
- '("GBusProxyAppearedCallback" "proxy_appeared_handler")
- '("GBusProxyVanishedCallback" "proxy_vanished_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
- )
-)
-
-(define-function g_bus_unwatch_proxy
- (c-name "g_bus_unwatch_proxy")
- (return-type "none")
- (parameters
- '("guint" "watcher_id")
- )
-)
-
-
-
;; From gdbusserver.h
(define-function g_dbus_server_get_type
@@ -4501,6 +4696,78 @@
+;; From gdelayedsettingsbackend.h
+
+
+
+;; From gdesktopappinfo.h
+
+(define-function g_desktop_app_info_get_type
+ (c-name "g_desktop_app_info_get_type")
+ (return-type "GType")
+)
+
+(define-function g_desktop_app_info_new_from_filename
+ (c-name "g_desktop_app_info_new_from_filename")
+ (return-type "GDesktopAppInfo*")
+ (parameters
+ '("const-char*" "filename")
+ )
+)
+
+(define-function g_desktop_app_info_new_from_keyfile
+ (c-name "g_desktop_app_info_new_from_keyfile")
+ (return-type "GDesktopAppInfo*")
+ (parameters
+ '("GKeyFile*" "key_file")
+ )
+)
+
+(define-method get_filename
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_filename")
+ (return-type "const-char*")
+)
+
+(define-function g_desktop_app_info_new
+ (c-name "g_desktop_app_info_new")
+ (is-constructor-of "GDesktopAppInfo")
+ (return-type "GDesktopAppInfo*")
+ (parameters
+ '("const-char*" "desktop_id")
+ )
+)
+
+(define-method get_is_hidden
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_is_hidden")
+ (return-type "gboolean")
+)
+
+(define-function g_desktop_app_info_set_desktop_env
+ (c-name "g_desktop_app_info_set_desktop_env")
+ (return-type "none")
+ (parameters
+ '("const-char*" "desktop_env")
+ )
+)
+
+(define-function g_desktop_app_info_lookup_get_type
+ (c-name "g_desktop_app_info_lookup_get_type")
+ (return-type "GType")
+)
+
+(define-method get_default_for_uri_scheme
+ (of-object "GDesktopAppInfoLookup")
+ (c-name "g_desktop_app_info_lookup_get_default_for_uri_scheme")
+ (return-type "GAppInfo*")
+ (parameters
+ '("const-char*" "uri_scheme")
+ )
+)
+
+
+
;; From gdrive.h
(define-function g_drive_get_type
@@ -4715,6 +4982,14 @@
+;; From gdummyfile.h
+
+
+
+;; From gdummyproxyresolver.h
+
+
+
;; From gemblemedicon.h
(define-function g_emblemed_icon_get_type
@@ -4847,6 +5122,25 @@
+;; From gfileattribute-priv.h
+
+
+
+;; From gfiledescriptorbased.h
+
+(define-function g_file_descriptor_based_get_type
+ (c-name "g_file_descriptor_based_get_type")
+ (return-type "GType")
+)
+
+(define-method get_fd
+ (of-object "GFileDescriptorBased")
+ (c-name "g_file_descriptor_based_get_fd")
+ (return-type "int")
+)
+
+
+
;; From gfileenumerator.h
(define-function g_file_enumerator_get_type
@@ -6767,6 +7061,10 @@
+;; From gfileinfo-priv.h
+
+
+
;; From gfileinputstream.h
(define-function g_file_input_stream_get_type
@@ -7455,6 +7753,10 @@
+;; From gioalias.h
+
+
+
;; From gioenums.h
@@ -7711,11 +8013,6 @@
(return-type "GType")
)
-(define-function g_dbus_message_filter_result_get_type
- (c-name "g_dbus_message_filter_result_get_type")
- (return-type "GType")
-)
-
(define-function g_settings_bind_flags_get_type
(c-name "g_settings_bind_flags_get_type")
(return-type "GType")
@@ -7752,6 +8049,10 @@
+;; From gio-marshal.h
+
+
+
;; From giomodule.h
(define-function g_io_module_get_type
@@ -7884,6 +8185,10 @@
+;; From giomodule-priv.h
+
+
+
;; From gioscheduler.h
(define-function g_io_scheduler_push_job
@@ -8055,6 +8360,52 @@
+;; From glocaldirectorymonitor.h
+
+(define-function g_local_directory_monitor_get_type
+ (c-name "g_local_directory_monitor_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From glocalfileenumerator.h
+
+
+
+;; From glocalfile.h
+
+
+
+;; From glocalfileinfo.h
+
+
+
+;; From glocalfileinputstream.h
+
+
+
+;; From glocalfileiostream.h
+
+
+
+;; From glocalfilemonitor.h
+
+(define-function g_local_file_monitor_get_type
+ (c-name "g_local_file_monitor_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From glocalfileoutputstream.h
+
+
+
+;; From glocalvfs.h
+
+
+
;; From gmemoryinputstream.h
(define-function g_memory_input_stream_get_type
@@ -8136,6 +8487,10 @@
+;; From gmemorysettingsbackend.h
+
+
+
;; From gmount.h
(define-function g_mount_get_type
@@ -8477,6 +8832,10 @@
+;; From gmountprivate.h
+
+
+
;; From gnativevolumemonitor.h
(define-function g_native_volume_monitor_get_type
@@ -8543,6 +8902,10 @@
+;; From gnetworkingprivate.h
+
+
+
;; From gnetworkservice.h
(define-function g_network_service_get_type
@@ -8596,6 +8959,10 @@
+;; From gnullsettingsbackend.h
+
+
+
;; From goutputstream.h
(define-function g_output_stream_get_type
@@ -8887,6 +9254,10 @@
+;; From gpollfilemonitor.h
+
+
+
;; From gproxyaddressenumerator.h
(define-function g_proxy_address_enumerator_get_type
@@ -8950,6 +9321,10 @@
+;; From gproxyconnection.h
+
+
+
;; From gproxy.h
(define-function g_proxy_get_type
@@ -9061,6 +9436,10 @@
+;; From gregistrysettingsbackend.h
+
+
+
;; From gresolver.h
(define-function g_resolver_get_type
@@ -9345,6 +9724,10 @@
+;; From gsettingsbackendinternal.h
+
+
+
;; From gsettings.h
(define-function g_settings_get_type
@@ -9389,10 +9772,28 @@
)
)
-(define-method list_items
+(define-method list_children
+ (of-object "GSettings")
+ (c-name "g_settings_list_children")
+ (return-type "gchar**")
+)
+
+(define-method list_keys
+ (of-object "GSettings")
+ (c-name "g_settings_list_keys")
+ (return-type "gchar**")
+)
+
+(define-method get_destroyed
+ (of-object "GSettings")
+ (c-name "g_settings_get_destroyed")
+ (return-type "gboolean")
+)
+
+(define-method get_permission
(of-object "GSettings")
- (c-name "g_settings_list_items")
- (return-type "const-gchar**")
+ (c-name "g_settings_get_permission")
+ (return-type "GPermission*")
)
(define-method set_value
@@ -9687,6 +10088,14 @@
+;; From gsettings-mapping.h
+
+
+
+;; From gsettingsschema.h
+
+
+
;; From gsimpleactiongroup.h
(define-function g_simple_action_group_get_type
@@ -10820,6 +11229,10 @@
+;; From gsocketinputstream.h
+
+
+
;; From gsocketlistener.h
(define-function g_socket_listener_get_type
@@ -10962,6 +11375,10 @@
+;; From gsocketoutputstream.h
+
+
+
;; From gsocketservice.h
(define-function g_socket_service_get_type
@@ -10995,6 +11412,18 @@
+;; From gsocks4aproxy.h
+
+
+
+;; From gsocks4proxy.h
+
+
+
+;; From gsocks5proxy.h
+
+
+
;; From gsrvtarget.h
(define-function g_srv_target_get_type
@@ -11137,6 +11566,15 @@
+;; From gthreadedresolver.h
+
+(define-function g_threaded_resolver_get_type
+ (c-name "g_threaded_resolver_get_type")
+ (return-type "GType")
+)
+
+
+
;; From gthreadedsocketservice.h
(define-function g_threaded_socket_service_get_type
@@ -11155,6 +11593,608 @@
+;; From gunionvolumemonitor.h
+
+
+
+;; From gunixconnection.h
+
+(define-function g_unix_connection_get_type
+ (c-name "g_unix_connection_get_type")
+ (return-type "GType")
+)
+
+(define-method send_fd
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_send_fd")
+ (return-type "gboolean")
+ (parameters
+ '("gint" "fd")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method receive_fd
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_fd")
+ (return-type "gint")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method send_credentials
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_send_credentials")
+ (return-type "gboolean")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method receive_credentials
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_credentials")
+ (return-type "GCredentials*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+
+
+;; From gunixcredentialsmessage.h
+
+(define-function g_unix_credentials_message_get_type
+ (c-name "g_unix_credentials_message_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_credentials_message_new
+ (c-name "g_unix_credentials_message_new")
+ (is-constructor-of "GUnixCredentialsMessage")
+ (return-type "GSocketControlMessage*")
+)
+
+(define-function g_unix_credentials_message_new_with_credentials
+ (c-name "g_unix_credentials_message_new_with_credentials")
+ (return-type "GSocketControlMessage*")
+ (parameters
+ '("GCredentials*" "credentials")
+ )
+)
+
+(define-method get_credentials
+ (of-object "GUnixCredentialsMessage")
+ (c-name "g_unix_credentials_message_get_credentials")
+ (return-type "GCredentials*")
+)
+
+(define-function g_unix_credentials_message_is_supported
+ (c-name "g_unix_credentials_message_is_supported")
+ (return-type "gboolean")
+)
+
+
+
+;; From gunixfdlist.h
+
+(define-function g_unix_fd_list_get_type
+ (c-name "g_unix_fd_list_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_fd_list_new
+ (c-name "g_unix_fd_list_new")
+ (is-constructor-of "GUnixFdList")
+ (return-type "GUnixFDList*")
+)
+
+(define-function g_unix_fd_list_new_from_array
+ (c-name "g_unix_fd_list_new_from_array")
+ (return-type "GUnixFDList*")
+ (parameters
+ '("const-gint*" "fds")
+ '("gint" "n_fds")
+ )
+)
+
+(define-method append
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_append")
+ (return-type "gint")
+ (parameters
+ '("gint" "fd")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_length
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_get_length")
+ (return-type "gint")
+)
+
+(define-method get
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_get")
+ (return-type "gint")
+ (parameters
+ '("gint" "index_")
+ '("GError**" "error")
+ )
+)
+
+(define-method peek_fds
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_peek_fds")
+ (return-type "const-gint*")
+ (parameters
+ '("gint*" "length")
+ )
+)
+
+(define-method steal_fds
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_steal_fds")
+ (return-type "gint*")
+ (parameters
+ '("gint*" "length")
+ )
+)
+
+
+
+;; From gunixfdmessage.h
+
+(define-function g_unix_fd_message_get_type
+ (c-name "g_unix_fd_message_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_fd_message_new_with_fd_list
+ (c-name "g_unix_fd_message_new_with_fd_list")
+ (return-type "GSocketControlMessage*")
+ (parameters
+ '("GUnixFDList*" "fd_list")
+ )
+)
+
+(define-function g_unix_fd_message_new
+ (c-name "g_unix_fd_message_new")
+ (is-constructor-of "GUnixFdMessage")
+ (return-type "GSocketControlMessage*")
+)
+
+(define-method get_fd_list
+ (of-object "GUnixFDMessage")
+ (c-name "g_unix_fd_message_get_fd_list")
+ (return-type "GUnixFDList*")
+)
+
+(define-method steal_fds
+ (of-object "GUnixFDMessage")
+ (c-name "g_unix_fd_message_steal_fds")
+ (return-type "gint*")
+ (parameters
+ '("gint*" "length")
+ )
+)
+
+(define-method append_fd
+ (of-object "GUnixFDMessage")
+ (c-name "g_unix_fd_message_append_fd")
+ (return-type "gboolean")
+ (parameters
+ '("gint" "fd")
+ '("GError**" "error")
+ )
+)
+
+
+
+;; From gunixinputstream.h
+
+(define-function g_unix_input_stream_get_type
+ (c-name "g_unix_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_input_stream_new
+ (c-name "g_unix_input_stream_new")
+ (is-constructor-of "GUnixInputStream")
+ (return-type "GInputStream*")
+ (parameters
+ '("gint" "fd")
+ '("gboolean" "close_fd")
+ )
+)
+
+(define-method set_close_fd
+ (of-object "GUnixInputStream")
+ (c-name "g_unix_input_stream_set_close_fd")
+ (return-type "none")
+ (parameters
+ '("gboolean" "close_fd")
+ )
+)
+
+(define-method get_close_fd
+ (of-object "GUnixInputStream")
+ (c-name "g_unix_input_stream_get_close_fd")
+ (return-type "gboolean")
+)
+
+(define-method get_fd
+ (of-object "GUnixInputStream")
+ (c-name "g_unix_input_stream_get_fd")
+ (return-type "gint")
+)
+
+
+
+;; From gunixmount.h
+
+
+
+;; From gunixmounts.h
+
+(define-function g_unix_mount_free
+ (c-name "g_unix_mount_free")
+ (return-type "none")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-method free
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_free")
+ (return-type "none")
+)
+
+(define-function g_unix_mount_compare
+ (c-name "g_unix_mount_compare")
+ (return-type "gint")
+ (parameters
+ '("GUnixMountEntry*" "mount1")
+ '("GUnixMountEntry*" "mount2")
+ )
+)
+
+(define-function g_unix_mount_get_mount_path
+ (c-name "g_unix_mount_get_mount_path")
+ (return-type "const-char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_get_device_path
+ (c-name "g_unix_mount_get_device_path")
+ (return-type "const-char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_get_fs_type
+ (c-name "g_unix_mount_get_fs_type")
+ (return-type "const-char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_is_readonly
+ (c-name "g_unix_mount_is_readonly")
+ (return-type "gboolean")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_is_system_internal
+ (c-name "g_unix_mount_is_system_internal")
+ (return-type "gboolean")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_guess_can_eject
+ (c-name "g_unix_mount_guess_can_eject")
+ (return-type "gboolean")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_guess_should_display
+ (c-name "g_unix_mount_guess_should_display")
+ (return-type "gboolean")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_guess_name
+ (c-name "g_unix_mount_guess_name")
+ (return-type "char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-function g_unix_mount_guess_icon
+ (c-name "g_unix_mount_guess_icon")
+ (return-type "GIcon*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
+)
+
+(define-method compare
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_compare")
+ (return-type "gint")
+ (parameters
+ '("GUnixMountPoint*" "mount2")
+ )
+)
+
+(define-method get_mount_path
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_mount_path")
+ (return-type "const-char*")
+)
+
+(define-method get_device_path
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_device_path")
+ (return-type "const-char*")
+)
+
+(define-method get_fs_type
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_fs_type")
+ (return-type "const-char*")
+)
+
+(define-method is_readonly
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_readonly")
+ (return-type "gboolean")
+)
+
+(define-method is_user_mountable
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_user_mountable")
+ (return-type "gboolean")
+)
+
+(define-method is_loopback
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_loopback")
+ (return-type "gboolean")
+)
+
+(define-method guess_can_eject
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_can_eject")
+ (return-type "gboolean")
+)
+
+(define-method guess_name
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_name")
+ (return-type "char*")
+)
+
+(define-method guess_icon
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_icon")
+ (return-type "GIcon*")
+)
+
+(define-function g_unix_mount_points_get
+ (c-name "g_unix_mount_points_get")
+ (return-type "GList*")
+ (parameters
+ '("guint64*" "time_read")
+ )
+)
+
+(define-function g_unix_mounts_get
+ (c-name "g_unix_mounts_get")
+ (return-type "GList*")
+ (parameters
+ '("guint64*" "time_read")
+ )
+)
+
+(define-function g_unix_mount_at
+ (c-name "g_unix_mount_at")
+ (return-type "GUnixMountEntry*")
+ (parameters
+ '("const-char*" "mount_path")
+ '("guint64*" "time_read")
+ )
+)
+
+(define-function g_unix_mounts_changed_since
+ (c-name "g_unix_mounts_changed_since")
+ (return-type "gboolean")
+ (parameters
+ '("guint64" "time")
+ )
+)
+
+(define-function g_unix_mount_points_changed_since
+ (c-name "g_unix_mount_points_changed_since")
+ (return-type "gboolean")
+ (parameters
+ '("guint64" "time")
+ )
+)
+
+(define-function g_unix_mount_monitor_get_type
+ (c-name "g_unix_mount_monitor_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_mount_monitor_new
+ (c-name "g_unix_mount_monitor_new")
+ (is-constructor-of "GUnixMountMonitor")
+ (return-type "GUnixMountMonitor*")
+)
+
+(define-method set_rate_limit
+ (of-object "GUnixMountMonitor")
+ (c-name "g_unix_mount_monitor_set_rate_limit")
+ (return-type "none")
+ (parameters
+ '("int" "limit_msec")
+ )
+)
+
+(define-function g_unix_is_mount_path_system_internal
+ (c-name "g_unix_is_mount_path_system_internal")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "mount_path")
+ )
+)
+
+
+
+;; From gunixoutputstream.h
+
+(define-function g_unix_output_stream_get_type
+ (c-name "g_unix_output_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_output_stream_new
+ (c-name "g_unix_output_stream_new")
+ (is-constructor-of "GUnixOutputStream")
+ (return-type "GOutputStream*")
+ (parameters
+ '("gint" "fd")
+ '("gboolean" "close_fd")
+ )
+)
+
+(define-method set_close_fd
+ (of-object "GUnixOutputStream")
+ (c-name "g_unix_output_stream_set_close_fd")
+ (return-type "none")
+ (parameters
+ '("gboolean" "close_fd")
+ )
+)
+
+(define-method get_close_fd
+ (of-object "GUnixOutputStream")
+ (c-name "g_unix_output_stream_get_close_fd")
+ (return-type "gboolean")
+)
+
+(define-method get_fd
+ (of-object "GUnixOutputStream")
+ (c-name "g_unix_output_stream_get_fd")
+ (return-type "gint")
+)
+
+
+
+;; From gunixresolver.h
+
+(define-function g_unix_resolver_get_type
+ (c-name "g_unix_resolver_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From gunixsocketaddress.h
+
+(define-function g_unix_socket_address_get_type
+ (c-name "g_unix_socket_address_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_socket_address_new
+ (c-name "g_unix_socket_address_new")
+ (is-constructor-of "GUnixSocketAddress")
+ (return-type "GSocketAddress*")
+ (parameters
+ '("const-gchar*" "path")
+ )
+)
+
+(define-function g_unix_socket_address_new_abstract
+ (c-name "g_unix_socket_address_new_abstract")
+ (return-type "GSocketAddress*")
+ (parameters
+ '("const-gchar*" "path")
+ '("gint" "path_len")
+ )
+)
+
+(define-function g_unix_socket_address_new_with_type
+ (c-name "g_unix_socket_address_new_with_type")
+ (return-type "GSocketAddress*")
+ (parameters
+ '("const-gchar*" "path")
+ '("gint" "path_len")
+ '("GUnixSocketAddressType" "type")
+ )
+)
+
+(define-method get_path
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_path")
+ (return-type "const-char*")
+)
+
+(define-method get_path_len
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_path_len")
+ (return-type "gsize")
+)
+
+(define-method get_address_type
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_address_type")
+ (return-type "GUnixSocketAddressType")
+)
+
+(define-method get_is_abstract
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_is_abstract")
+ (return-type "gboolean")
+)
+
+(define-function g_unix_socket_address_abstract_names_supported
+ (c-name "g_unix_socket_address_abstract_names_supported")
+ (return-type "gboolean")
+)
+
+
+
+;; From gunixvolume.h
+
+
+
+;; From gunixvolumemonitor.h
+
+
+
;; From gvfs.h
(define-function g_vfs_get_type
@@ -11411,6 +12451,112 @@
+;; From gwin32appinfo.h
+
+(define-function g_win32_app_info_get_type
+ (c-name "g_win32_app_info_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From gwin32inputstream.h
+
+(define-function g_win32_input_stream_get_type
+ (c-name "g_win32_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_win32_input_stream_new
+ (c-name "g_win32_input_stream_new")
+ (is-constructor-of "GWin32InputStream")
+ (return-type "GInputStream*")
+ (parameters
+ '("void*" "handle")
+ '("gboolean" "close_handle")
+ )
+)
+
+(define-method set_close_handle
+ (of-object "GWin32InputStream")
+ (c-name "g_win32_input_stream_set_close_handle")
+ (return-type "none")
+ (parameters
+ '("gboolean" "close_handle")
+ )
+)
+
+(define-method get_close_handle
+ (of-object "GWin32InputStream")
+ (c-name "g_win32_input_stream_get_close_handle")
+ (return-type "gboolean")
+)
+
+(define-method get_handle
+ (of-object "GWin32InputStream")
+ (c-name "g_win32_input_stream_get_handle")
+ (return-type "void*")
+)
+
+
+
+;; From gwin32mount.h
+
+
+
+;; From gwin32outputstream.h
+
+(define-function g_win32_output_stream_get_type
+ (c-name "g_win32_output_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_win32_output_stream_new
+ (c-name "g_win32_output_stream_new")
+ (is-constructor-of "GWin32OutputStream")
+ (return-type "GOutputStream*")
+ (parameters
+ '("void*" "handle")
+ '("gboolean" "close_handle")
+ )
+)
+
+(define-method set_close_handle
+ (of-object "GWin32OutputStream")
+ (c-name "g_win32_output_stream_set_close_handle")
+ (return-type "none")
+ (parameters
+ '("gboolean" "close_handle")
+ )
+)
+
+(define-method get_close_handle
+ (of-object "GWin32OutputStream")
+ (c-name "g_win32_output_stream_get_close_handle")
+ (return-type "gboolean")
+)
+
+(define-method get_handle
+ (of-object "GWin32OutputStream")
+ (c-name "g_win32_output_stream_get_handle")
+ (return-type "void*")
+)
+
+
+
+;; From gwin32resolver.h
+
+(define-function g_win32_resolver_get_type
+ (c-name "g_win32_resolver_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From gwin32volumemonitor.h
+
+
+
;; From gzlibcompressor.h
(define-function g_zlib_compressor_get_type
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs
index c1f52db..e720f5b 100644
--- a/gio/src/gio_signals.defs
+++ b/gio/src/gio_signals.defs
@@ -7,7 +7,7 @@
(return-type "gboolean")
(when "last")
(parameters
- '("GVariant" "p0")
+ '("GVariant*" "p0")
)
)
@@ -17,7 +17,7 @@
(when "first")
(parameters
'("const-gchar*" "p0")
- '("GVariant" "p1")
+ '("GVariant*" "p1")
)
)
@@ -26,8 +26,8 @@
(return-type "void")
(when "last")
(parameters
- '("GVariant" "p0")
- '("GVariant" "p1")
+ '("GVariant*" "p0")
+ '("GVariant*" "p1")
)
)
diff --git a/gio/src/settings.hg b/gio/src/settings.hg
index 562eeb0..a736009 100644
--- a/gio/src/settings.hg
+++ b/gio/src/settings.hg
@@ -90,6 +90,15 @@ public:
_WRAP_METHOD(void revert(), g_settings_revert)
_WRAP_METHOD(bool get_has_unapplied() const, g_settings_get_has_unapplied)
+ _WRAP_METHOD(void reset(const Glib::ustring& key), g_settings_reset)
+
+ //TODO: _WRAP_METHOD(Glib::StringArrayHandle list_schemas() const, g_settings_list_schemas)
+
+ _WRAP_METHOD(Glib::StringArrayHandle list_children() const, g_settings_list_children)
+ _WRAP_METHOD(Glib::StringArrayHandle list_keys() const, g_settings_list_keys)
+ _WRAP_METHOD(bool get_destroyed() const, g_settings_get_destroyed)
+
+
#m4 _CONVERSION(`Glib::ObjectBase*',`gpointer',(gpointer)$3->gobj())
_WRAP_METHOD(void bind(const Glib::ustring& key, Glib::ObjectBase* object, const Glib::ustring& property, SettingsBindFlags flags=SETTINGS_BIND_DEFAULT), g_settings_bind)
void bind(const Glib::ustring& key, const Glib::PropertyProxy_Base& property_proxy, SettingsBindFlags flags=SETTINGS_BIND_DEFAULT);
@@ -103,7 +112,7 @@ public:
#m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)
_WRAP_SIGNAL(void changed(const Glib::ustring& key), "changed")
- //TODO?: _WRAP_SIGNAL(bool writable_change_event(guint key), "writable-change-event")
+ _WRAP_SIGNAL(bool writable_change_event(guint key), "writable-change-event")
_WRAP_SIGNAL(void writable_changed(const Glib::ustring& key), writable_changed)
};
diff --git a/gio/src/settingsbackend.hg b/gio/src/settingsbackend.hg
index 634d4af..81844ba 100644
--- a/gio/src/settingsbackend.hg
+++ b/gio/src/settingsbackend.hg
@@ -58,7 +58,7 @@ public:
_WRAP_METHOD(void writable_changed(const Glib::ustring& key), g_settings_backend_writable_changed)
//TODO: Use the glibmm wrapper of GTree:
- _WRAP_METHOD(void hanged_tree(GTree *tree, gpointer origin_tag), g_settings_backend_changed_tree)
+ _WRAP_METHOD(void changed_tree(GTree *tree, gpointer origin_tag), g_settings_backend_changed_tree)
//TODO: Vfuncs?
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]