summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2010-01-02 16:19:19 -0600
committerJonathon Jongsma <jonathon@quotidian.org>2010-01-02 16:19:19 -0600
commitd6cb17b8637196351009b631ddcc31460ec10a87 (patch)
tree9ebb86964e119b08d7bfadbbce86423830336e69 /gio
parentcd4343612a7d4eacf4838177525446dcb933a1b9 (diff)
downloadglibmm-d6cb17b8637196351009b631ddcc31460ec10a87.tar.gz
Regenerate gio_methods.defs, bump glib requirement
Diffstat (limited to 'gio')
-rw-r--r--gio/src/gio_methods.defs406
1 files changed, 396 insertions, 10 deletions
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index d1adc383..b3e9efe6 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -32,6 +32,12 @@
(gtype-id "G_TYPE_CANCELLABLE")
)
+(define-object r
+ (in-module "GConverte")
+ (c-name "GConverter")
+ (gtype-id "G_TYPE_CONVERTER")
+)
+
(define-object AppInfoLookup
(in-module "GDesktop")
(c-name "GDesktopAppInfoLookup")
@@ -126,6 +132,13 @@
)
(define-object InputStream
+ (in-module "GConverter")
+ (parent "GFilterInputStream")
+ (c-name "GConverterInputStream")
+ (gtype-id "G_TYPE_CONVERTER_INPUT_STREAM")
+)
+
+(define-object InputStream
(in-module "GFile")
(parent "GInputStream")
(c-name "GFileInputStream")
@@ -201,6 +214,13 @@
)
(define-object OutputStream
+ (in-module "GConverter")
+ (parent "GFilterOutputStream")
+ (c-name "GConverterOutputStream")
+ (gtype-id "G_TYPE_CONVERTER_OUTPUT_STREAM")
+)
+
+(define-object OutputStream
(in-module "GData")
(parent "GFilterOutputStream")
(c-name "GDataOutputStream")
@@ -317,6 +337,13 @@
(gtype-id "G_TYPE_UNIX_CONNECTION")
)
+(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")
@@ -345,6 +372,13 @@
(gtype-id "G_TYPE_UNIX_SOCKET_ADDRESS")
)
+(define-object 8InputStream
+ (in-module "GUtf")
+ (parent "GFilterInputStream")
+ (c-name "GUtf8InputStream")
+ (gtype-id "G_TYPE_UTF8_INPUT_STREAM")
+)
+
(define-object s
(in-module "GVf")
(parent "GObject")
@@ -385,6 +419,29 @@
)
)
+(define-flags Flags
+ (in-module "GConverter")
+ (c-name "GConverterFlags")
+ (gtype-id "G_TYPE_CONVERTER_FLAGS")
+ (values
+ '("no-flags" "G_CONVERTER_NO_FLAGS")
+ '("input-at-end" "G_CONVERTER_INPUT_AT_END")
+ '("flush" "G_CONVERTER_FLUSH")
+ )
+)
+
+(define-enum Result
+ (in-module "GConverter")
+ (c-name "GConverterResult")
+ (gtype-id "G_TYPE_CONVERTER_RESULT")
+ (values
+ '("error" "G_CONVERTER_ERROR")
+ '("converted" "G_CONVERTER_CONVERTED")
+ '("finished" "G_CONVERTER_FINISHED")
+ '("flushed" "G_CONVERTER_FLUSHED")
+ )
+)
+
(define-enum StreamByteOrder
(in-module "GData")
(c-name "GDataStreamByteOrder")
@@ -453,8 +510,8 @@
(c-name "GFileQueryInfoFlags")
(gtype-id "G_TYPE_FILE_QUERY_INFO_FLAGS")
(values
- '("ne" "G_FILE_QUERY_INFO_NONE")
- '("follow-symlinks" "G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS")
+ '("none" "G_FILE_QUERY_INFO_NONE")
+ '("nofollow-symlinks" "G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS")
)
)
@@ -474,7 +531,7 @@
(c-name "GMountMountFlags")
(gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
(values
- '("e" "G_MOUNT_MOUNT_NONE")
+ '("none" "G_MOUNT_MOUNT_NONE")
)
)
@@ -493,7 +550,7 @@
(c-name "GDriveStartFlags")
(gtype-id "G_TYPE_DRIVE_START_FLAGS")
(values
- '("e" "G_DRIVE_START_NONE")
+ '("none" "G_DRIVE_START_NONE")
)
)
@@ -615,6 +672,8 @@
'("too-many-open-files" "G_IO_ERROR_TOO_MANY_OPEN_FILES")
'("not-initialized" "G_IO_ERROR_NOT_INITIALIZED")
'("address-in-use" "G_IO_ERROR_ADDRESS_IN_USE")
+ '("partial-input" "G_IO_ERROR_PARTIAL_INPUT")
+ '("invalid-data" "G_IO_ERROR_INVALID_DATA")
)
)
@@ -692,10 +751,10 @@
(c-name "GSocketFamily")
(gtype-id "G_TYPE_SOCKET_FAMILY")
(values
- '("g-socket-family-invalid" "G_SOCKET_FAMILY_INVALID")
- '("#ifdef" "#ifdef")
- '("#endif" "#endif")
- '("g-socket-family-ipv6" "G_SOCKET_FAMILY_IPV6")
+ '("invalid" "G_SOCKET_FAMILY_INVALID")
+ '("unix" "G_SOCKET_FAMILY_UNIX")
+ '("ipv4" "G_SOCKET_FAMILY_IPV4")
+ '("ipv6" "G_SOCKET_FAMILY_IPV6")
)
)
@@ -736,6 +795,17 @@
)
)
+(define-enum CompressorFormat
+ (in-module "GZlib")
+ (c-name "GZlibCompressorFormat")
+ (gtype-id "G_TYPE_ZLIB_COMPRESSOR_FORMAT")
+ (values
+ '("zlib" "G_ZLIB_COMPRESSOR_FORMAT_ZLIB")
+ '("gzip" "G_ZLIB_COMPRESSOR_FORMAT_GZIP")
+ '("raw" "G_ZLIB_COMPRESSOR_FORMAT_RAW")
+ )
+)
+
;; From gappinfo.h
@@ -782,6 +852,12 @@
(return-type "const-char*")
)
+(define-method get_display_name
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_display_name")
+ (return-type "const-char*")
+)
+
(define-method get_description
(of-object "GAppInfo")
(c-name "g_app_info_get_description")
@@ -1304,12 +1380,18 @@
(define-method make_pollfd
(of-object "GCancellable")
(c-name "g_cancellable_make_pollfd")
- (return-type "none")
+ (return-type "gboolean")
(parameters
'("GPollFD*" "pollfd")
)
)
+(define-method release_fd
+ (of-object "GCancellable")
+ (c-name "g_cancellable_release_fd")
+ (return-type "none")
+)
+
(define-function g_cancellable_get_current
(c-name "g_cancellable_get_current")
(return-type "GCancellable*")
@@ -1361,6 +1443,46 @@
+;; From gcharsetconverter.h
+
+(define-function g_charset_converter_get_type
+ (c-name "g_charset_converter_get_type")
+ (return-type "GType")
+)
+
+(define-method set_converter_new
+ (of-object "gchar")
+ (c-name "g_charset_converter_new")
+ (return-type "GCharsetConverter*")
+ (parameters
+ '("const-gchar*" "from_charset")
+ '("GError**" "error")
+ )
+)
+
+(define-method set_use_fallback
+ (of-object "GCharsetConverter")
+ (c-name "g_charset_converter_set_use_fallback")
+ (return-type "none")
+ (parameters
+ '("gboolean" "use_fallback")
+ )
+)
+
+(define-method get_use_fallback
+ (of-object "GCharsetConverter")
+ (c-name "g_charset_converter_get_use_fallback")
+ (return-type "gboolean")
+)
+
+(define-method get_num_fallbacks
+ (of-object "GCharsetConverter")
+ (c-name "g_charset_converter_get_num_fallbacks")
+ (return-type "guint")
+)
+
+
+
;; From gcontenttype.h
(define-function g_content_type_equals
@@ -1455,6 +1577,87 @@
+;; From gconverter.h
+
+(define-function g_converter_get_type
+ (c-name "g_converter_get_type")
+ (return-type "GType")
+)
+
+(define-method convert
+ (of-object "GConverter")
+ (c-name "g_converter_convert")
+ (return-type "GConverterResult")
+ (parameters
+ '("const-void*" "inbuf")
+ '("gsize" "inbuf_size")
+ '("void*" "outbuf")
+ '("gsize" "outbuf_size")
+ '("GConverterFlags" "flags")
+ '("gsize*" "bytes_read")
+ '("gsize*" "bytes_written")
+ '("GError**" "error")
+ )
+)
+
+(define-method reset
+ (of-object "GConverter")
+ (c-name "g_converter_reset")
+ (return-type "none")
+)
+
+
+
+;; From gconverterinputstream.h
+
+(define-function g_converter_input_stream_get_type
+ (c-name "g_converter_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_converter_input_stream_new
+ (c-name "g_converter_input_stream_new")
+ (is-constructor-of "GConverterInputStream")
+ (return-type "GInputStream*")
+ (parameters
+ '("GInputStream*" "base_stream")
+ '("GConverter*" "converter")
+ )
+)
+
+(define-method get_converter
+ (of-object "GConverterInputStream")
+ (c-name "g_converter_input_stream_get_converter")
+ (return-type "GConverter*")
+)
+
+
+
+;; From gconverteroutputstream.h
+
+(define-function g_converter_output_stream_get_type
+ (c-name "g_converter_output_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_converter_output_stream_new
+ (c-name "g_converter_output_stream_new")
+ (is-constructor-of "GConverterOutputStream")
+ (return-type "GOutputStream*")
+ (parameters
+ '("GOutputStream*" "base_stream")
+ '("GConverter*" "converter")
+ )
+)
+
+(define-method get_converter
+ (of-object "GConverterOutputStream")
+ (c-name "g_converter_output_stream_get_converter")
+ (return-type "GConverter*")
+)
+
+
+
;; From gdatainputstream.h
(define-function g_data_input_stream_get_type
@@ -2303,6 +2506,15 @@
(return-type "GFile*")
)
+(define-method has_parent
+ (of-object "GFile")
+ (c-name "g_file_has_parent")
+ (return-type "gboolean")
+ (parameters
+ '("GFile*" "parent")
+ )
+)
+
(define-method get_child
(of-object "GFile")
(c-name "g_file_get_child")
@@ -4715,6 +4927,16 @@
(return-type "GType")
)
+(define-function g_converter_flags_get_type
+ (c-name "g_converter_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_converter_result_get_type
+ (c-name "g_converter_result_get_type")
+ (return-type "GType")
+)
+
(define-function g_data_stream_byte_order_get_type
(c-name "g_data_stream_byte_order_get_type")
(return-type "GType")
@@ -4850,6 +5072,11 @@
(return-type "GType")
)
+(define-function g_zlib_compressor_format_get_type
+ (c-name "g_zlib_compressor_format_get_type")
+ (return-type "GType")
+)
+
;; From gioerror.h
@@ -5251,6 +5478,12 @@
(return-type "GFile*")
)
+(define-method get_default_location
+ (of-object "GMount")
+ (c-name "g_mount_get_default_location")
+ (return-type "GFile*")
+)
+
(define-method get_name
(of-object "GMount")
(c-name "g_mount_get_name")
@@ -5823,6 +6056,12 @@
(return-type "gboolean")
)
+(define-method is_closing
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_is_closing")
+ (return-type "gboolean")
+)
+
(define-method has_pending
(of-object "GOutputStream")
(c-name "g_output_stream_has_pending")
@@ -6173,7 +6412,7 @@
(c-name "g_simple_async_result_set_from_error")
(return-type "none")
(parameters
- '("GError*" "error")
+ '("const-GError*" "error")
)
)
@@ -7003,6 +7242,16 @@
)
)
+(define-method add_any_inet_port
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_add_any_inet_port")
+ (return-type "guint16")
+ (parameters
+ '("GObject*" "source_object")
+ '("GError**" "error")
+ )
+)
+
(define-method accept_socket
(of-object "GSocketListener")
(c-name "g_socket_listener_accept_socket")
@@ -7270,6 +7519,24 @@
+;; From gutf8inputstream.h
+
+(define-function g_utf8_input_stream_get_type
+ (c-name "g_utf8_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_utf8_input_stream_new
+ (c-name "g_utf8_input_stream_new")
+ (is-constructor-of "GUtf8InputStream")
+ (return-type "GInputStream*")
+ (parameters
+ '("GInputStream*" "base_stream")
+ )
+)
+
+
+
;; From gvfs.h
(define-function g_vfs_get_type
@@ -7526,6 +7793,43 @@
+;; From gzlibcompressor.h
+
+(define-function g_zlib_compressor_get_type
+ (c-name "g_zlib_compressor_get_type")
+ (return-type "GType")
+)
+
+(define-function g_zlib_compressor_new
+ (c-name "g_zlib_compressor_new")
+ (is-constructor-of "GZlibCompressor")
+ (return-type "GZlibCompressor*")
+ (parameters
+ '("GZlibCompressorFormat" "format")
+ '("int" "level")
+ )
+)
+
+
+
+;; From gzlibdecompressor.h
+
+(define-function g_zlib_decompressor_get_type
+ (c-name "g_zlib_decompressor_get_type")
+ (return-type "GType")
+)
+
+(define-function g_zlib_decompressor_new
+ (c-name "g_zlib_decompressor_new")
+ (is-constructor-of "GZlibDecompressor")
+ (return-type "GZlibDecompressor*")
+ (parameters
+ '("GZlibCompressorFormat" "format")
+ )
+)
+
+
+
;; From gdesktopappinfo.h
(define-function g_desktop_app_info_get_type
@@ -7618,6 +7922,74 @@
+;; 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
@@ -7625,12 +7997,26 @@
(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")