diff options
Diffstat (limited to 'gio/src/gio_methods.defs')
-rw-r--r-- | gio/src/gio_methods.defs | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs index 33c07aba..e7973e18 100644 --- a/gio/src/gio_methods.defs +++ b/gio/src/gio_methods.defs @@ -2226,6 +2226,12 @@ ) ) +(define-method get_environ + (of-object "GApplicationCommandLine") + (c-name "g_application_command_line_get_environ") + (return-type "const-gchar*-const*") +) + (define-method getenv (of-object "GApplicationCommandLine") (c-name "g_application_command_line_getenv") @@ -2430,6 +2436,12 @@ ) ) +(define-method quit + (of-object "GApplication") + (c-name "g_application_quit") + (return-type "none") +) + (define-function g_application_get_default (c-name "g_application_get_default") (return-type "GApplication*") @@ -6015,6 +6027,12 @@ (return-type "const-char*") ) +(define-method get_keywords + (of-object "GDesktopAppInfo") + (c-name "g_desktop_app_info_get_keywords") + (return-type "const-char*-const*") +) + (define-method get_nodisplay (of-object "GDesktopAppInfo") (c-name "g_desktop_app_info_get_nodisplay") @@ -6146,6 +6164,28 @@ (return-type "gboolean") ) +(define-method eject + (of-object "GDrive") + (c-name "g_drive_eject") + (return-type "none") + (parameters + '("GMountUnmountFlags" "flags") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-method eject_finish + (of-object "GDrive") + (c-name "g_drive_eject_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "result") + '("GError**" "error") + ) +) + (define-method poll_for_media (of-object "GDrive") (c-name "g_drive_poll_for_media") @@ -7464,6 +7504,28 @@ ) ) +(define-method unmount_mountable + (of-object "GFile") + (c-name "g_file_unmount_mountable") + (return-type "none") + (parameters + '("GMountUnmountFlags" "flags") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-method unmount_mountable_finish + (of-object "GFile") + (c-name "g_file_unmount_mountable_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "result") + '("GError**" "error") + ) +) + (define-method unmount_mountable_with_operation (of-object "GFile") (c-name "g_file_unmount_mountable_with_operation") @@ -7487,6 +7549,28 @@ ) ) +(define-method eject_mountable + (of-object "GFile") + (c-name "g_file_eject_mountable") + (return-type "none") + (parameters + '("GMountUnmountFlags" "flags") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-method eject_mountable_finish + (of-object "GFile") + (c-name "g_file_eject_mountable_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "result") + '("GError**" "error") + ) +) + (define-method eject_mountable_with_operation (of-object "GFile") (c-name "g_file_eject_mountable_with_operation") @@ -10518,6 +10602,50 @@ (return-type "gboolean") ) +(define-method unmount + (of-object "GMount") + (c-name "g_mount_unmount") + (return-type "none") + (parameters + '("GMountUnmountFlags" "flags") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-method unmount_finish + (of-object "GMount") + (c-name "g_mount_unmount_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "result") + '("GError**" "error") + ) +) + +(define-method eject + (of-object "GMount") + (c-name "g_mount_eject") + (return-type "none") + (parameters + '("GMountUnmountFlags" "flags") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-method eject_finish + (of-object "GMount") + (c-name "g_mount_eject_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "result") + '("GError**" "error") + ) +) + (define-method remount (of-object "GMount") (c-name "g_mount_remount") @@ -12056,6 +12184,16 @@ (return-type "GType") ) +(define-function g_settings_list_schemas + (c-name "g_settings_list_schemas") + (return-type "const-gchar*-const*") +) + +(define-function g_settings_list_relocatable_schemas + (c-name "g_settings_list_relocatable_schemas") + (return-type "const-gchar*-const*") +) + (define-function g_settings_new (c-name "g_settings_new") (is-constructor-of "GSettings") @@ -13701,6 +13839,18 @@ ) ) +(define-method condition_timed_wait + (of-object "GSocket") + (c-name "g_socket_condition_timed_wait") + (return-type "gboolean") + (parameters + '("GIOCondition" "condition") + '("gint64" "timeout") + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + (define-method accept (of-object "GSocket") (c-name "g_socket_accept") @@ -14241,6 +14391,12 @@ ) ) +(define-method get_names + (of-object "GThemedIcon") + (c-name "g_themed_icon_get_names") + (return-type "const-gchar*-const*") +) + ;; From gthreadedresolver.h @@ -15551,6 +15707,15 @@ ) ) +(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*") @@ -15631,6 +15796,12 @@ ) ) +(define-method get_supported_uri_schemes + (of-object "GVfs") + (c-name "g_vfs_get_supported_uri_schemes") + (return-type "const-gchar*-const*") +) + (define-method parse_name (of-object "GVfs") (c-name "g_vfs_parse_name") @@ -15730,6 +15901,28 @@ ) ) +(define-method eject + (of-object "GVolume") + (c-name "g_volume_eject") + (return-type "none") + (parameters + '("GMountUnmountFlags" "flags") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-method eject_finish + (of-object "GVolume") + (c-name "g_volume_eject_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "result") + '("GError**" "error") + ) +) + (define-method get_identifier (of-object "GVolume") (c-name "g_volume_get_identifier") |