[glibmm] giomm: Add TimeZoneMonitor.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] giomm: Add TimeZoneMonitor.
- Date: Mon, 20 Jun 2011 04:44:23 +0000 (UTC)
commit 49ab09c643d38885658e5979f2fdb0b51d5fb0e8
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Sun Jun 19 18:38:54 2011 -0400
giomm: Add TimeZoneMonitor.
* tools/extra_defs_gen/generate_defs_gio.cc: Add the
G_TYPE_TIME_ZONE_MONITOR type to the list of types for which signals
and properties should be generated.
* gio/src/gio_signals.defs:
* gio/src/gio_signals.defs.patch: Regenerate the signal and properties
defs file and add a patch file so it does not have to be edited
manually.
* gio/src/gio_methods.defs:
* gio/src/gio_methods.defs.patch: Regenerate the methods defs file and
add a patch file as above.
* gio/src/filelist.am:
* gio/src/timezonemonitor.{ccg,hg}: Add the sources and mention them
in the build so they are processed.
* tools/m4/convert_gio.m4: Add a necessary conversion.
ChangeLog | 20 +
gio/src/filelist.am | 3 +-
gio/src/gio_methods.defs |12734 ++++++++++++++++++-----------
gio/src/gio_methods.defs.patch | 66 +
gio/src/gio_signals.defs | 265 +-
gio/src/gio_signals.defs.patch | 40 +
gio/src/timezonemonitor.ccg | 23 +
gio/src/timezonemonitor.hg | 50 +
tools/extra_defs_gen/generate_defs_gio.cc | 1 +
tools/m4/convert_gio.m4 | 3 +
10 files changed, 8023 insertions(+), 5182 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 03713c2..02fd6ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2011-06-19 Josà Alburquerque <jaalburqu svn gnome org>
+
+ giomm: Add TimeZoneMonitor.
+
+ * tools/extra_defs_gen/generate_defs_gio.cc: Add the
+ G_TYPE_TIME_ZONE_MONITOR type to the list of types for which signals
+ and properties should be generated.
+ * gio/src/gio_signals.defs:
+ * gio/src/gio_signals.defs.patch: Regenerate the signal and properties
+ defs file and add a patch file so it does not have to be edited
+ manually.
+ * gio/src/gio_methods.defs:
+ * gio/src/gio_methods.defs.patch: Regenerate the methods defs file and
+ add a patch file as above.
+
+ * gio/src/filelist.am:
+ * gio/src/timezonemonitor.{ccg,hg}: Add the sources and mention them
+ in the build so they are processed.
+ * tools/m4/convert_gio.m4: Add a necessary conversion.
+
2011-06-16 Josà Alburquerque <jaalburqu svn gnome org>
DateTime, TimeZone: Use classes without Glib::RefPt<>.
diff --git a/gio/src/filelist.am b/gio/src/filelist.am
index dd5996b..b5db4ed 100644
--- a/gio/src/filelist.am
+++ b/gio/src/filelist.am
@@ -22,7 +22,7 @@ giomm_files_any_hg = \
credentials.hg \
datainputstream.hg \
dataoutputstream.hg \
- dbusaddress.hg \
+ dbusaddress.hg \
dbusauthobserver.hg \
dbusconnection.hg \
dbuserror.hg \
@@ -88,6 +88,7 @@ giomm_files_any_hg = \
tcpconnection.hg \
threadedsocketservice.hg \
themedicon.hg \
+ timezonemonitor.hg \
volume.hg \
volumemonitor.hg
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index 9552ab2..c3e7e0a 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -1,5 +1,23 @@
;; -*- scheme -*-
; object definitions ...
+(define-object Animal
+ (in-module "Example")
+ (c-name "ExampleAnimal")
+ (gtype-id "EXAMPLE_TYPE_ANIMAL")
+)
+
+(define-object Cat
+ (in-module "Example")
+ (c-name "ExampleCat")
+ (gtype-id "EXAMPLE_TYPE_CAT")
+)
+
+(define-object Object
+ (in-module "Example")
+ (c-name "ExampleObject")
+ (gtype-id "EXAMPLE_TYPE_OBJECT")
+)
+
(define-object Info
(in-module "GApp")
(c-name "GAppInfo")
@@ -52,6 +70,129 @@
(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 Interface
+ (in-module "GDBus")
+ (c-name "GDBusInterface")
+ (gtype-id "G_TYPE_D_BUS_INTERFACE")
+)
+
+(define-object InterfaceSkeleton
+ (in-module "GDBus")
+ (parent "GObject")
+ (c-name "GDBusInterfaceSkeleton")
+ (gtype-id "G_TYPE_D_BUS_INTERFACE_SKELETON")
+)
+
+(define-object CatSkeleton
+ (in-module "Example")
+ (parent "GDBusInterfaceSkeleton")
+ (c-name "ExampleCatSkeleton")
+ (gtype-id "EXAMPLE_TYPE_CAT_SKELETON")
+)
+
+(define-object AnimalSkeleton
+ (in-module "Example")
+ (parent "GDBusInterfaceSkeleton")
+ (c-name "ExampleAnimalSkeleton")
+ (gtype-id "EXAMPLE_TYPE_ANIMAL_SKELETON")
+)
+
+(define-object Object
+ (in-module "GDBus")
+ (c-name "GDBusObject")
+ (gtype-id "G_TYPE_D_BUS_OBJECT")
+)
+
+(define-object ObjectManager
+ (in-module "GDBus")
+ (c-name "GDBusObjectManager")
+ (gtype-id "G_TYPE_D_BUS_OBJECT_MANAGER")
+)
+
+(define-object ObjectManagerClient
+ (in-module "GDBus")
+ (parent "GObject")
+ (c-name "GDBusObjectManagerClient")
+ (gtype-id "G_TYPE_D_BUS_OBJECT_MANAGER_CLIENT")
+)
+
+(define-object ObjectManagerClient
+ (in-module "Example")
+ (parent "GDBusObjectManagerClient")
+ (c-name "ExampleObjectManagerClient")
+ (gtype-id "EXAMPLE_TYPE_OBJECT_MANAGER_CLIENT")
+)
+
+(define-object ObjectManagerServer
+ (in-module "GDBus")
+ (parent "GObject")
+ (c-name "GDBusObjectManagerServer")
+ (gtype-id "G_TYPE_D_BUS_OBJECT_MANAGER_SERVER")
+)
+
+(define-object ObjectProxy
+ (in-module "GDBus")
+ (parent "GObject")
+ (c-name "GDBusObjectProxy")
+ (gtype-id "G_TYPE_D_BUS_OBJECT_PROXY")
+)
+
+(define-object ObjectProxy
+ (in-module "Example")
+ (parent "GDBusObjectProxy")
+ (c-name "ExampleObjectProxy")
+ (gtype-id "EXAMPLE_TYPE_OBJECT_PROXY")
+)
+
+(define-object ObjectSkeleton
+ (in-module "GDBus")
+ (parent "GObject")
+ (c-name "GDBusObjectSkeleton")
+ (gtype-id "G_TYPE_D_BUS_OBJECT_SKELETON")
+)
+
+(define-object ObjectSkeleton
+ (in-module "Example")
+ (parent "GDBusObjectSkeleton")
+ (c-name "ExampleObjectSkeleton")
+ (gtype-id "EXAMPLE_TYPE_OBJECT_SKELETON")
+)
+
(define-object Proxy
(in-module "GDBus")
(parent "GObject")
@@ -59,18 +200,51 @@
(gtype-id "G_TYPE_D_BUS_PROXY")
)
+(define-object CatProxy
+ (in-module "Example")
+ (parent "GDBusProxy")
+ (c-name "ExampleCatProxy")
+ (gtype-id "EXAMPLE_TYPE_CAT_PROXY")
+)
+
+(define-object AnimalProxy
+ (in-module "Example")
+ (parent "GDBusProxy")
+ (c-name "ExampleAnimalProxy")
+ (gtype-id "EXAMPLE_TYPE_ANIMAL_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")
(gtype-id "G_TYPE_DRIVE")
)
+(define-object Icon
+ (in-module "GEmblemed")
+ (parent "GObject")
+ (c-name "GEmblemedIcon")
+ (gtype-id "G_TYPE_EMBLEMED_ICON")
+)
+
(define-object e
(in-module "GFil")
(c-name "GFile")
(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")
@@ -166,6 +340,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")
@@ -249,11 +451,11 @@
(gtype-id "G_TYPE_FILE_OUTPUT_STREAM")
)
-(define-object c
- (in-module "GPeriodi")
- (parent "GObject")
- (c-name "GPeriodic")
- (gtype-id "G_TYPE_PERIODIC")
+(define-object FileOutputStream
+ (in-module "GLocal")
+ (parent "GFileOutputStream")
+ (c-name "GLocalFileOutputStream")
+ (gtype-id "G_TYPE_LOCAL_FILE_OUTPUT_STREAM")
)
(define-object n
@@ -290,6 +492,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")
@@ -373,6 +589,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")
@@ -380,6 +603,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")
@@ -387,6 +617,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")
@@ -394,6 +631,13 @@
(gtype-id "G_TYPE_TCP_CONNECTION")
)
+(define-object WrapperConnection
+ (in-module "GTcp")
+ (parent "GTcpConnection")
+ (c-name "GTcpWrapperConnection")
+ (gtype-id "G_TYPE_TCP_WRAPPER_CONNECTION")
+)
+
(define-object SocketService
(in-module "GThreaded")
(parent "GSocketService")
@@ -401,6 +645,69 @@
(gtype-id "G_TYPE_THREADED_SOCKET_SERVICE")
)
+(define-object Certificate
+ (in-module "GTls")
+ (parent "GObject")
+ (c-name "GTlsCertificate")
+ (gtype-id "G_TYPE_TLS_CERTIFICATE")
+)
+
+(define-object Connection
+ (in-module "GTls")
+ (parent "GIOStream")
+ (c-name "GTlsConnection")
+ (gtype-id "G_TYPE_TLS_CONNECTION")
+)
+
+(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")
@@ -428,8 +735,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")
@@ -756,6 +1090,18 @@
)
)
+(define-flags SpliceFlags
+ (in-module "GIOStream")
+ (c-name "GIOStreamSpliceFlags")
+ (gtype-id "G_TYPE_IO_STREAM_SPLICE_FLAGS")
+ (values
+ '("none" "G_IO_STREAM_SPLICE_NONE")
+ '("close-stream1" "G_IO_STREAM_SPLICE_CLOSE_STREAM1")
+ '("close-stream2" "G_IO_STREAM_SPLICE_CLOSE_STREAM2")
+ '("wait-for-both" "G_IO_STREAM_SPLICE_WAIT_FOR_BOTH")
+ )
+)
+
(define-enum Origin
(in-module "GEmblem")
(c-name "GEmblemOrigin")
@@ -784,10 +1130,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")
)
)
@@ -1082,6 +1428,7 @@
'("invalid" "G_CREDENTIALS_TYPE_INVALID")
'("linux-ucred" "G_CREDENTIALS_TYPE_LINUX_UCRED")
'("freebsd-cmsgcred" "G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED")
+ '("openbsd-sockpeercred" "G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED")
)
)
@@ -1106,6 +1453,80 @@
'("handles-open" "G_APPLICATION_HANDLES_OPEN")
'("handles-command-line" "G_APPLICATION_HANDLES_COMMAND_LINE")
'("send-environment" "G_APPLICATION_SEND_ENVIRONMENT")
+ '("non-unique" "G_APPLICATION_NON_UNIQUE")
+ )
+)
+
+(define-enum Error
+ (in-module "GTls")
+ (c-name "GTlsError")
+ (gtype-id "G_TYPE_TLS_ERROR")
+ (values
+ '("unavailable" "G_TLS_ERROR_UNAVAILABLE")
+ '("misc" "G_TLS_ERROR_MISC")
+ '("bad-certificate" "G_TLS_ERROR_BAD_CERTIFICATE")
+ '("not-tls" "G_TLS_ERROR_NOT_TLS")
+ '("handshake" "G_TLS_ERROR_HANDSHAKE")
+ '("certificate-required" "G_TLS_ERROR_CERTIFICATE_REQUIRED")
+ '("eof" "G_TLS_ERROR_EOF")
+ )
+)
+
+(define-flags CertificateFlags
+ (in-module "GTls")
+ (c-name "GTlsCertificateFlags")
+ (gtype-id "G_TYPE_TLS_CERTIFICATE_FLAGS")
+ (values
+ '("unknown-ca" "G_TLS_CERTIFICATE_UNKNOWN_CA")
+ '("bad-identity" "G_TLS_CERTIFICATE_BAD_IDENTITY")
+ '("not-activated" "G_TLS_CERTIFICATE_NOT_ACTIVATED")
+ '("expired" "G_TLS_CERTIFICATE_EXPIRED")
+ '("revoked" "G_TLS_CERTIFICATE_REVOKED")
+ '("insecure" "G_TLS_CERTIFICATE_INSECURE")
+ '("generic-error" "G_TLS_CERTIFICATE_GENERIC_ERROR")
+ '("validate-all" "G_TLS_CERTIFICATE_VALIDATE_ALL")
+ )
+)
+
+(define-enum AuthenticationMode
+ (in-module "GTls")
+ (c-name "GTlsAuthenticationMode")
+ (gtype-id "G_TYPE_TLS_AUTHENTICATION_MODE")
+ (values
+ '("none" "G_TLS_AUTHENTICATION_NONE")
+ '("requested" "G_TLS_AUTHENTICATION_REQUESTED")
+ '("required" "G_TLS_AUTHENTICATION_REQUIRED")
+ )
+)
+
+(define-enum RehandshakeMode
+ (in-module "GTls")
+ (c-name "GTlsRehandshakeMode")
+ (gtype-id "G_TYPE_TLS_REHANDSHAKE_MODE")
+ (values
+ '("never" "G_TLS_REHANDSHAKE_NEVER")
+ '("safely" "G_TLS_REHANDSHAKE_SAFELY")
+ '("unsafely" "G_TLS_REHANDSHAKE_UNSAFELY")
+ )
+)
+
+(define-flags InterfaceSkeletonFlags
+ (in-module "GDBus")
+ (c-name "GDBusInterfaceSkeletonFlags")
+ (gtype-id "G_TYPE_D_BUS_INTERFACE_SKELETON_FLAGS")
+ (values
+ '("none" "G_DBUS_INTERFACE_SKELETON_FLAGS_NONE")
+ '("handle-method-invocations-in-thread" "G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD")
+ )
+)
+
+(define-flags ObjectManagerClientFlags
+ (in-module "GDBus")
+ (c-name "GDBusObjectManagerClientFlags")
+ (gtype-id "G_TYPE_D_BUS_OBJECT_MANAGER_CLIENT_FLAGS")
+ (values
+ '("none" "G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE")
+ '("do-not-auto-start" "G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START")
)
)
@@ -1487,6 +1908,16 @@
(return-type "gboolean")
)
+(define-method set_as_last_used_for_type
+ (of-object "GAppInfo")
+ (c-name "g_app_info_set_as_last_used_for_type")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "content_type")
+ '("GError**" "error")
+ )
+)
+
(define-function g_app_info_get_all
(c-name "g_app_info_get_all")
(return-type "GList*")
@@ -1500,6 +1931,22 @@
)
)
+(define-function g_app_info_get_recommended_for_type
+ (c-name "g_app_info_get_recommended_for_type")
+ (return-type "GList*")
+ (parameters
+ '("const-gchar*" "content_type")
+ )
+)
+
+(define-function g_app_info_get_fallback_for_type
+ (c-name "g_app_info_get_fallback_for_type")
+ (return-type "GList*")
+ (parameters
+ '("const-gchar*" "content_type")
+ )
+)
+
(define-function g_app_info_reset_type_associations
(c-name "g_app_info_reset_type_associations")
(return-type "none")
@@ -1799,6 +2246,14 @@
+;; From gapplicationimpl.h
+
+
+
+;; From gasynchelper.h
+
+
+
;; From gasyncinitable.h
(define-function g_async_initable_get_type
@@ -2121,6 +2576,12 @@
(return-type "none")
)
+(define-method source_new
+ (of-object "GCancellable")
+ (c-name "g_cancellable_source_new")
+ (return-type "GSource*")
+)
+
(define-function g_cancellable_get_current
(c-name "g_cancellable_get_current")
(return-type "GCancellable*")
@@ -2306,6 +2767,10 @@
+;; From gcontenttypeprivate.h
+
+
+
;; From gconverter.h
(define-function g_converter_get_type
@@ -2866,6 +3331,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
@@ -3428,2247 +3913,2618 @@
-;; From gdbusintrospection.h
+;; From gdbus-example-objectmanager-generated.h
-(define-function g_dbus_annotation_info_lookup
- (c-name "g_dbus_annotation_info_lookup")
- (return-type "const-gchar*")
+(define-function example_animal_get_type
+ (c-name "example_animal_get_type")
+ (return-type "GType")
+)
+
+(define-function example_animal_interface_info
+ (c-name "example_animal_interface_info")
+ (return-type "GDBusInterfaceInfo*")
+)
+
+(define-function example_animal_override_properties
+ (c-name "example_animal_override_properties")
+ (return-type "guint")
(parameters
- '("GDBusAnnotationInfo**" "annotations")
- '("const-gchar*" "name")
+ '("GObjectClass*" "klass")
+ '("guint" "property_id_begin")
)
)
-(define-method lookup_method
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_lookup_method")
- (return-type "GDBusMethodInfo*")
+(define-method complete_poke
+ (of-object "ExampleAnimal")
+ (c-name "example_animal_complete_poke")
+ (return-type "none")
(parameters
- '("const-gchar*" "name")
+ '("GDBusMethodInvocation*" "invocation")
)
)
-(define-method lookup_signal
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_lookup_signal")
- (return-type "GDBusSignalInfo*")
+(define-method emit_jumped
+ (of-object "ExampleAnimal")
+ (c-name "example_animal_emit_jumped")
+ (return-type "none")
(parameters
- '("const-gchar*" "name")
+ '("gdouble" "height")
)
)
-(define-method lookup_property
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_lookup_property")
- (return-type "GDBusPropertyInfo*")
+(define-method call_poke
+ (of-object "ExampleAnimal")
+ (c-name "example_animal_call_poke")
+ (return-type "none")
(parameters
- '("const-gchar*" "name")
+ '("gboolean" "make_sad")
+ '("gboolean" "make_happy")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method generate_xml
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_generate_xml")
- (return-type "none")
+(define-method call_poke_finish
+ (of-object "ExampleAnimal")
+ (c-name "example_animal_call_poke_finish")
+ (return-type "gboolean")
(parameters
- '("guint" "indent")
- '("GString*" "string_builder")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-function g_dbus_node_info_new_for_xml
- (c-name "g_dbus_node_info_new_for_xml")
- (return-type "GDBusNodeInfo*")
+(define-method call_poke_sync
+ (of-object "ExampleAnimal")
+ (c-name "example_animal_call_poke_sync")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "xml_data")
+ '("gboolean" "make_sad")
+ '("gboolean" "make_happy")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method lookup_interface
- (of-object "GDBusNodeInfo")
- (c-name "g_dbus_node_info_lookup_interface")
- (return-type "GDBusInterfaceInfo*")
+(define-method get_mood
+ (of-object "ExampleAnimal")
+ (c-name "example_animal_get_mood")
+ (return-type "const-gchar*")
+)
+
+(define-method set_mood
+ (of-object "ExampleAnimal")
+ (c-name "example_animal_set_mood")
+ (return-type "none")
(parameters
- '("const-gchar*" "name")
+ '("const-gchar*" "value")
)
)
-(define-method generate_xml
- (of-object "GDBusNodeInfo")
- (c-name "g_dbus_node_info_generate_xml")
+(define-function example_animal_proxy_get_type
+ (c-name "example_animal_proxy_get_type")
+ (return-type "GType")
+)
+
+(define-function example_animal_proxy_new
+ (c-name "example_animal_proxy_new")
(return-type "none")
(parameters
- '("guint" "indent")
- '("GString*" "string_builder")
+ '("GDBusConnection*" "connection")
+ '("GDBusProxyFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method ref
- (of-object "GDBusNodeInfo")
- (c-name "g_dbus_node_info_ref")
- (return-type "GDBusNodeInfo*")
+(define-function example_animal_proxy_new_finish
+ (c-name "example_animal_proxy_new_finish")
+ (return-type "ExampleAnimal*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
)
-(define-method ref
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_ref")
- (return-type "GDBusInterfaceInfo*")
+(define-function example_animal_proxy_new_sync
+ (c-name "example_animal_proxy_new_sync")
+ (return-type "ExampleAnimal*")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("GDBusProxyFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method ref
- (of-object "GDBusMethodInfo")
- (c-name "g_dbus_method_info_ref")
- (return-type "GDBusMethodInfo*")
+(define-function example_animal_proxy_new_for_bus
+ (c-name "example_animal_proxy_new_for_bus")
+ (return-type "none")
+ (parameters
+ '("GBusType" "bus_type")
+ '("GDBusProxyFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method ref
- (of-object "GDBusSignalInfo")
- (c-name "g_dbus_signal_info_ref")
- (return-type "GDBusSignalInfo*")
+(define-function example_animal_proxy_new_for_bus_finish
+ (c-name "example_animal_proxy_new_for_bus_finish")
+ (return-type "ExampleAnimal*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
)
-(define-method ref
- (of-object "GDBusPropertyInfo")
- (c-name "g_dbus_property_info_ref")
- (return-type "GDBusPropertyInfo*")
+(define-function example_animal_proxy_new_for_bus_sync
+ (c-name "example_animal_proxy_new_for_bus_sync")
+ (return-type "ExampleAnimal*")
+ (parameters
+ '("GBusType" "bus_type")
+ '("GDBusProxyFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method ref
- (of-object "GDBusArgInfo")
- (c-name "g_dbus_arg_info_ref")
- (return-type "GDBusArgInfo*")
+(define-function example_animal_skeleton_get_type
+ (c-name "example_animal_skeleton_get_type")
+ (return-type "GType")
)
-(define-method ref
- (of-object "GDBusAnnotationInfo")
- (c-name "g_dbus_annotation_info_ref")
- (return-type "GDBusAnnotationInfo*")
+(define-function example_animal_skeleton_new
+ (c-name "example_animal_skeleton_new")
+ (is-constructor-of "ExampleAnimalSkeleton")
+ (return-type "ExampleAnimal*")
)
-(define-method unref
- (of-object "GDBusNodeInfo")
- (c-name "g_dbus_node_info_unref")
- (return-type "none")
+(define-function example_cat_get_type
+ (c-name "example_cat_get_type")
+ (return-type "GType")
)
-(define-method unref
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_unref")
- (return-type "none")
+(define-function example_cat_interface_info
+ (c-name "example_cat_interface_info")
+ (return-type "GDBusInterfaceInfo*")
)
-(define-method unref
- (of-object "GDBusMethodInfo")
- (c-name "g_dbus_method_info_unref")
- (return-type "none")
+(define-function example_cat_proxy_get_type
+ (c-name "example_cat_proxy_get_type")
+ (return-type "GType")
)
-(define-method unref
- (of-object "GDBusSignalInfo")
- (c-name "g_dbus_signal_info_unref")
+(define-function example_cat_proxy_new
+ (c-name "example_cat_proxy_new")
(return-type "none")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("GDBusProxyFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method unref
- (of-object "GDBusPropertyInfo")
- (c-name "g_dbus_property_info_unref")
- (return-type "none")
+(define-function example_cat_proxy_new_finish
+ (c-name "example_cat_proxy_new_finish")
+ (return-type "ExampleCat*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
)
-(define-method unref
- (of-object "GDBusArgInfo")
- (c-name "g_dbus_arg_info_unref")
- (return-type "none")
+(define-function example_cat_proxy_new_sync
+ (c-name "example_cat_proxy_new_sync")
+ (return-type "ExampleCat*")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("GDBusProxyFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method unref
- (of-object "GDBusAnnotationInfo")
- (c-name "g_dbus_annotation_info_unref")
+(define-function example_cat_proxy_new_for_bus
+ (c-name "example_cat_proxy_new_for_bus")
(return-type "none")
+ (parameters
+ '("GBusType" "bus_type")
+ '("GDBusProxyFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-function g_dbus_node_info_get_type
- (c-name "g_dbus_node_info_get_type")
- (return-type "GType")
+(define-function example_cat_proxy_new_for_bus_finish
+ (c-name "example_cat_proxy_new_for_bus_finish")
+ (return-type "ExampleCat*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
)
-(define-function g_dbus_interface_info_get_type
- (c-name "g_dbus_interface_info_get_type")
- (return-type "GType")
+(define-function example_cat_proxy_new_for_bus_sync
+ (c-name "example_cat_proxy_new_for_bus_sync")
+ (return-type "ExampleCat*")
+ (parameters
+ '("GBusType" "bus_type")
+ '("GDBusProxyFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-function g_dbus_method_info_get_type
- (c-name "g_dbus_method_info_get_type")
+(define-function example_cat_skeleton_get_type
+ (c-name "example_cat_skeleton_get_type")
(return-type "GType")
)
-(define-function g_dbus_signal_info_get_type
- (c-name "g_dbus_signal_info_get_type")
- (return-type "GType")
+(define-function example_cat_skeleton_new
+ (c-name "example_cat_skeleton_new")
+ (is-constructor-of "ExampleCatSkeleton")
+ (return-type "ExampleCat*")
)
-(define-function g_dbus_property_info_get_type
- (c-name "g_dbus_property_info_get_type")
+(define-function example_object_get_type
+ (c-name "example_object_get_type")
(return-type "GType")
)
-(define-function g_dbus_arg_info_get_type
- (c-name "g_dbus_arg_info_get_type")
- (return-type "GType")
+(define-method get_animal
+ (of-object "ExampleObject")
+ (c-name "example_object_get_animal")
+ (return-type "ExampleAnimal*")
)
-(define-function g_dbus_annotation_info_get_type
- (c-name "g_dbus_annotation_info_get_type")
- (return-type "GType")
+(define-method get_cat
+ (of-object "ExampleObject")
+ (c-name "example_object_get_cat")
+ (return-type "ExampleCat*")
)
+(define-method peek_animal
+ (of-object "ExampleObject")
+ (c-name "example_object_peek_animal")
+ (return-type "ExampleAnimal*")
+)
+(define-method peek_cat
+ (of-object "ExampleObject")
+ (c-name "example_object_peek_cat")
+ (return-type "ExampleCat*")
+)
-;; From gdbusmessage.h
+(define-function example_object_proxy_get_type
+ (c-name "example_object_proxy_get_type")
+ (return-type "GType")
+)
-(define-function g_dbus_message_get_type
- (c-name "g_dbus_message_get_type")
+(define-function example_object_proxy_new
+ (c-name "example_object_proxy_new")
+ (is-constructor-of "ExampleObjectProxy")
+ (return-type "ExampleObjectProxy*")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "object_path")
+ )
+)
+
+(define-function example_object_skeleton_get_type
+ (c-name "example_object_skeleton_get_type")
(return-type "GType")
)
-(define-function g_dbus_message_new
- (c-name "g_dbus_message_new")
- (is-constructor-of "GDbusMessage")
- (return-type "GDBusMessage*")
+(define-function example_object_skeleton_new
+ (c-name "example_object_skeleton_new")
+ (is-constructor-of "ExampleObjectSkeleton")
+ (return-type "ExampleObjectSkeleton*")
+ (parameters
+ '("const-gchar*" "object_path")
+ )
)
-(define-function g_dbus_message_new_signal
- (c-name "g_dbus_message_new_signal")
- (return-type "GDBusMessage*")
+(define-method set_animal
+ (of-object "ExampleObjectSkeleton")
+ (c-name "example_object_skeleton_set_animal")
+ (return-type "none")
(parameters
- '("const-gchar*" "path")
- '("const-gchar*" "interface_")
- '("const-gchar*" "signal")
+ '("ExampleAnimal*" "interface_")
)
)
-(define-function g_dbus_message_new_method_call
- (c-name "g_dbus_message_new_method_call")
- (return-type "GDBusMessage*")
+(define-method set_cat
+ (of-object "ExampleObjectSkeleton")
+ (c-name "example_object_skeleton_set_cat")
+ (return-type "none")
(parameters
- '("const-gchar*" "name")
- '("const-gchar*" "path")
- '("const-gchar*" "interface_")
- '("const-gchar*" "method")
+ '("ExampleCat*" "interface_")
)
)
-(define-method new_method_reply
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_new_method_reply")
- (return-type "GDBusMessage*")
+(define-function example_object_manager_client_get_type
+ (c-name "example_object_manager_client_get_type")
+ (return-type "GType")
)
-(define-method new_method_error
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_new_method_error")
- (return-type "GDBusMessage*")
+(define-function example_object_manager_client_get_proxy_type
+ (c-name "example_object_manager_client_get_proxy_type")
+ (return-type "GType")
(parameters
- '("const-gchar*" "error_name")
- '("const-gchar*" "error_message_format")
+ '("GDBusObjectManagerClient*" "manager")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
+ '("gpointer" "user_data")
)
- (varargs #t)
)
-(define-method new_method_error_valist
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_new_method_error_valist")
- (return-type "GDBusMessage*")
+(define-function example_object_manager_client_new
+ (c-name "example_object_manager_client_new")
+ (return-type "none")
(parameters
- '("const-gchar*" "error_name")
- '("const-gchar*" "error_message_format")
- '("va_list" "var_args")
+ '("GDBusConnection*" "connection")
+ '("GDBusObjectManagerClientFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method new_method_error_literal
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_new_method_error_literal")
- (return-type "GDBusMessage*")
+(define-function example_object_manager_client_new_finish
+ (c-name "example_object_manager_client_new_finish")
+ (return-type "GDBusObjectManager*")
(parameters
- '("const-gchar*" "error_name")
- '("const-gchar*" "error_message")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-method print
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_print")
- (return-type "gchar*")
+(define-function example_object_manager_client_new_sync
+ (c-name "example_object_manager_client_new_sync")
+ (return-type "GDBusObjectManager*")
(parameters
- '("guint" "indent")
+ '("GDBusConnection*" "connection")
+ '("GDBusObjectManagerClientFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_locked
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_locked")
- (return-type "gboolean")
+(define-function example_object_manager_client_new_for_bus
+ (c-name "example_object_manager_client_new_for_bus")
+ (return-type "none")
+ (parameters
+ '("GBusType" "bus_type")
+ '("GDBusObjectManagerClientFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method lock
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_lock")
- (return-type "none")
+(define-function example_object_manager_client_new_for_bus_finish
+ (c-name "example_object_manager_client_new_for_bus_finish")
+ (return-type "GDBusObjectManager*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
)
-(define-method copy
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_copy")
- (return-type "GDBusMessage*")
+(define-function example_object_manager_client_new_for_bus_sync
+ (c-name "example_object_manager_client_new_for_bus_sync")
+ (return-type "GDBusObjectManager*")
(parameters
+ '("GBusType" "bus_type")
+ '("GDBusObjectManagerClientFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method get_byte_order
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_byte_order")
- (return-type "GDBusMessageByteOrder")
+
+
+;; From gdbusinterface.h
+
+(define-function g_dbus_interface_get_type
+ (c-name "g_dbus_interface_get_type")
+ (return-type "GType")
)
-(define-method set_byte_order
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_byte_order")
- (return-type "none")
- (parameters
- '("GDBusMessageByteOrder" "byte_order")
- )
+(define-method get_info
+ (of-object "GDBusInterface")
+ (c-name "g_dbus_interface_get_info")
+ (return-type "GDBusInterfaceInfo*")
)
-(define-method get_message_type
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_message_type")
- (return-type "GDBusMessageType")
+(define-method get_object
+ (of-object "GDBusInterface")
+ (c-name "g_dbus_interface_get_object")
+ (return-type "GDBusObject*")
)
-(define-method set_message_type
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_message_type")
+(define-method set_object
+ (of-object "GDBusInterface")
+ (c-name "g_dbus_interface_set_object")
(return-type "none")
(parameters
- '("GDBusMessageType" "type")
+ '("GDBusObject*" "object")
)
)
+
+
+;; From gdbusinterfaceskeleton.h
+
+(define-function g_dbus_interface_skeleton_get_type
+ (c-name "g_dbus_interface_skeleton_get_type")
+ (return-type "GType")
+)
+
(define-method get_flags
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_flags")
- (return-type "GDBusMessageFlags")
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_get_flags")
+ (return-type "GDBusInterfaceSkeletonFlags")
)
(define-method set_flags
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_flags")
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_set_flags")
(return-type "none")
(parameters
- '("GDBusMessageFlags" "flags")
+ '("GDBusInterfaceSkeletonFlags" "flags")
)
)
-(define-method get_serial
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_serial")
- (return-type "guint32")
+(define-method get_info
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_get_info")
+ (return-type "GDBusInterfaceInfo*")
)
-(define-method set_serial
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_serial")
- (return-type "none")
- (parameters
- '("guint32" "serial")
- )
+(define-method get_vtable
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_get_vtable")
+ (return-type "GDBusInterfaceVTable*")
)
-(define-method get_header
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_header")
+(define-method get_properties
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_get_properties")
(return-type "GVariant*")
- (parameters
- '("GDBusMessageHeaderField" "header_field")
- )
)
-(define-method set_header
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_header")
+(define-method flush
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_flush")
(return-type "none")
+)
+
+(define-method export
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_export")
+ (return-type "gboolean")
(parameters
- '("GDBusMessageHeaderField" "header_field")
- '("GVariant*" "value")
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "object_path")
+ '("GError**" "error")
)
)
-(define-method get_header_fields
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_header_fields")
- (return-type "guchar*")
+(define-method unexport
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_unexport")
+ (return-type "none")
)
-(define-method get_body
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_body")
- (return-type "GVariant*")
+(define-method get_connection
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_get_connection")
+ (return-type "GDBusConnection*")
)
-(define-method set_body
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_body")
- (return-type "none")
- (parameters
- '("GVariant*" "body")
- )
+(define-method get_object_path
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_get_object_path")
+ (return-type "const-gchar*")
)
-(define-method get_unix_fd_list
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_unix_fd_list")
- (return-type "GUnixFDList*")
-)
-(define-method set_unix_fd_list
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_unix_fd_list")
- (return-type "none")
+
+;; From gdbusintrospection.h
+
+(define-function g_dbus_annotation_info_lookup
+ (c-name "g_dbus_annotation_info_lookup")
+ (return-type "const-gchar*")
(parameters
- '("GUnixFDList*" "fd_list")
+ '("GDBusAnnotationInfo**" "annotations")
+ '("const-gchar*" "name")
)
)
-(define-method get_reply_serial
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_reply_serial")
- (return-type "guint32")
+(define-method lookup_method
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_lookup_method")
+ (return-type "GDBusMethodInfo*")
+ (parameters
+ '("const-gchar*" "name")
+ )
)
-(define-method set_reply_serial
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_reply_serial")
- (return-type "none")
+(define-method lookup_signal
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_lookup_signal")
+ (return-type "GDBusSignalInfo*")
(parameters
- '("guint32" "value")
+ '("const-gchar*" "name")
)
)
-(define-method get_interface
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_interface")
- (return-type "const-gchar*")
+(define-method lookup_property
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_lookup_property")
+ (return-type "GDBusPropertyInfo*")
+ (parameters
+ '("const-gchar*" "name")
+ )
)
-(define-method set_interface
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_interface")
+(define-method cache_build
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_cache_build")
(return-type "none")
- (parameters
- '("const-gchar*" "value")
- )
)
-(define-method get_member
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_member")
- (return-type "const-gchar*")
+(define-method cache_release
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_cache_release")
+ (return-type "none")
)
-(define-method set_member
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_member")
+(define-method generate_xml
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_generate_xml")
(return-type "none")
(parameters
- '("const-gchar*" "value")
+ '("guint" "indent")
+ '("GString*" "string_builder")
)
)
-(define-method get_path
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_path")
- (return-type "const-gchar*")
-)
-
-(define-method set_path
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_path")
- (return-type "none")
+(define-function g_dbus_node_info_new_for_xml
+ (c-name "g_dbus_node_info_new_for_xml")
+ (return-type "GDBusNodeInfo*")
(parameters
- '("const-gchar*" "value")
+ '("const-gchar*" "xml_data")
+ '("GError**" "error")
)
)
-(define-method get_sender
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_sender")
- (return-type "const-gchar*")
+(define-method lookup_interface
+ (of-object "GDBusNodeInfo")
+ (c-name "g_dbus_node_info_lookup_interface")
+ (return-type "GDBusInterfaceInfo*")
+ (parameters
+ '("const-gchar*" "name")
+ )
)
-(define-method set_sender
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_sender")
+(define-method generate_xml
+ (of-object "GDBusNodeInfo")
+ (c-name "g_dbus_node_info_generate_xml")
(return-type "none")
(parameters
- '("const-gchar*" "value")
+ '("guint" "indent")
+ '("GString*" "string_builder")
)
)
-(define-method get_destination
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_destination")
- (return-type "const-gchar*")
+(define-method ref
+ (of-object "GDBusNodeInfo")
+ (c-name "g_dbus_node_info_ref")
+ (return-type "GDBusNodeInfo*")
)
-(define-method set_destination
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_destination")
- (return-type "none")
- (parameters
- '("const-gchar*" "value")
- )
+(define-method ref
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_ref")
+ (return-type "GDBusInterfaceInfo*")
)
-(define-method get_error_name
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_error_name")
- (return-type "const-gchar*")
+(define-method ref
+ (of-object "GDBusMethodInfo")
+ (c-name "g_dbus_method_info_ref")
+ (return-type "GDBusMethodInfo*")
)
-(define-method set_error_name
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_error_name")
- (return-type "none")
- (parameters
- '("const-gchar*" "value")
- )
+(define-method ref
+ (of-object "GDBusSignalInfo")
+ (c-name "g_dbus_signal_info_ref")
+ (return-type "GDBusSignalInfo*")
)
-(define-method get_signature
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_signature")
- (return-type "const-gchar*")
+(define-method ref
+ (of-object "GDBusPropertyInfo")
+ (c-name "g_dbus_property_info_ref")
+ (return-type "GDBusPropertyInfo*")
)
-(define-method set_signature
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_signature")
- (return-type "none")
- (parameters
- '("const-gchar*" "value")
- )
+(define-method ref
+ (of-object "GDBusArgInfo")
+ (c-name "g_dbus_arg_info_ref")
+ (return-type "GDBusArgInfo*")
)
-(define-method get_num_unix_fds
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_num_unix_fds")
- (return-type "guint32")
+(define-method ref
+ (of-object "GDBusAnnotationInfo")
+ (c-name "g_dbus_annotation_info_ref")
+ (return-type "GDBusAnnotationInfo*")
)
-(define-method set_num_unix_fds
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_num_unix_fds")
+(define-method unref
+ (of-object "GDBusNodeInfo")
+ (c-name "g_dbus_node_info_unref")
(return-type "none")
- (parameters
- '("guint32" "value")
- )
)
-(define-method get_arg0
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_arg0")
- (return-type "const-gchar*")
+(define-method unref
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_unref")
+ (return-type "none")
)
-(define-function g_dbus_message_new_from_blob
- (c-name "g_dbus_message_new_from_blob")
- (return-type "GDBusMessage*")
- (parameters
- '("guchar*" "blob")
- '("gsize" "blob_len")
- '("GDBusCapabilityFlags" "capabilities")
- '("GError**" "error")
- )
+(define-method unref
+ (of-object "GDBusMethodInfo")
+ (c-name "g_dbus_method_info_unref")
+ (return-type "none")
)
-(define-function g_dbus_message_bytes_needed
- (c-name "g_dbus_message_bytes_needed")
- (return-type "gssize")
- (parameters
- '("guchar*" "blob")
- '("gsize" "blob_len")
- '("GError**" "error")
- )
+(define-method unref
+ (of-object "GDBusSignalInfo")
+ (c-name "g_dbus_signal_info_unref")
+ (return-type "none")
)
-(define-method to_blob
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_to_blob")
- (return-type "guchar*")
- (parameters
- '("gsize*" "out_size")
- '("GDBusCapabilityFlags" "capabilities")
- '("GError**" "error")
- )
+(define-method unref
+ (of-object "GDBusPropertyInfo")
+ (c-name "g_dbus_property_info_unref")
+ (return-type "none")
)
-(define-method to_gerror
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_to_gerror")
- (return-type "gboolean")
- (parameters
- '("GError**" "error")
- )
+(define-method unref
+ (of-object "GDBusArgInfo")
+ (c-name "g_dbus_arg_info_unref")
+ (return-type "none")
)
+(define-method unref
+ (of-object "GDBusAnnotationInfo")
+ (c-name "g_dbus_annotation_info_unref")
+ (return-type "none")
+)
-
-;; From gdbusmethodinvocation.h
-
-(define-function g_dbus_method_invocation_get_type
- (c-name "g_dbus_method_invocation_get_type")
+(define-function g_dbus_node_info_get_type
+ (c-name "g_dbus_node_info_get_type")
(return-type "GType")
)
-(define-method get_sender
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_sender")
- (return-type "const-gchar*")
+(define-function g_dbus_interface_info_get_type
+ (c-name "g_dbus_interface_info_get_type")
+ (return-type "GType")
)
-(define-method get_object_path
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_object_path")
- (return-type "const-gchar*")
+(define-function g_dbus_method_info_get_type
+ (c-name "g_dbus_method_info_get_type")
+ (return-type "GType")
)
-(define-method get_interface_name
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_interface_name")
- (return-type "const-gchar*")
+(define-function g_dbus_signal_info_get_type
+ (c-name "g_dbus_signal_info_get_type")
+ (return-type "GType")
)
-(define-method get_method_name
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_method_name")
- (return-type "const-gchar*")
+(define-function g_dbus_property_info_get_type
+ (c-name "g_dbus_property_info_get_type")
+ (return-type "GType")
)
-(define-method get_method_info
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_method_info")
- (return-type "const-GDBusMethodInfo*")
+(define-function g_dbus_arg_info_get_type
+ (c-name "g_dbus_arg_info_get_type")
+ (return-type "GType")
)
-(define-method get_connection
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_connection")
- (return-type "GDBusConnection*")
+(define-function g_dbus_annotation_info_get_type
+ (c-name "g_dbus_annotation_info_get_type")
+ (return-type "GType")
)
-(define-method get_message
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_message")
- (return-type "GDBusMessage*")
+
+
+;; From gdbusmessage.h
+
+(define-function g_dbus_message_get_type
+ (c-name "g_dbus_message_get_type")
+ (return-type "GType")
)
-(define-method get_parameters
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_parameters")
- (return-type "GVariant*")
+(define-function g_dbus_message_new
+ (c-name "g_dbus_message_new")
+ (is-constructor-of "GDbusMessage")
+ (return-type "GDBusMessage*")
)
-(define-method get_user_data
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_user_data")
- (return-type "gpointer")
+(define-function g_dbus_message_new_signal
+ (c-name "g_dbus_message_new_signal")
+ (return-type "GDBusMessage*")
+ (parameters
+ '("const-gchar*" "path")
+ '("const-gchar*" "interface_")
+ '("const-gchar*" "signal")
+ )
)
-(define-method return_value
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_value")
- (return-type "none")
+(define-function g_dbus_message_new_method_call
+ (c-name "g_dbus_message_new_method_call")
+ (return-type "GDBusMessage*")
(parameters
- '("GVariant*" "parameters")
+ '("const-gchar*" "name")
+ '("const-gchar*" "path")
+ '("const-gchar*" "interface_")
+ '("const-gchar*" "method")
)
)
-(define-method return_error
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_error")
- (return-type "none")
+(define-method new_method_reply
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_new_method_reply")
+ (return-type "GDBusMessage*")
+)
+
+(define-method new_method_error
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_new_method_error")
+ (return-type "GDBusMessage*")
(parameters
- '("GQuark" "domain")
- '("gint" "code")
- '("const-gchar*" "format")
+ '("const-gchar*" "error_name")
+ '("const-gchar*" "error_message_format")
)
(varargs #t)
)
-(define-method return_error_valist
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_error_valist")
- (return-type "none")
+(define-method new_method_error_valist
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_new_method_error_valist")
+ (return-type "GDBusMessage*")
(parameters
- '("GQuark" "domain")
- '("gint" "code")
- '("const-gchar*" "format")
+ '("const-gchar*" "error_name")
+ '("const-gchar*" "error_message_format")
'("va_list" "var_args")
)
)
-(define-method return_error_literal
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_error_literal")
- (return-type "none")
+(define-method new_method_error_literal
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_new_method_error_literal")
+ (return-type "GDBusMessage*")
(parameters
- '("GQuark" "domain")
- '("gint" "code")
- '("const-gchar*" "message")
+ '("const-gchar*" "error_name")
+ '("const-gchar*" "error_message")
)
)
-(define-method return_gerror
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_gerror")
- (return-type "none")
+(define-method print
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_print")
+ (return-type "gchar*")
(parameters
- '("const-GError*" "error")
+ '("guint" "indent")
)
)
-(define-method return_dbus_error
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_dbus_error")
+(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
- '("const-gchar*" "error_name")
- '("const-gchar*" "error_message")
+ '("GError**" "error")
)
)
+(define-method get_byte_order
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_byte_order")
+ (return-type "GDBusMessageByteOrder")
+)
+(define-method set_byte_order
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_byte_order")
+ (return-type "none")
+ (parameters
+ '("GDBusMessageByteOrder" "byte_order")
+ )
+)
-;; From gdbusnameowning.h
+(define-method get_message_type
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_message_type")
+ (return-type "GDBusMessageType")
+)
-(define-function g_bus_own_name
- (c-name "g_bus_own_name")
- (return-type "guint")
+(define-method set_message_type
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_message_type")
+ (return-type "none")
(parameters
- '("GBusType" "bus_type")
- '("const-gchar*" "name")
- '("GBusNameOwnerFlags" "flags")
- '("GBusAcquiredCallback" "bus_acquired_handler")
- '("GBusNameAcquiredCallback" "name_acquired_handler")
- '("GBusNameLostCallback" "name_lost_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
+ '("GDBusMessageType" "type")
)
)
-(define-function g_bus_own_name_on_connection
- (c-name "g_bus_own_name_on_connection")
- (return-type "guint")
+(define-method get_flags
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_flags")
+ (return-type "GDBusMessageFlags")
+)
+
+(define-method set_flags
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_flags")
+ (return-type "none")
(parameters
- '("GDBusConnection*" "connection")
- '("const-gchar*" "name")
- '("GBusNameOwnerFlags" "flags")
- '("GBusNameAcquiredCallback" "name_acquired_handler")
- '("GBusNameLostCallback" "name_lost_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
+ '("GDBusMessageFlags" "flags")
)
)
-(define-function g_bus_own_name_with_closures
- (c-name "g_bus_own_name_with_closures")
- (return-type "guint")
+(define-method get_serial
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_serial")
+ (return-type "guint32")
+)
+
+(define-method set_serial
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_serial")
+ (return-type "none")
(parameters
- '("GBusType" "bus_type")
- '("const-gchar*" "name")
- '("GBusNameOwnerFlags" "flags")
- '("GClosure*" "bus_acquired_closure")
- '("GClosure*" "name_acquired_closure")
- '("GClosure*" "name_lost_closure")
+ '("guint32" "serial")
)
)
-(define-function g_bus_own_name_on_connection_with_closures
- (c-name "g_bus_own_name_on_connection_with_closures")
- (return-type "guint")
+(define-method get_header
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_header")
+ (return-type "GVariant*")
(parameters
- '("GDBusConnection*" "connection")
- '("const-gchar*" "name")
- '("GBusNameOwnerFlags" "flags")
- '("GClosure*" "name_acquired_closure")
- '("GClosure*" "name_lost_closure")
+ '("GDBusMessageHeaderField" "header_field")
)
)
-(define-function g_bus_unown_name
- (c-name "g_bus_unown_name")
+(define-method set_header
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_header")
(return-type "none")
(parameters
- '("guint" "owner_id")
+ '("GDBusMessageHeaderField" "header_field")
+ '("GVariant*" "value")
)
)
+(define-method get_header_fields
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_header_fields")
+ (return-type "guchar*")
+)
+(define-method get_body
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_body")
+ (return-type "GVariant*")
+)
-;; From gdbusnamewatching.h
-
-(define-function g_bus_watch_name
- (c-name "g_bus_watch_name")
- (return-type "guint")
+(define-method set_body
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_body")
+ (return-type "none")
(parameters
- '("GBusType" "bus_type")
- '("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("GBusNameAppearedCallback" "name_appeared_handler")
- '("GBusNameVanishedCallback" "name_vanished_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
+ '("GVariant*" "body")
)
)
-(define-function g_bus_watch_name_on_connection
- (c-name "g_bus_watch_name_on_connection")
- (return-type "guint")
- (parameters
- '("GDBusConnection*" "connection")
- '("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("GBusNameAppearedCallback" "name_appeared_handler")
- '("GBusNameVanishedCallback" "name_vanished_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
- )
+(define-method get_unix_fd_list
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_unix_fd_list")
+ (return-type "GUnixFDList*")
)
-(define-function g_bus_watch_name_with_closures
- (c-name "g_bus_watch_name_with_closures")
- (return-type "guint")
+(define-method set_unix_fd_list
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_unix_fd_list")
+ (return-type "none")
(parameters
- '("GBusType" "bus_type")
- '("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("GClosure*" "name_appeared_closure")
- '("GClosure*" "name_vanished_closure")
+ '("GUnixFDList*" "fd_list")
)
)
-(define-function g_bus_watch_name_on_connection_with_closures
- (c-name "g_bus_watch_name_on_connection_with_closures")
- (return-type "guint")
- (parameters
- '("GDBusConnection*" "connection")
- '("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("GClosure*" "name_appeared_closure")
- '("GClosure*" "name_vanished_closure")
- )
+(define-method get_reply_serial
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_reply_serial")
+ (return-type "guint32")
)
-(define-function g_bus_unwatch_name
- (c-name "g_bus_unwatch_name")
+(define-method set_reply_serial
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_reply_serial")
(return-type "none")
(parameters
- '("guint" "watcher_id")
+ '("guint32" "value")
)
)
-
-
-;; From gdbusproxy.h
-
-(define-function g_dbus_proxy_get_type
- (c-name "g_dbus_proxy_get_type")
- (return-type "GType")
+(define-method get_interface
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_interface")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_proxy_new
- (c-name "g_dbus_proxy_new")
+(define-method set_interface
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_interface")
(return-type "none")
(parameters
- '("GDBusConnection*" "connection")
- '("GDBusProxyFlags" "flags")
- '("GDBusInterfaceInfo*" "info")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "value")
)
)
-(define-function g_dbus_proxy_new_finish
- (c-name "g_dbus_proxy_new_finish")
- (return-type "GDBusProxy*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
+(define-method get_member
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_member")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_proxy_new_sync
- (c-name "g_dbus_proxy_new_sync")
- (return-type "GDBusProxy*")
- (parameters
- '("GDBusConnection*" "connection")
- '("GDBusProxyFlags" "flags")
- '("GDBusInterfaceInfo*" "info")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-function g_dbus_proxy_new_for_bus
- (c-name "g_dbus_proxy_new_for_bus")
+(define-method set_member
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_member")
(return-type "none")
(parameters
- '("GBusType" "bus_type")
- '("GDBusProxyFlags" "flags")
- '("GDBusInterfaceInfo*" "info")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "value")
)
)
-(define-function g_dbus_proxy_new_for_bus_finish
- (c-name "g_dbus_proxy_new_for_bus_finish")
- (return-type "GDBusProxy*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
+(define-method get_path
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_path")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_proxy_new_for_bus_sync
- (c-name "g_dbus_proxy_new_for_bus_sync")
- (return-type "GDBusProxy*")
+(define-method set_path
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_path")
+ (return-type "none")
(parameters
- '("GBusType" "bus_type")
- '("GDBusProxyFlags" "flags")
- '("GDBusInterfaceInfo*" "info")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "value")
)
)
-(define-method get_connection
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_connection")
- (return-type "GDBusConnection*")
+(define-method get_sender
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_sender")
+ (return-type "const-gchar*")
)
-(define-method get_flags
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_flags")
- (return-type "GDBusProxyFlags")
+(define-method set_sender
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_sender")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "value")
+ )
)
-(define-method get_name
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_name")
+(define-method get_destination
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_destination")
(return-type "const-gchar*")
)
-(define-method get_name_owner
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_name_owner")
- (return-type "gchar*")
+(define-method set_destination
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_destination")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "value")
+ )
)
-(define-method get_object_path
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_object_path")
+(define-method get_error_name
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_error_name")
(return-type "const-gchar*")
)
-(define-method get_interface_name
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_interface_name")
- (return-type "const-gchar*")
+(define-method set_error_name
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_error_name")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "value")
+ )
)
-(define-method get_default_timeout
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_default_timeout")
- (return-type "gint")
+(define-method get_signature
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_signature")
+ (return-type "const-gchar*")
)
-(define-method set_default_timeout
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_set_default_timeout")
+(define-method set_signature
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_signature")
(return-type "none")
(parameters
- '("gint" "timeout_msec")
+ '("const-gchar*" "value")
)
)
-(define-method get_interface_info
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_interface_info")
- (return-type "GDBusInterfaceInfo*")
+(define-method get_num_unix_fds
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_num_unix_fds")
+ (return-type "guint32")
)
-(define-method set_interface_info
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_set_interface_info")
+(define-method set_num_unix_fds
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_num_unix_fds")
(return-type "none")
(parameters
- '("GDBusInterfaceInfo*" "info")
+ '("guint32" "value")
)
)
-(define-method get_cached_property
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_cached_property")
- (return-type "GVariant*")
- (parameters
- '("const-gchar*" "property_name")
- )
+(define-method get_arg0
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_arg0")
+ (return-type "const-gchar*")
)
-(define-method set_cached_property
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_set_cached_property")
- (return-type "none")
+(define-function g_dbus_message_new_from_blob
+ (c-name "g_dbus_message_new_from_blob")
+ (return-type "GDBusMessage*")
(parameters
- '("const-gchar*" "property_name")
- '("GVariant*" "value")
+ '("guchar*" "blob")
+ '("gsize" "blob_len")
+ '("GDBusCapabilityFlags" "capabilities")
+ '("GError**" "error")
)
)
-(define-method get_cached_property_names
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_cached_property_names")
- (return-type "gchar**")
-)
-
-(define-method call
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_call")
- (return-type "none")
+(define-function g_dbus_message_bytes_needed
+ (c-name "g_dbus_message_bytes_needed")
+ (return-type "gssize")
(parameters
- '("const-gchar*" "method_name")
- '("GVariant*" "parameters")
- '("GDBusCallFlags" "flags")
- '("gint" "timeout_msec")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("guchar*" "blob")
+ '("gsize" "blob_len")
+ '("GError**" "error")
)
)
-(define-method call_finish
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_call_finish")
- (return-type "GVariant*")
+(define-method to_blob
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_to_blob")
+ (return-type "guchar*")
(parameters
- '("GAsyncResult*" "res")
+ '("gsize*" "out_size")
+ '("GDBusCapabilityFlags" "capabilities")
'("GError**" "error")
)
)
-(define-method call_sync
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_call_sync")
- (return-type "GVariant*")
+(define-method to_gerror
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_to_gerror")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "method_name")
- '("GVariant*" "parameters")
- '("GDBusCallFlags" "flags")
- '("gint" "timeout_msec")
- '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-;; From gdbusserver.h
+;; From gdbusmethodinvocation.h
-(define-function g_dbus_server_get_type
- (c-name "g_dbus_server_get_type")
+(define-function g_dbus_method_invocation_get_type
+ (c-name "g_dbus_method_invocation_get_type")
(return-type "GType")
)
-(define-function g_dbus_server_new_sync
- (c-name "g_dbus_server_new_sync")
- (return-type "GDBusServer*")
- (parameters
- '("const-gchar*" "address")
- '("GDBusServerFlags" "flags")
- '("const-gchar*" "guid")
- '("GDBusAuthObserver*" "observer")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_sender
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_sender")
+ (return-type "const-gchar*")
)
-(define-method get_client_address
- (of-object "GDBusServer")
- (c-name "g_dbus_server_get_client_address")
+(define-method get_object_path
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_object_path")
(return-type "const-gchar*")
)
-(define-method get_guid
- (of-object "GDBusServer")
- (c-name "g_dbus_server_get_guid")
+(define-method get_interface_name
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_interface_name")
(return-type "const-gchar*")
)
-(define-method get_flags
- (of-object "GDBusServer")
- (c-name "g_dbus_server_get_flags")
- (return-type "GDBusServerFlags")
+(define-method get_method_name
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_method_name")
+ (return-type "const-gchar*")
)
-(define-method start
- (of-object "GDBusServer")
- (c-name "g_dbus_server_start")
- (return-type "none")
+(define-method get_method_info
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_method_info")
+ (return-type "const-GDBusMethodInfo*")
)
-(define-method stop
- (of-object "GDBusServer")
- (c-name "g_dbus_server_stop")
- (return-type "none")
+(define-method get_connection
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_connection")
+ (return-type "GDBusConnection*")
)
-(define-method is_active
- (of-object "GDBusServer")
- (c-name "g_dbus_server_is_active")
- (return-type "gboolean")
+(define-method get_message
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_message")
+ (return-type "GDBusMessage*")
)
+(define-method get_parameters
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_parameters")
+ (return-type "GVariant*")
+)
+(define-method get_user_data
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_user_data")
+ (return-type "gpointer")
+)
-;; From gdbusutils.h
-
-(define-function g_dbus_is_guid
- (c-name "g_dbus_is_guid")
- (return-type "gboolean")
+(define-method return_value
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_return_value")
+ (return-type "none")
(parameters
- '("const-gchar*" "string")
+ '("GVariant*" "parameters")
)
)
-(define-function g_dbus_generate_guid
- (c-name "g_dbus_generate_guid")
- (return-type "gchar*")
+(define-method return_error
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_return_error")
+ (return-type "none")
+ (parameters
+ '("GQuark" "domain")
+ '("gint" "code")
+ '("const-gchar*" "format")
+ )
+ (varargs #t)
)
-(define-function g_dbus_is_name
- (c-name "g_dbus_is_name")
- (return-type "gboolean")
+(define-method return_error_valist
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_return_error_valist")
+ (return-type "none")
(parameters
- '("const-gchar*" "string")
+ '("GQuark" "domain")
+ '("gint" "code")
+ '("const-gchar*" "format")
+ '("va_list" "var_args")
)
)
-(define-function g_dbus_is_unique_name
- (c-name "g_dbus_is_unique_name")
- (return-type "gboolean")
+(define-method return_error_literal
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_return_error_literal")
+ (return-type "none")
(parameters
- '("const-gchar*" "string")
+ '("GQuark" "domain")
+ '("gint" "code")
+ '("const-gchar*" "message")
)
)
-(define-function g_dbus_is_member_name
- (c-name "g_dbus_is_member_name")
- (return-type "gboolean")
+(define-method return_gerror
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_return_gerror")
+ (return-type "none")
(parameters
- '("const-gchar*" "string")
+ '("const-GError*" "error")
)
)
-(define-function g_dbus_is_interface_name
- (c-name "g_dbus_is_interface_name")
- (return-type "gboolean")
+(define-method take_error
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_take_error")
+ (return-type "none")
(parameters
- '("const-gchar*" "string")
+ '("GError*" "error")
)
)
+(define-method return_dbus_error
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_return_dbus_error")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "error_name")
+ '("const-gchar*" "error_message")
+ )
+)
-;; From gdrive.h
-
-(define-function g_drive_get_type
- (c-name "g_drive_get_type")
- (return-type "GType")
-)
-(define-method get_name
- (of-object "GDrive")
- (c-name "g_drive_get_name")
- (return-type "char*")
-)
+;; From gdbusnameowning.h
-(define-method get_icon
- (of-object "GDrive")
- (c-name "g_drive_get_icon")
- (return-type "GIcon*")
+(define-function g_bus_own_name
+ (c-name "g_bus_own_name")
+ (return-type "guint")
+ (parameters
+ '("GBusType" "bus_type")
+ '("const-gchar*" "name")
+ '("GBusNameOwnerFlags" "flags")
+ '("GBusAcquiredCallback" "bus_acquired_handler")
+ '("GBusNameAcquiredCallback" "name_acquired_handler")
+ '("GBusNameLostCallback" "name_lost_handler")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_free_func")
+ )
)
-(define-method has_volumes
- (of-object "GDrive")
- (c-name "g_drive_has_volumes")
- (return-type "gboolean")
+(define-function g_bus_own_name_on_connection
+ (c-name "g_bus_own_name_on_connection")
+ (return-type "guint")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "name")
+ '("GBusNameOwnerFlags" "flags")
+ '("GBusNameAcquiredCallback" "name_acquired_handler")
+ '("GBusNameLostCallback" "name_lost_handler")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_free_func")
+ )
)
-(define-method get_volumes
- (of-object "GDrive")
- (c-name "g_drive_get_volumes")
- (return-type "GList*")
+(define-function g_bus_own_name_with_closures
+ (c-name "g_bus_own_name_with_closures")
+ (return-type "guint")
+ (parameters
+ '("GBusType" "bus_type")
+ '("const-gchar*" "name")
+ '("GBusNameOwnerFlags" "flags")
+ '("GClosure*" "bus_acquired_closure")
+ '("GClosure*" "name_acquired_closure")
+ '("GClosure*" "name_lost_closure")
+ )
)
-(define-method is_media_removable
- (of-object "GDrive")
- (c-name "g_drive_is_media_removable")
- (return-type "gboolean")
+(define-function g_bus_own_name_on_connection_with_closures
+ (c-name "g_bus_own_name_on_connection_with_closures")
+ (return-type "guint")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "name")
+ '("GBusNameOwnerFlags" "flags")
+ '("GClosure*" "name_acquired_closure")
+ '("GClosure*" "name_lost_closure")
+ )
)
-(define-method has_media
- (of-object "GDrive")
- (c-name "g_drive_has_media")
- (return-type "gboolean")
+(define-function g_bus_unown_name
+ (c-name "g_bus_unown_name")
+ (return-type "none")
+ (parameters
+ '("guint" "owner_id")
+ )
)
-(define-method is_media_check_automatic
- (of-object "GDrive")
- (c-name "g_drive_is_media_check_automatic")
- (return-type "gboolean")
-)
-(define-method can_poll_for_media
- (of-object "GDrive")
- (c-name "g_drive_can_poll_for_media")
- (return-type "gboolean")
-)
-(define-method can_eject
- (of-object "GDrive")
- (c-name "g_drive_can_eject")
- (return-type "gboolean")
-)
+;; From gdbusnamewatching.h
-(define-method eject
- (of-object "GDrive")
- (c-name "g_drive_eject")
- (return-type "none")
+(define-function g_bus_watch_name
+ (c-name "g_bus_watch_name")
+ (return-type "guint")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
+ '("GBusType" "bus_type")
+ '("const-gchar*" "name")
+ '("GBusNameWatcherFlags" "flags")
+ '("GBusNameAppearedCallback" "name_appeared_handler")
+ '("GBusNameVanishedCallback" "name_vanished_handler")
'("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_free_func")
)
)
-(define-method eject_finish
- (of-object "GDrive")
- (c-name "g_drive_eject_finish")
- (return-type "gboolean")
+(define-function g_bus_watch_name_on_connection
+ (c-name "g_bus_watch_name_on_connection")
+ (return-type "guint")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "name")
+ '("GBusNameWatcherFlags" "flags")
+ '("GBusNameAppearedCallback" "name_appeared_handler")
+ '("GBusNameVanishedCallback" "name_vanished_handler")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_free_func")
)
)
-(define-method poll_for_media
- (of-object "GDrive")
- (c-name "g_drive_poll_for_media")
- (return-type "none")
+(define-function g_bus_watch_name_with_closures
+ (c-name "g_bus_watch_name_with_closures")
+ (return-type "guint")
(parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GBusType" "bus_type")
+ '("const-gchar*" "name")
+ '("GBusNameWatcherFlags" "flags")
+ '("GClosure*" "name_appeared_closure")
+ '("GClosure*" "name_vanished_closure")
)
)
-(define-method poll_for_media_finish
- (of-object "GDrive")
- (c-name "g_drive_poll_for_media_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+(define-function g_bus_watch_name_on_connection_with_closures
+ (c-name "g_bus_watch_name_on_connection_with_closures")
+ (return-type "guint")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "name")
+ '("GBusNameWatcherFlags" "flags")
+ '("GClosure*" "name_appeared_closure")
+ '("GClosure*" "name_vanished_closure")
)
)
-(define-method get_identifier
- (of-object "GDrive")
- (c-name "g_drive_get_identifier")
- (return-type "char*")
+(define-function g_bus_unwatch_name
+ (c-name "g_bus_unwatch_name")
+ (return-type "none")
(parameters
- '("const-char*" "kind")
+ '("guint" "watcher_id")
)
)
-(define-method enumerate_identifiers
- (of-object "GDrive")
- (c-name "g_drive_enumerate_identifiers")
- (return-type "char**")
+
+
+;; From gdbusobject.h
+
+(define-function g_dbus_object_get_type
+ (c-name "g_dbus_object_get_type")
+ (return-type "GType")
)
-(define-method get_start_stop_type
- (of-object "GDrive")
- (c-name "g_drive_get_start_stop_type")
- (return-type "GDriveStartStopType")
+(define-method get_object_path
+ (of-object "GDBusObject")
+ (c-name "g_dbus_object_get_object_path")
+ (return-type "const-gchar*")
)
-(define-method can_start
- (of-object "GDrive")
- (c-name "g_drive_can_start")
- (return-type "gboolean")
+(define-method get_interfaces
+ (of-object "GDBusObject")
+ (c-name "g_dbus_object_get_interfaces")
+ (return-type "GList*")
)
-(define-method can_start_degraded
- (of-object "GDrive")
- (c-name "g_drive_can_start_degraded")
- (return-type "gboolean")
+(define-method get_interface
+ (of-object "GDBusObject")
+ (c-name "g_dbus_object_get_interface")
+ (return-type "GDBusInterface*")
+ (parameters
+ '("const-gchar*" "interface_name")
+ )
)
-(define-method start
- (of-object "GDrive")
- (c-name "g_drive_start")
+
+
+;; From gdbusobjectmanagerclient.h
+
+(define-function g_dbus_object_manager_client_get_type
+ (c-name "g_dbus_object_manager_client_get_type")
+ (return-type "GType")
+)
+
+(define-function g_dbus_object_manager_client_new
+ (c-name "g_dbus_object_manager_client_new")
(return-type "none")
(parameters
- '("GDriveStartFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("GDBusConnection*" "connection")
+ '("GDBusObjectManagerClientFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GDBusProxyTypeFunc" "get_proxy_type_func")
+ '("gpointer" "get_proxy_type_user_data")
+ '("GDestroyNotify" "get_proxy_type_destroy_notify")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method start_finish
- (of-object "GDrive")
- (c-name "g_drive_start_finish")
- (return-type "gboolean")
+(define-function g_dbus_object_manager_client_new_finish
+ (c-name "g_dbus_object_manager_client_new_finish")
+ (return-type "GDBusObjectManager*")
(parameters
- '("GAsyncResult*" "result")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method can_stop
- (of-object "GDrive")
- (c-name "g_drive_can_stop")
- (return-type "gboolean")
+(define-function g_dbus_object_manager_client_new_sync
+ (c-name "g_dbus_object_manager_client_new_sync")
+ (return-type "GDBusObjectManager*")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("GDBusObjectManagerClientFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GDBusProxyTypeFunc" "get_proxy_type_func")
+ '("gpointer" "get_proxy_type_user_data")
+ '("GDestroyNotify" "get_proxy_type_destroy_notify")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method stop
- (of-object "GDrive")
- (c-name "g_drive_stop")
+(define-function g_dbus_object_manager_client_new_for_bus
+ (c-name "g_dbus_object_manager_client_new_for_bus")
(return-type "none")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("GBusType" "bus_type")
+ '("GDBusObjectManagerClientFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GDBusProxyTypeFunc" "get_proxy_type_func")
+ '("gpointer" "get_proxy_type_user_data")
+ '("GDestroyNotify" "get_proxy_type_destroy_notify")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method stop_finish
- (of-object "GDrive")
- (c-name "g_drive_stop_finish")
- (return-type "gboolean")
+(define-function g_dbus_object_manager_client_new_for_bus_finish
+ (c-name "g_dbus_object_manager_client_new_for_bus_finish")
+ (return-type "GDBusObjectManager*")
(parameters
- '("GAsyncResult*" "result")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method eject_with_operation
- (of-object "GDrive")
- (c-name "g_drive_eject_with_operation")
- (return-type "none")
+(define-function g_dbus_object_manager_client_new_for_bus_sync
+ (c-name "g_dbus_object_manager_client_new_for_bus_sync")
+ (return-type "GDBusObjectManager*")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("GBusType" "bus_type")
+ '("GDBusObjectManagerClientFlags" "flags")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("GDBusProxyTypeFunc" "get_proxy_type_func")
+ '("gpointer" "get_proxy_type_user_data")
+ '("GDestroyNotify" "get_proxy_type_destroy_notify")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GError**" "error")
)
)
-(define-method eject_with_operation_finish
- (of-object "GDrive")
- (c-name "g_drive_eject_with_operation_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
+(define-method get_connection
+ (of-object "GDBusObjectManagerClient")
+ (c-name "g_dbus_object_manager_client_get_connection")
+ (return-type "GDBusConnection*")
)
+(define-method get_flags
+ (of-object "GDBusObjectManagerClient")
+ (c-name "g_dbus_object_manager_client_get_flags")
+ (return-type "GDBusObjectManagerClientFlags")
+)
+(define-method get_name
+ (of-object "GDBusObjectManagerClient")
+ (c-name "g_dbus_object_manager_client_get_name")
+ (return-type "const-gchar*")
+)
-;; From gemblemedicon.h
+(define-method get_name_owner
+ (of-object "GDBusObjectManagerClient")
+ (c-name "g_dbus_object_manager_client_get_name_owner")
+ (return-type "gchar*")
+)
-(define-function g_emblemed_icon_get_type
- (c-name "g_emblemed_icon_get_type")
+
+
+;; From gdbusobjectmanager.h
+
+(define-function g_dbus_object_manager_get_type
+ (c-name "g_dbus_object_manager_get_type")
(return-type "GType")
)
-(define-function g_emblemed_icon_new
- (c-name "g_emblemed_icon_new")
- (is-constructor-of "GEmblemedIcon")
- (return-type "GIcon*")
- (parameters
- '("GIcon*" "icon")
- '("GEmblem*" "emblem")
- )
+(define-method get_object_path
+ (of-object "GDBusObjectManager")
+ (c-name "g_dbus_object_manager_get_object_path")
+ (return-type "const-gchar*")
)
-(define-method get_icon
- (of-object "GEmblemedIcon")
- (c-name "g_emblemed_icon_get_icon")
- (return-type "GIcon*")
+(define-method get_objects
+ (of-object "GDBusObjectManager")
+ (c-name "g_dbus_object_manager_get_objects")
+ (return-type "GList*")
)
-(define-method get_emblems
- (of-object "GEmblemedIcon")
- (c-name "g_emblemed_icon_get_emblems")
- (return-type "GList*")
+(define-method get_object
+ (of-object "GDBusObjectManager")
+ (c-name "g_dbus_object_manager_get_object")
+ (return-type "GDBusObject*")
+ (parameters
+ '("const-gchar*" "object_path")
+ )
)
-(define-method add_emblem
- (of-object "GEmblemedIcon")
- (c-name "g_emblemed_icon_add_emblem")
- (return-type "none")
+(define-method get_interface
+ (of-object "GDBusObjectManager")
+ (c-name "g_dbus_object_manager_get_interface")
+ (return-type "GDBusInterface*")
(parameters
- '("GEmblem*" "emblem")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
)
)
-;; From gemblem.h
+;; From gdbusobjectmanagerserver.h
-(define-function g_emblem_get_type
- (c-name "g_emblem_get_type")
+(define-function g_dbus_object_manager_server_get_type
+ (c-name "g_dbus_object_manager_server_get_type")
(return-type "GType")
)
-(define-function g_emblem_new
- (c-name "g_emblem_new")
- (is-constructor-of "GEmblem")
- (return-type "GEmblem*")
+(define-function g_dbus_object_manager_server_new
+ (c-name "g_dbus_object_manager_server_new")
+ (is-constructor-of "GDbusObjectManagerServer")
+ (return-type "GDBusObjectManagerServer*")
(parameters
- '("GIcon*" "icon")
+ '("const-gchar*" "object_path")
)
)
-(define-function g_emblem_new_with_origin
- (c-name "g_emblem_new_with_origin")
- (return-type "GEmblem*")
+(define-method get_connection
+ (of-object "GDBusObjectManagerServer")
+ (c-name "g_dbus_object_manager_server_get_connection")
+ (return-type "GDBusConnection*")
+)
+
+(define-method set_connection
+ (of-object "GDBusObjectManagerServer")
+ (c-name "g_dbus_object_manager_server_set_connection")
+ (return-type "none")
(parameters
- '("GIcon*" "icon")
- '("GEmblemOrigin" "origin")
+ '("GDBusConnection*" "connection")
)
)
-(define-method get_icon
- (of-object "GEmblem")
- (c-name "g_emblem_get_icon")
- (return-type "GIcon*")
+(define-method export
+ (of-object "GDBusObjectManagerServer")
+ (c-name "g_dbus_object_manager_server_export")
+ (return-type "none")
+ (parameters
+ '("GDBusObjectSkeleton*" "object")
+ )
)
-(define-method get_origin
- (of-object "GEmblem")
- (c-name "g_emblem_get_origin")
- (return-type "GEmblemOrigin")
+(define-method export_uniquely
+ (of-object "GDBusObjectManagerServer")
+ (c-name "g_dbus_object_manager_server_export_uniquely")
+ (return-type "none")
+ (parameters
+ '("GDBusObjectSkeleton*" "object")
+ )
)
+(define-method unexport
+ (of-object "GDBusObjectManagerServer")
+ (c-name "g_dbus_object_manager_server_unexport")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "object_path")
+ )
+)
-;; From gfileattribute.h
-(define-function g_file_attribute_info_list_get_type
- (c-name "g_file_attribute_info_list_get_type")
+;; From gdbusobjectproxy.h
+
+(define-function g_dbus_object_proxy_get_type
+ (c-name "g_dbus_object_proxy_get_type")
(return-type "GType")
)
-(define-function g_file_attribute_info_list_new
- (c-name "g_file_attribute_info_list_new")
- (is-constructor-of "GFileAttributeInfoList")
- (return-type "GFileAttributeInfoList*")
+(define-function g_dbus_object_proxy_new
+ (c-name "g_dbus_object_proxy_new")
+ (is-constructor-of "GDbusObjectProxy")
+ (return-type "GDBusObjectProxy*")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "object_path")
+ )
)
-(define-method ref
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_ref")
- (return-type "GFileAttributeInfoList*")
+(define-method get_connection
+ (of-object "GDBusObjectProxy")
+ (c-name "g_dbus_object_proxy_get_connection")
+ (return-type "GDBusConnection*")
)
-(define-method unref
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_unref")
+
+
+;; From gdbusobjectskeleton.h
+
+(define-function g_dbus_object_skeleton_get_type
+ (c-name "g_dbus_object_skeleton_get_type")
+ (return-type "GType")
+)
+
+(define-function g_dbus_object_skeleton_new
+ (c-name "g_dbus_object_skeleton_new")
+ (is-constructor-of "GDbusObjectSkeleton")
+ (return-type "GDBusObjectSkeleton*")
+ (parameters
+ '("const-gchar*" "object_path")
+ )
+)
+
+(define-method flush
+ (of-object "GDBusObjectSkeleton")
+ (c-name "g_dbus_object_skeleton_flush")
(return-type "none")
)
-(define-method dup
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_dup")
- (return-type "GFileAttributeInfoList*")
+(define-method add_interface
+ (of-object "GDBusObjectSkeleton")
+ (c-name "g_dbus_object_skeleton_add_interface")
+ (return-type "none")
+ (parameters
+ '("GDBusInterfaceSkeleton*" "interface_")
+ )
)
-(define-method lookup
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_lookup")
- (return-type "const-GFileAttributeInfo*")
+(define-method remove_interface
+ (of-object "GDBusObjectSkeleton")
+ (c-name "g_dbus_object_skeleton_remove_interface")
+ (return-type "none")
(parameters
- '("const-char*" "name")
+ '("GDBusInterfaceSkeleton*" "interface_")
)
)
-(define-method add
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_add")
+(define-method remove_interface_by_name
+ (of-object "GDBusObjectSkeleton")
+ (c-name "g_dbus_object_skeleton_remove_interface_by_name")
(return-type "none")
(parameters
- '("const-char*" "name")
- '("GFileAttributeType" "type")
- '("GFileAttributeInfoFlags" "flags")
+ '("const-gchar*" "interface_name")
)
)
+(define-method set_object_path
+ (of-object "GDBusObjectSkeleton")
+ (c-name "g_dbus_object_skeleton_set_object_path")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "object_path")
+ )
+)
-;; From gfileenumerator.h
-(define-function g_file_enumerator_get_type
- (c-name "g_file_enumerator_get_type")
+;; From gdbusprivate.h
+
+
+
+;; From gdbusproxy.h
+
+(define-function g_dbus_proxy_get_type
+ (c-name "g_dbus_proxy_get_type")
(return-type "GType")
)
-(define-method next_file
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_next_file")
- (return-type "GFileInfo*")
+(define-function g_dbus_proxy_new
+ (c-name "g_dbus_proxy_new")
+ (return-type "none")
(parameters
+ '("GDBusConnection*" "connection")
+ '("GDBusProxyFlags" "flags")
+ '("GDBusInterfaceInfo*" "info")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
'("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-function g_dbus_proxy_new_finish
+ (c-name "g_dbus_proxy_new_finish")
+ (return-type "GDBusProxy*")
+ (parameters
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method close
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_close")
- (return-type "gboolean")
+(define-function g_dbus_proxy_new_sync
+ (c-name "g_dbus_proxy_new_sync")
+ (return-type "GDBusProxy*")
(parameters
+ '("GDBusConnection*" "connection")
+ '("GDBusProxyFlags" "flags")
+ '("GDBusInterfaceInfo*" "info")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method next_files_async
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_next_files_async")
+(define-function g_dbus_proxy_new_for_bus
+ (c-name "g_dbus_proxy_new_for_bus")
(return-type "none")
(parameters
- '("int" "num_files")
- '("int" "io_priority")
+ '("GBusType" "bus_type")
+ '("GDBusProxyFlags" "flags")
+ '("GDBusInterfaceInfo*" "info")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method next_files_finish
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_next_files_finish")
- (return-type "GList*")
+(define-function g_dbus_proxy_new_for_bus_finish
+ (c-name "g_dbus_proxy_new_for_bus_finish")
+ (return-type "GDBusProxy*")
(parameters
- '("GAsyncResult*" "result")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method close_async
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_close_async")
- (return-type "none")
+(define-function g_dbus_proxy_new_for_bus_sync
+ (c-name "g_dbus_proxy_new_for_bus_sync")
+ (return-type "GDBusProxy*")
(parameters
- '("int" "io_priority")
+ '("GBusType" "bus_type")
+ '("GDBusProxyFlags" "flags")
+ '("GDBusInterfaceInfo*" "info")
+ '("const-gchar*" "name")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method close_finish
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_close_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method is_closed
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_is_closed")
- (return-type "gboolean")
+(define-method get_connection
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_connection")
+ (return-type "GDBusConnection*")
)
-(define-method has_pending
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_has_pending")
- (return-type "gboolean")
+(define-method get_flags
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_flags")
+ (return-type "GDBusProxyFlags")
)
-(define-method set_pending
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_set_pending")
- (return-type "none")
- (parameters
- '("gboolean" "pending")
- )
+(define-method get_name
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_name")
+ (return-type "const-gchar*")
)
-(define-method get_container
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_get_container")
- (return-type "GFile*")
+(define-method get_name_owner
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_name_owner")
+ (return-type "gchar*")
)
+(define-method get_object_path
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_object_path")
+ (return-type "const-gchar*")
+)
+(define-method get_interface_name
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_interface_name")
+ (return-type "const-gchar*")
+)
-;; From gfile.h
-
-(define-function g_file_get_type
- (c-name "g_file_get_type")
- (return-type "GType")
+(define-method get_default_timeout
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_default_timeout")
+ (return-type "gint")
)
-(define-function g_file_new_for_path
- (c-name "g_file_new_for_path")
- (return-type "GFile*")
+(define-method set_default_timeout
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_set_default_timeout")
+ (return-type "none")
(parameters
- '("const-char*" "path")
+ '("gint" "timeout_msec")
)
)
-(define-function g_file_new_for_uri
- (c-name "g_file_new_for_uri")
- (return-type "GFile*")
+(define-method get_interface_info
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_interface_info")
+ (return-type "GDBusInterfaceInfo*")
+)
+
+(define-method set_interface_info
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_set_interface_info")
+ (return-type "none")
(parameters
- '("const-char*" "uri")
+ '("GDBusInterfaceInfo*" "info")
)
)
-(define-function g_file_new_for_commandline_arg
- (c-name "g_file_new_for_commandline_arg")
- (return-type "GFile*")
+(define-method get_cached_property
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_cached_property")
+ (return-type "GVariant*")
(parameters
- '("const-char*" "arg")
+ '("const-gchar*" "property_name")
)
)
-(define-function g_file_parse_name
- (c-name "g_file_parse_name")
- (return-type "GFile*")
+(define-method set_cached_property
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_set_cached_property")
+ (return-type "none")
(parameters
- '("const-char*" "parse_name")
+ '("const-gchar*" "property_name")
+ '("GVariant*" "value")
)
)
-(define-method dup
- (of-object "GFile")
- (c-name "g_file_dup")
- (return-type "GFile*")
+(define-method get_cached_property_names
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_cached_property_names")
+ (return-type "gchar**")
)
-(define-function g_file_hash
- (c-name "g_file_hash")
- (return-type "guint")
+(define-method call
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_call")
+ (return-type "none")
(parameters
- '("gconstpointer" "file")
+ '("const-gchar*" "method_name")
+ '("GVariant*" "parameters")
+ '("GDBusCallFlags" "flags")
+ '("gint" "timeout_msec")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method equal
- (of-object "GFile")
- (c-name "g_file_equal")
- (return-type "gboolean")
+(define-method call_finish
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_call_finish")
+ (return-type "GVariant*")
(parameters
- '("GFile*" "file2")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-method get_basename
- (of-object "GFile")
- (c-name "g_file_get_basename")
- (return-type "char*")
+(define-method call_sync
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_call_sync")
+ (return-type "GVariant*")
+ (parameters
+ '("const-gchar*" "method_name")
+ '("GVariant*" "parameters")
+ '("GDBusCallFlags" "flags")
+ '("gint" "timeout_msec")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method get_path
- (of-object "GFile")
- (c-name "g_file_get_path")
- (return-type "char*")
-)
-(define-method get_uri
- (of-object "GFile")
- (c-name "g_file_get_uri")
- (return-type "char*")
-)
-(define-method get_parse_name
- (of-object "GFile")
- (c-name "g_file_get_parse_name")
- (return-type "char*")
-)
+;; From gdbusserver.h
-(define-method get_parent
- (of-object "GFile")
- (c-name "g_file_get_parent")
- (return-type "GFile*")
+(define-function g_dbus_server_get_type
+ (c-name "g_dbus_server_get_type")
+ (return-type "GType")
)
-(define-method has_parent
- (of-object "GFile")
- (c-name "g_file_has_parent")
- (return-type "gboolean")
+(define-function g_dbus_server_new_sync
+ (c-name "g_dbus_server_new_sync")
+ (return-type "GDBusServer*")
(parameters
- '("GFile*" "parent")
+ '("const-gchar*" "address")
+ '("GDBusServerFlags" "flags")
+ '("const-gchar*" "guid")
+ '("GDBusAuthObserver*" "observer")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_child
- (of-object "GFile")
- (c-name "g_file_get_child")
- (return-type "GFile*")
- (parameters
- '("const-char*" "name")
- )
+(define-method get_client_address
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_get_client_address")
+ (return-type "const-gchar*")
)
-(define-method get_child_for_display_name
- (of-object "GFile")
- (c-name "g_file_get_child_for_display_name")
- (return-type "GFile*")
- (parameters
- '("const-char*" "display_name")
- '("GError**" "error")
- )
+(define-method get_guid
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_get_guid")
+ (return-type "const-gchar*")
)
-(define-method has_prefix
- (of-object "GFile")
- (c-name "g_file_has_prefix")
- (return-type "gboolean")
- (parameters
- '("GFile*" "prefix")
- )
+(define-method get_flags
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_get_flags")
+ (return-type "GDBusServerFlags")
)
-(define-method get_relative_path
- (of-object "GFile")
- (c-name "g_file_get_relative_path")
- (return-type "char*")
- (parameters
- '("GFile*" "descendant")
- )
+(define-method start
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_start")
+ (return-type "none")
)
-(define-method resolve_relative_path
- (of-object "GFile")
- (c-name "g_file_resolve_relative_path")
- (return-type "GFile*")
- (parameters
- '("const-char*" "relative_path")
- )
+(define-method stop
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_stop")
+ (return-type "none")
)
-(define-method is_native
- (of-object "GFile")
- (c-name "g_file_is_native")
+(define-method is_active
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_is_active")
(return-type "gboolean")
)
-(define-method has_uri_scheme
- (of-object "GFile")
- (c-name "g_file_has_uri_scheme")
+
+
+;; From gdbusutils.h
+
+(define-function g_dbus_is_guid
+ (c-name "g_dbus_is_guid")
(return-type "gboolean")
(parameters
- '("const-char*" "uri_scheme")
+ '("const-gchar*" "string")
)
)
-(define-method get_uri_scheme
- (of-object "GFile")
- (c-name "g_file_get_uri_scheme")
- (return-type "char*")
+(define-function g_dbus_generate_guid
+ (c-name "g_dbus_generate_guid")
+ (return-type "gchar*")
)
-(define-method read
- (of-object "GFile")
- (c-name "g_file_read")
- (return-type "GFileInputStream*")
+(define-function g_dbus_is_name
+ (c-name "g_dbus_is_name")
+ (return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "string")
)
)
-(define-method read_async
- (of-object "GFile")
- (c-name "g_file_read_async")
- (return-type "none")
+(define-function g_dbus_is_unique_name
+ (c-name "g_dbus_is_unique_name")
+ (return-type "gboolean")
(parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "string")
)
)
-(define-method read_finish
- (of-object "GFile")
- (c-name "g_file_read_finish")
- (return-type "GFileInputStream*")
+(define-function g_dbus_is_member_name
+ (c-name "g_dbus_is_member_name")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("const-gchar*" "string")
)
)
-(define-method append_to
- (of-object "GFile")
- (c-name "g_file_append_to")
- (return-type "GFileOutputStream*")
+(define-function g_dbus_is_interface_name
+ (c-name "g_dbus_is_interface_name")
+ (return-type "gboolean")
(parameters
- '("GFileCreateFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "string")
)
)
-(define-method create
- (of-object "GFile")
- (c-name "g_file_create")
- (return-type "GFileOutputStream*")
+(define-function g_dbus_gvariant_to_gvalue
+ (c-name "g_dbus_gvariant_to_gvalue")
+ (return-type "none")
(parameters
- '("GFileCreateFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GVariant*" "value")
+ '("GValue*" "out_gvalue")
)
)
-(define-method replace
- (of-object "GFile")
- (c-name "g_file_replace")
- (return-type "GFileOutputStream*")
+(define-function g_dbus_gvalue_to_gvariant
+ (c-name "g_dbus_gvalue_to_gvariant")
+ (return-type "GVariant*")
(parameters
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-GValue*" "gvalue")
+ '("const-GVariantType*" "type")
)
)
-(define-method append_to_async
- (of-object "GFile")
- (c-name "g_file_append_to_async")
- (return-type "none")
- (parameters
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+
+
+;; 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-method append_to_finish
- (of-object "GFile")
- (c-name "g_file_append_to_finish")
- (return-type "GFileOutputStream*")
+(define-function g_desktop_app_info_new_from_filename
+ (c-name "g_desktop_app_info_new_from_filename")
+ (return-type "GDesktopAppInfo*")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("const-char*" "filename")
)
)
-(define-method create_async
- (of-object "GFile")
- (c-name "g_file_create_async")
- (return-type "none")
+(define-function g_desktop_app_info_new_from_keyfile
+ (c-name "g_desktop_app_info_new_from_keyfile")
+ (return-type "GDesktopAppInfo*")
(parameters
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GKeyFile*" "key_file")
)
)
-(define-method create_finish
- (of-object "GFile")
- (c-name "g_file_create_finish")
- (return-type "GFileOutputStream*")
+(define-method get_filename
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_filename")
+ (return-type "const-char*")
+)
+
+(define-method get_generic_name
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_generic_name")
+ (return-type "const-char*")
+)
+
+(define-method get_categories
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_categories")
+ (return-type "const-char*")
+)
+
+(define-method get_nodisplay
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_nodisplay")
+ (return-type "gboolean")
+)
+
+(define-function g_desktop_app_info_new
+ (c-name "g_desktop_app_info_new")
+ (is-constructor-of "GDesktopAppInfo")
+ (return-type "GDesktopAppInfo*")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("const-char*" "desktop_id")
)
)
-(define-method replace_async
- (of-object "GFile")
- (c-name "g_file_replace_async")
+(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*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-char*" "desktop_env")
)
)
-(define-method replace_finish
- (of-object "GFile")
- (c-name "g_file_replace_finish")
- (return-type "GFileOutputStream*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
+(define-function g_desktop_app_info_lookup_get_type
+ (c-name "g_desktop_app_info_lookup_get_type")
+ (return-type "GType")
)
-(define-method open_readwrite
- (of-object "GFile")
- (c-name "g_file_open_readwrite")
- (return-type "GFileIOStream*")
+(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
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-char*" "uri_scheme")
)
)
-(define-method open_readwrite_async
- (of-object "GFile")
- (c-name "g_file_open_readwrite_async")
- (return-type "none")
+(define-method launch_uris_as_manager
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_launch_uris_as_manager")
+ (return-type "gboolean")
(parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GList*" "uris")
+ '("GAppLaunchContext*" "launch_context")
+ '("GSpawnFlags" "spawn_flags")
+ '("GSpawnChildSetupFunc" "user_setup")
+ '("gpointer" "user_setup_data")
+ '("GDesktopAppLaunchCallback" "pid_callback")
+ '("gpointer" "pid_callback_data")
+ '("GError**" "error")
)
)
-(define-method open_readwrite_finish
- (of-object "GFile")
- (c-name "g_file_open_readwrite_finish")
- (return-type "GFileIOStream*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
+
+
+;; From gdrive.h
+
+(define-function g_drive_get_type
+ (c-name "g_drive_get_type")
+ (return-type "GType")
)
-(define-method create_readwrite
- (of-object "GFile")
- (c-name "g_file_create_readwrite")
- (return-type "GFileIOStream*")
- (parameters
- '("GFileCreateFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_name
+ (of-object "GDrive")
+ (c-name "g_drive_get_name")
+ (return-type "char*")
)
-(define-method create_readwrite_async
- (of-object "GFile")
- (c-name "g_file_create_readwrite_async")
+(define-method get_icon
+ (of-object "GDrive")
+ (c-name "g_drive_get_icon")
+ (return-type "GIcon*")
+)
+
+(define-method has_volumes
+ (of-object "GDrive")
+ (c-name "g_drive_has_volumes")
+ (return-type "gboolean")
+)
+
+(define-method get_volumes
+ (of-object "GDrive")
+ (c-name "g_drive_get_volumes")
+ (return-type "GList*")
+)
+
+(define-method is_media_removable
+ (of-object "GDrive")
+ (c-name "g_drive_is_media_removable")
+ (return-type "gboolean")
+)
+
+(define-method has_media
+ (of-object "GDrive")
+ (c-name "g_drive_has_media")
+ (return-type "gboolean")
+)
+
+(define-method is_media_check_automatic
+ (of-object "GDrive")
+ (c-name "g_drive_is_media_check_automatic")
+ (return-type "gboolean")
+)
+
+(define-method can_poll_for_media
+ (of-object "GDrive")
+ (c-name "g_drive_can_poll_for_media")
+ (return-type "gboolean")
+)
+
+(define-method can_eject
+ (of-object "GDrive")
+ (c-name "g_drive_can_eject")
+ (return-type "gboolean")
+)
+
+(define-method eject
+ (of-object "GDrive")
+ (c-name "g_drive_eject")
(return-type "none")
(parameters
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
+ '("GMountUnmountFlags" "flags")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method create_readwrite_finish
- (of-object "GFile")
- (c-name "g_file_create_readwrite_finish")
- (return-type "GFileIOStream*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
-)
-
-(define-method replace_readwrite
- (of-object "GFile")
- (c-name "g_file_replace_readwrite")
- (return-type "GFileIOStream*")
+(define-method eject_finish
+ (of-object "GDrive")
+ (c-name "g_drive_eject_finish")
+ (return-type "gboolean")
(parameters
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method replace_readwrite_async
- (of-object "GFile")
- (c-name "g_file_replace_readwrite_async")
+(define-method poll_for_media
+ (of-object "GDrive")
+ (c-name "g_drive_poll_for_media")
(return-type "none")
(parameters
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method replace_readwrite_finish
- (of-object "GFile")
- (c-name "g_file_replace_readwrite_finish")
- (return-type "GFileIOStream*")
+(define-method poll_for_media_finish
+ (of-object "GDrive")
+ (c-name "g_drive_poll_for_media_finish")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method query_exists
- (of-object "GFile")
- (c-name "g_file_query_exists")
- (return-type "gboolean")
+(define-method get_identifier
+ (of-object "GDrive")
+ (c-name "g_drive_get_identifier")
+ (return-type "char*")
(parameters
- '("GCancellable*" "cancellable")
+ '("const-char*" "kind")
)
)
-(define-method query_file_type
- (of-object "GFile")
- (c-name "g_file_query_file_type")
- (return-type "GFileType")
- (parameters
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- )
+(define-method enumerate_identifiers
+ (of-object "GDrive")
+ (c-name "g_drive_enumerate_identifiers")
+ (return-type "char**")
)
-(define-method query_info
- (of-object "GFile")
- (c-name "g_file_query_info")
- (return-type "GFileInfo*")
- (parameters
- '("const-char*" "attributes")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_start_stop_type
+ (of-object "GDrive")
+ (c-name "g_drive_get_start_stop_type")
+ (return-type "GDriveStartStopType")
)
-(define-method query_info_async
- (of-object "GFile")
- (c-name "g_file_query_info_async")
+(define-method can_start
+ (of-object "GDrive")
+ (c-name "g_drive_can_start")
+ (return-type "gboolean")
+)
+
+(define-method can_start_degraded
+ (of-object "GDrive")
+ (c-name "g_drive_can_start_degraded")
+ (return-type "gboolean")
+)
+
+(define-method start
+ (of-object "GDrive")
+ (c-name "g_drive_start")
(return-type "none")
(parameters
- '("const-char*" "attributes")
- '("GFileQueryInfoFlags" "flags")
- '("int" "io_priority")
+ '("GDriveStartFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method query_info_finish
- (of-object "GFile")
- (c-name "g_file_query_info_finish")
- (return-type "GFileInfo*")
+(define-method start_finish
+ (of-object "GDrive")
+ (c-name "g_drive_start_finish")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method query_filesystem_info
- (of-object "GFile")
- (c-name "g_file_query_filesystem_info")
- (return-type "GFileInfo*")
- (parameters
- '("const-char*" "attributes")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method can_stop
+ (of-object "GDrive")
+ (c-name "g_drive_can_stop")
+ (return-type "gboolean")
)
-(define-method query_filesystem_info_async
- (of-object "GFile")
- (c-name "g_file_query_filesystem_info_async")
+(define-method stop
+ (of-object "GDrive")
+ (c-name "g_drive_stop")
(return-type "none")
(parameters
- '("const-char*" "attributes")
- '("int" "io_priority")
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method query_filesystem_info_finish
- (of-object "GFile")
- (c-name "g_file_query_filesystem_info_finish")
- (return-type "GFileInfo*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
-)
-
-(define-method find_enclosing_mount
- (of-object "GFile")
- (c-name "g_file_find_enclosing_mount")
- (return-type "GMount*")
+(define-method stop_finish
+ (of-object "GDrive")
+ (c-name "g_drive_stop_finish")
+ (return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method find_enclosing_mount_async
- (of-object "GFile")
- (c-name "g_file_find_enclosing_mount_async")
+(define-method eject_with_operation
+ (of-object "GDrive")
+ (c-name "g_drive_eject_with_operation")
(return-type "none")
(parameters
- '("int" "io_priority")
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method find_enclosing_mount_finish
- (of-object "GFile")
- (c-name "g_file_find_enclosing_mount_finish")
- (return-type "GMount*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+(define-method eject_with_operation_finish
+ (of-object "GDrive")
+ (c-name "g_drive_eject_with_operation_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-method enumerate_children
- (of-object "GFile")
- (c-name "g_file_enumerate_children")
- (return-type "GFileEnumerator*")
+
+
+;; From gdummyfile.h
+
+
+
+;; From gdummyproxyresolver.h
+
+
+
+;; From gdummytlsbackend.h
+
+
+
+;; From gemblemedicon.h
+
+(define-function g_emblemed_icon_get_type
+ (c-name "g_emblemed_icon_get_type")
+ (return-type "GType")
+)
+
+(define-function g_emblemed_icon_new
+ (c-name "g_emblemed_icon_new")
+ (is-constructor-of "GEmblemedIcon")
+ (return-type "GIcon*")
(parameters
- '("const-char*" "attributes")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GIcon*" "icon")
+ '("GEmblem*" "emblem")
)
)
-(define-method enumerate_children_async
- (of-object "GFile")
- (c-name "g_file_enumerate_children_async")
+(define-method get_icon
+ (of-object "GEmblemedIcon")
+ (c-name "g_emblemed_icon_get_icon")
+ (return-type "GIcon*")
+)
+
+(define-method get_emblems
+ (of-object "GEmblemedIcon")
+ (c-name "g_emblemed_icon_get_emblems")
+ (return-type "GList*")
+)
+
+(define-method add_emblem
+ (of-object "GEmblemedIcon")
+ (c-name "g_emblemed_icon_add_emblem")
(return-type "none")
(parameters
- '("const-char*" "attributes")
- '("GFileQueryInfoFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GEmblem*" "emblem")
)
)
-(define-method enumerate_children_finish
- (of-object "GFile")
- (c-name "g_file_enumerate_children_finish")
- (return-type "GFileEnumerator*")
+(define-method clear_emblems
+ (of-object "GEmblemedIcon")
+ (c-name "g_emblemed_icon_clear_emblems")
+ (return-type "none")
+)
+
+
+
+;; From gemblem.h
+
+(define-function g_emblem_get_type
+ (c-name "g_emblem_get_type")
+ (return-type "GType")
+)
+
+(define-function g_emblem_new
+ (c-name "g_emblem_new")
+ (is-constructor-of "GEmblem")
+ (return-type "GEmblem*")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("GIcon*" "icon")
)
)
-(define-method set_display_name
- (of-object "GFile")
- (c-name "g_file_set_display_name")
- (return-type "GFile*")
+(define-function g_emblem_new_with_origin
+ (c-name "g_emblem_new_with_origin")
+ (return-type "GEmblem*")
(parameters
- '("const-char*" "display_name")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GIcon*" "icon")
+ '("GEmblemOrigin" "origin")
)
)
-(define-method set_display_name_async
- (of-object "GFile")
- (c-name "g_file_set_display_name_async")
+(define-method get_icon
+ (of-object "GEmblem")
+ (c-name "g_emblem_get_icon")
+ (return-type "GIcon*")
+)
+
+(define-method get_origin
+ (of-object "GEmblem")
+ (c-name "g_emblem_get_origin")
+ (return-type "GEmblemOrigin")
+)
+
+
+
+;; From gfileattribute.h
+
+(define-function g_file_attribute_info_list_get_type
+ (c-name "g_file_attribute_info_list_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_attribute_info_list_new
+ (c-name "g_file_attribute_info_list_new")
+ (is-constructor-of "GFileAttributeInfoList")
+ (return-type "GFileAttributeInfoList*")
+)
+
+(define-method ref
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_ref")
+ (return-type "GFileAttributeInfoList*")
+)
+
+(define-method unref
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_unref")
(return-type "none")
+)
+
+(define-method dup
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_dup")
+ (return-type "GFileAttributeInfoList*")
+)
+
+(define-method lookup
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_lookup")
+ (return-type "const-GFileAttributeInfo*")
(parameters
- '("const-char*" "display_name")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-char*" "name")
)
)
-(define-method set_display_name_finish
- (of-object "GFile")
- (c-name "g_file_set_display_name_finish")
- (return-type "GFile*")
+(define-method add
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_add")
+ (return-type "none")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("const-char*" "name")
+ '("GFileAttributeType" "type")
+ '("GFileAttributeInfoFlags" "flags")
)
)
-(define-method delete
- (of-object "GFile")
- (c-name "g_file_delete")
- (return-type "gboolean")
+
+
+;; 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
+ (c-name "g_file_enumerator_get_type")
+ (return-type "GType")
+)
+
+(define-method next_file
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_next_file")
+ (return-type "GFileInfo*")
(parameters
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method trash
- (of-object "GFile")
- (c-name "g_file_trash")
+(define-method close
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_close")
(return-type "gboolean")
(parameters
'("GCancellable*" "cancellable")
@@ -5676,1271 +6532,3141 @@
)
)
-(define-method copy
- (of-object "GFile")
- (c-name "g_file_copy")
- (return-type "gboolean")
+(define-method next_files_async
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_next_files_async")
+ (return-type "none")
(parameters
- '("GFile*" "destination")
- '("GFileCopyFlags" "flags")
+ '("int" "num_files")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GFileProgressCallback" "progress_callback")
- '("gpointer" "progress_callback_data")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method next_files_finish
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_next_files_finish")
+ (return-type "GList*")
+ (parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method copy_async
- (of-object "GFile")
- (c-name "g_file_copy_async")
+(define-method close_async
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_close_async")
(return-type "none")
(parameters
- '("GFile*" "destination")
- '("GFileCopyFlags" "flags")
'("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GFileProgressCallback" "progress_callback")
- '("gpointer" "progress_callback_data")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method copy_finish
- (of-object "GFile")
- (c-name "g_file_copy_finish")
+(define-method close_finish
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_close_finish")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method move
- (of-object "GFile")
- (c-name "g_file_move")
+(define-method is_closed
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_is_closed")
(return-type "gboolean")
- (parameters
- '("GFile*" "destination")
- '("GFileCopyFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GFileProgressCallback" "progress_callback")
- '("gpointer" "progress_callback_data")
- '("GError**" "error")
- )
)
-(define-method make_directory
- (of-object "GFile")
- (c-name "g_file_make_directory")
+(define-method has_pending
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_has_pending")
(return-type "gboolean")
+)
+
+(define-method set_pending
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_set_pending")
+ (return-type "none")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("gboolean" "pending")
)
)
-(define-method make_directory_with_parents
- (of-object "GFile")
- (c-name "g_file_make_directory_with_parents")
- (return-type "gboolean")
+(define-method get_container
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_get_container")
+ (return-type "GFile*")
+)
+
+
+
+;; From gfile.h
+
+(define-function g_file_get_type
+ (c-name "g_file_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_new_for_path
+ (c-name "g_file_new_for_path")
+ (return-type "GFile*")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-char*" "path")
)
)
-(define-method make_symbolic_link
- (of-object "GFile")
- (c-name "g_file_make_symbolic_link")
- (return-type "gboolean")
+(define-function g_file_new_for_uri
+ (c-name "g_file_new_for_uri")
+ (return-type "GFile*")
(parameters
- '("const-char*" "symlink_value")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-char*" "uri")
)
)
-(define-method query_settable_attributes
- (of-object "GFile")
- (c-name "g_file_query_settable_attributes")
- (return-type "GFileAttributeInfoList*")
+(define-function g_file_new_for_commandline_arg
+ (c-name "g_file_new_for_commandline_arg")
+ (return-type "GFile*")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-char*" "arg")
)
)
-(define-method query_writable_namespaces
+(define-function g_file_parse_name
+ (c-name "g_file_parse_name")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "parse_name")
+ )
+)
+
+(define-method dup
(of-object "GFile")
- (c-name "g_file_query_writable_namespaces")
- (return-type "GFileAttributeInfoList*")
+ (c-name "g_file_dup")
+ (return-type "GFile*")
+)
+
+(define-function g_file_hash
+ (c-name "g_file_hash")
+ (return-type "guint")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("gconstpointer" "file")
)
)
-(define-method set_attribute
+(define-method equal
(of-object "GFile")
- (c-name "g_file_set_attribute")
+ (c-name "g_file_equal")
(return-type "gboolean")
(parameters
- '("const-char*" "attribute")
- '("GFileAttributeType" "type")
- '("gpointer" "value_p")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GFile*" "file2")
)
)
-(define-method set_attributes_from_info
+(define-method get_basename
(of-object "GFile")
- (c-name "g_file_set_attributes_from_info")
+ (c-name "g_file_get_basename")
+ (return-type "char*")
+)
+
+(define-method get_path
+ (of-object "GFile")
+ (c-name "g_file_get_path")
+ (return-type "char*")
+)
+
+(define-method get_uri
+ (of-object "GFile")
+ (c-name "g_file_get_uri")
+ (return-type "char*")
+)
+
+(define-method get_parse_name
+ (of-object "GFile")
+ (c-name "g_file_get_parse_name")
+ (return-type "char*")
+)
+
+(define-method get_parent
+ (of-object "GFile")
+ (c-name "g_file_get_parent")
+ (return-type "GFile*")
+)
+
+(define-method has_parent
+ (of-object "GFile")
+ (c-name "g_file_has_parent")
(return-type "gboolean")
(parameters
- '("GFileInfo*" "info")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GFile*" "parent")
)
)
-(define-method set_attributes_async
+(define-method get_child
(of-object "GFile")
- (c-name "g_file_set_attributes_async")
- (return-type "none")
+ (c-name "g_file_get_child")
+ (return-type "GFile*")
(parameters
- '("GFileInfo*" "info")
- '("GFileQueryInfoFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-char*" "name")
)
)
-(define-method set_attributes_finish
+(define-method get_child_for_display_name
(of-object "GFile")
- (c-name "g_file_set_attributes_finish")
- (return-type "gboolean")
+ (c-name "g_file_get_child_for_display_name")
+ (return-type "GFile*")
(parameters
- '("GAsyncResult*" "result")
- '("GFileInfo**" "info")
+ '("const-char*" "display_name")
'("GError**" "error")
)
)
-(define-method set_attribute_string
+(define-method has_prefix
(of-object "GFile")
- (c-name "g_file_set_attribute_string")
+ (c-name "g_file_has_prefix")
(return-type "gboolean")
(parameters
- '("const-char*" "attribute")
- '("const-char*" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GFile*" "prefix")
)
)
-(define-method set_attribute_byte_string
+(define-method get_relative_path
(of-object "GFile")
- (c-name "g_file_set_attribute_byte_string")
- (return-type "gboolean")
+ (c-name "g_file_get_relative_path")
+ (return-type "char*")
(parameters
- '("const-char*" "attribute")
- '("const-char*" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GFile*" "descendant")
)
)
-(define-method set_attribute_uint32
+(define-method resolve_relative_path
(of-object "GFile")
- (c-name "g_file_set_attribute_uint32")
- (return-type "gboolean")
+ (c-name "g_file_resolve_relative_path")
+ (return-type "GFile*")
(parameters
- '("const-char*" "attribute")
- '("guint32" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-char*" "relative_path")
)
)
-(define-method set_attribute_int32
+(define-method is_native
(of-object "GFile")
- (c-name "g_file_set_attribute_int32")
+ (c-name "g_file_is_native")
(return-type "gboolean")
- (parameters
- '("const-char*" "attribute")
- '("gint32" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
)
-(define-method set_attribute_uint64
+(define-method has_uri_scheme
(of-object "GFile")
- (c-name "g_file_set_attribute_uint64")
+ (c-name "g_file_has_uri_scheme")
(return-type "gboolean")
(parameters
- '("const-char*" "attribute")
- '("guint64" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-char*" "uri_scheme")
)
)
-(define-method set_attribute_int64
+(define-method get_uri_scheme
(of-object "GFile")
- (c-name "g_file_set_attribute_int64")
- (return-type "gboolean")
+ (c-name "g_file_get_uri_scheme")
+ (return-type "char*")
+)
+
+(define-method read
+ (of-object "GFile")
+ (c-name "g_file_read")
+ (return-type "GFileInputStream*")
(parameters
- '("const-char*" "attribute")
- '("gint64" "value")
- '("GFileQueryInfoFlags" "flags")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method mount_enclosing_volume
+(define-method read_async
(of-object "GFile")
- (c-name "g_file_mount_enclosing_volume")
+ (c-name "g_file_read_async")
(return-type "none")
(parameters
- '("GMountMountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method mount_enclosing_volume_finish
+(define-method read_finish
(of-object "GFile")
- (c-name "g_file_mount_enclosing_volume_finish")
- (return-type "gboolean")
+ (c-name "g_file_read_finish")
+ (return-type "GFileInputStream*")
(parameters
- '("GAsyncResult*" "result")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method mount_mountable
+(define-method append_to
(of-object "GFile")
- (c-name "g_file_mount_mountable")
- (return-type "none")
+ (c-name "g_file_append_to")
+ (return-type "GFileOutputStream*")
(parameters
- '("GMountMountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("GFileCreateFlags" "flags")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method mount_mountable_finish
- (of-object "GFile")
- (c-name "g_file_mount_mountable_finish")
- (return-type "GFile*")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method unmount_mountable
+(define-method create
(of-object "GFile")
- (c-name "g_file_unmount_mountable")
- (return-type "none")
+ (c-name "g_file_create")
+ (return-type "GFileOutputStream*")
(parameters
- '("GMountUnmountFlags" "flags")
+ '("GFileCreateFlags" "flags")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GError**" "error")
)
)
-(define-method unmount_mountable_finish
+(define-method replace
(of-object "GFile")
- (c-name "g_file_unmount_mountable_finish")
- (return-type "gboolean")
+ (c-name "g_file_replace")
+ (return-type "GFileOutputStream*")
(parameters
- '("GAsyncResult*" "result")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method unmount_mountable_with_operation
+(define-method append_to_async
(of-object "GFile")
- (c-name "g_file_unmount_mountable_with_operation")
+ (c-name "g_file_append_to_async")
(return-type "none")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method unmount_mountable_with_operation_finish
+(define-method append_to_finish
(of-object "GFile")
- (c-name "g_file_unmount_mountable_with_operation_finish")
- (return-type "gboolean")
+ (c-name "g_file_append_to_finish")
+ (return-type "GFileOutputStream*")
(parameters
- '("GAsyncResult*" "result")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method eject_mountable
+(define-method create_async
(of-object "GFile")
- (c-name "g_file_eject_mountable")
+ (c-name "g_file_create_async")
(return-type "none")
(parameters
- '("GMountUnmountFlags" "flags")
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method eject_mountable_finish
+(define-method create_finish
(of-object "GFile")
- (c-name "g_file_eject_mountable_finish")
- (return-type "gboolean")
+ (c-name "g_file_create_finish")
+ (return-type "GFileOutputStream*")
(parameters
- '("GAsyncResult*" "result")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method eject_mountable_with_operation
+(define-method replace_async
(of-object "GFile")
- (c-name "g_file_eject_mountable_with_operation")
+ (c-name "g_file_replace_async")
(return-type "none")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method eject_mountable_with_operation_finish
+(define-method replace_finish
(of-object "GFile")
- (c-name "g_file_eject_mountable_with_operation_finish")
- (return-type "gboolean")
+ (c-name "g_file_replace_finish")
+ (return-type "GFileOutputStream*")
(parameters
- '("GAsyncResult*" "result")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method copy_attributes
+(define-method open_readwrite
(of-object "GFile")
- (c-name "g_file_copy_attributes")
- (return-type "gboolean")
+ (c-name "g_file_open_readwrite")
+ (return-type "GFileIOStream*")
(parameters
- '("GFile*" "destination")
- '("GFileCopyFlags" "flags")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method monitor_directory
+(define-method open_readwrite_async
(of-object "GFile")
- (c-name "g_file_monitor_directory")
- (return-type "GFileMonitor*")
+ (c-name "g_file_open_readwrite_async")
+ (return-type "none")
(parameters
- '("GFileMonitorFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method monitor_file
+(define-method open_readwrite_finish
(of-object "GFile")
- (c-name "g_file_monitor_file")
- (return-type "GFileMonitor*")
+ (c-name "g_file_open_readwrite_finish")
+ (return-type "GFileIOStream*")
(parameters
- '("GFileMonitorFlags" "flags")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method monitor
+(define-method create_readwrite
(of-object "GFile")
- (c-name "g_file_monitor")
- (return-type "GFileMonitor*")
+ (c-name "g_file_create_readwrite")
+ (return-type "GFileIOStream*")
(parameters
- '("GFileMonitorFlags" "flags")
+ '("GFileCreateFlags" "flags")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method start_mountable
+(define-method create_readwrite_async
(of-object "GFile")
- (c-name "g_file_start_mountable")
+ (c-name "g_file_create_readwrite_async")
(return-type "none")
(parameters
- '("GDriveStartFlags" "flags")
- '("GMountOperation*" "start_operation")
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method start_mountable_finish
+(define-method create_readwrite_finish
(of-object "GFile")
- (c-name "g_file_start_mountable_finish")
- (return-type "gboolean")
+ (c-name "g_file_create_readwrite_finish")
+ (return-type "GFileIOStream*")
(parameters
- '("GAsyncResult*" "result")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method stop_mountable
+(define-method replace_readwrite
(of-object "GFile")
- (c-name "g_file_stop_mountable")
- (return-type "none")
+ (c-name "g_file_replace_readwrite")
+ (return-type "GFileIOStream*")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method stop_mountable_finish
- (of-object "GFile")
- (c-name "g_file_stop_mountable_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method poll_mountable
+(define-method replace_readwrite_async
(of-object "GFile")
- (c-name "g_file_poll_mountable")
+ (c-name "g_file_replace_readwrite_async")
(return-type "none")
(parameters
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method poll_mountable_finish
- (of-object "GFile")
- (c-name "g_file_poll_mountable_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
-(define-method query_default_handler
+(define-method replace_readwrite_finish
(of-object "GFile")
- (c-name "g_file_query_default_handler")
- (return-type "GAppInfo*")
+ (c-name "g_file_replace_readwrite_finish")
+ (return-type "GFileIOStream*")
(parameters
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method load_contents
+(define-method query_exists
(of-object "GFile")
- (c-name "g_file_load_contents")
+ (c-name "g_file_query_exists")
(return-type "gboolean")
(parameters
'("GCancellable*" "cancellable")
- '("char**" "contents")
- '("gsize*" "length")
- '("char**" "etag_out")
- '("GError**" "error")
)
)
-(define-method load_contents_async
+(define-method query_file_type
(of-object "GFile")
- (c-name "g_file_load_contents_async")
- (return-type "none")
+ (c-name "g_file_query_file_type")
+ (return-type "GFileType")
(parameters
+ '("GFileQueryInfoFlags" "flags")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
)
)
-(define-method load_contents_finish
+(define-method query_info
(of-object "GFile")
- (c-name "g_file_load_contents_finish")
- (return-type "gboolean")
+ (c-name "g_file_query_info")
+ (return-type "GFileInfo*")
(parameters
- '("GAsyncResult*" "res")
- '("char**" "contents")
- '("gsize*" "length")
- '("char**" "etag_out")
+ '("const-char*" "attributes")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method load_partial_contents_async
+(define-method query_info_async
(of-object "GFile")
- (c-name "g_file_load_partial_contents_async")
+ (c-name "g_file_query_info_async")
(return-type "none")
(parameters
+ '("const-char*" "attributes")
+ '("GFileQueryInfoFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GFileReadMoreCallback" "read_more_callback")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method load_partial_contents_finish
+(define-method query_info_finish
(of-object "GFile")
- (c-name "g_file_load_partial_contents_finish")
- (return-type "gboolean")
+ (c-name "g_file_query_info_finish")
+ (return-type "GFileInfo*")
(parameters
'("GAsyncResult*" "res")
- '("char**" "contents")
- '("gsize*" "length")
- '("char**" "etag_out")
'("GError**" "error")
)
)
-(define-method replace_contents
+(define-method query_filesystem_info
(of-object "GFile")
- (c-name "g_file_replace_contents")
- (return-type "gboolean")
+ (c-name "g_file_query_filesystem_info")
+ (return-type "GFileInfo*")
(parameters
- '("const-char*" "contents")
- '("gsize" "length")
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("char**" "new_etag")
+ '("const-char*" "attributes")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method replace_contents_async
+(define-method query_filesystem_info_async
(of-object "GFile")
- (c-name "g_file_replace_contents_async")
+ (c-name "g_file_query_filesystem_info_async")
(return-type "none")
(parameters
- '("const-char*" "contents")
- '("gsize" "length")
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
+ '("const-char*" "attributes")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method replace_contents_finish
+(define-method query_filesystem_info_finish
(of-object "GFile")
- (c-name "g_file_replace_contents_finish")
- (return-type "gboolean")
+ (c-name "g_file_query_filesystem_info_finish")
+ (return-type "GFileInfo*")
(parameters
'("GAsyncResult*" "res")
- '("char**" "new_etag")
'("GError**" "error")
)
)
-(define-method supports_thread_contexts
+(define-method find_enclosing_mount
(of-object "GFile")
- (c-name "g_file_supports_thread_contexts")
- (return-type "gboolean")
-)
-
-
-
-;; From gfileicon.h
-
-(define-function g_file_icon_get_type
- (c-name "g_file_icon_get_type")
- (return-type "GType")
+ (c-name "g_file_find_enclosing_mount")
+ (return-type "GMount*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method icon_new
+(define-method find_enclosing_mount_async
(of-object "GFile")
- (c-name "g_file_icon_new")
- (return-type "GIcon*")
-)
-
-(define-method get_file
- (of-object "GFileIcon")
- (c-name "g_file_icon_get_file")
- (return-type "GFile*")
-)
-
-
-
-;; From gfileinfo.h
-
-(define-function g_file_info_get_type
- (c-name "g_file_info_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_info_new
- (c-name "g_file_info_new")
- (is-constructor-of "GFileInfo")
- (return-type "GFileInfo*")
-)
-
-(define-method dup
- (of-object "GFileInfo")
- (c-name "g_file_info_dup")
- (return-type "GFileInfo*")
-)
-
-(define-method copy_into
- (of-object "GFileInfo")
- (c-name "g_file_info_copy_into")
+ (c-name "g_file_find_enclosing_mount_async")
(return-type "none")
(parameters
- '("GFileInfo*" "dest_info")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method has_attribute
- (of-object "GFileInfo")
- (c-name "g_file_info_has_attribute")
- (return-type "gboolean")
+(define-method find_enclosing_mount_finish
+ (of-object "GFile")
+ (c-name "g_file_find_enclosing_mount_finish")
+ (return-type "GMount*")
(parameters
- '("const-char*" "attribute")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-method has_namespace
- (of-object "GFileInfo")
- (c-name "g_file_info_has_namespace")
- (return-type "gboolean")
+(define-method enumerate_children
+ (of-object "GFile")
+ (c-name "g_file_enumerate_children")
+ (return-type "GFileEnumerator*")
(parameters
- '("const-char*" "name_space")
+ '("const-char*" "attributes")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method list_attributes
- (of-object "GFileInfo")
- (c-name "g_file_info_list_attributes")
- (return-type "char**")
+(define-method enumerate_children_async
+ (of-object "GFile")
+ (c-name "g_file_enumerate_children_async")
+ (return-type "none")
(parameters
- '("const-char*" "name_space")
+ '("const-char*" "attributes")
+ '("GFileQueryInfoFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_attribute_data
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_data")
- (return-type "gboolean")
+(define-method enumerate_children_finish
+ (of-object "GFile")
+ (c-name "g_file_enumerate_children_finish")
+ (return-type "GFileEnumerator*")
(parameters
- '("const-char*" "attribute")
- '("GFileAttributeType*" "type")
- '("gpointer*" "value_pp")
- '("GFileAttributeStatus*" "status")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-method get_attribute_type
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_type")
- (return-type "GFileAttributeType")
+(define-method set_display_name
+ (of-object "GFile")
+ (c-name "g_file_set_display_name")
+ (return-type "GFile*")
(parameters
- '("const-char*" "attribute")
+ '("const-char*" "display_name")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method remove_attribute
- (of-object "GFileInfo")
- (c-name "g_file_info_remove_attribute")
+(define-method set_display_name_async
+ (of-object "GFile")
+ (c-name "g_file_set_display_name_async")
(return-type "none")
(parameters
- '("const-char*" "attribute")
+ '("const-char*" "display_name")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_attribute_status
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_status")
- (return-type "GFileAttributeStatus")
+(define-method set_display_name_finish
+ (of-object "GFile")
+ (c-name "g_file_set_display_name_finish")
+ (return-type "GFile*")
(parameters
- '("const-char*" "attribute")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-method set_attribute_status
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_status")
+(define-method delete
+ (of-object "GFile")
+ (c-name "g_file_delete")
(return-type "gboolean")
(parameters
- '("const-char*" "attribute")
- '("GFileAttributeStatus" "status")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_attribute_as_string
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_as_string")
- (return-type "char*")
+(define-method trash
+ (of-object "GFile")
+ (c-name "g_file_trash")
+ (return-type "gboolean")
(parameters
- '("const-char*" "attribute")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_attribute_string
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_string")
- (return-type "const-char*")
+(define-method copy
+ (of-object "GFile")
+ (c-name "g_file_copy")
+ (return-type "gboolean")
(parameters
- '("const-char*" "attribute")
+ '("GFile*" "destination")
+ '("GFileCopyFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GFileProgressCallback" "progress_callback")
+ '("gpointer" "progress_callback_data")
+ '("GError**" "error")
)
)
-(define-method get_attribute_byte_string
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_byte_string")
- (return-type "const-char*")
+(define-method copy_async
+ (of-object "GFile")
+ (c-name "g_file_copy_async")
+ (return-type "none")
(parameters
- '("const-char*" "attribute")
+ '("GFile*" "destination")
+ '("GFileCopyFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GFileProgressCallback" "progress_callback")
+ '("gpointer" "progress_callback_data")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_attribute_boolean
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_boolean")
+(define-method copy_finish
+ (of-object "GFile")
+ (c-name "g_file_copy_finish")
(return-type "gboolean")
(parameters
- '("const-char*" "attribute")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-method get_attribute_uint32
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_uint32")
- (return-type "guint32")
+(define-method move
+ (of-object "GFile")
+ (c-name "g_file_move")
+ (return-type "gboolean")
(parameters
- '("const-char*" "attribute")
+ '("GFile*" "destination")
+ '("GFileCopyFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GFileProgressCallback" "progress_callback")
+ '("gpointer" "progress_callback_data")
+ '("GError**" "error")
)
)
-(define-method get_attribute_int32
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_int32")
- (return-type "gint32")
+(define-method make_directory
+ (of-object "GFile")
+ (c-name "g_file_make_directory")
+ (return-type "gboolean")
(parameters
- '("const-char*" "attribute")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_attribute_uint64
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_uint64")
- (return-type "guint64")
+(define-method make_directory_with_parents
+ (of-object "GFile")
+ (c-name "g_file_make_directory_with_parents")
+ (return-type "gboolean")
(parameters
- '("const-char*" "attribute")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_attribute_int64
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_int64")
- (return-type "gint64")
+(define-method make_symbolic_link
+ (of-object "GFile")
+ (c-name "g_file_make_symbolic_link")
+ (return-type "gboolean")
(parameters
- '("const-char*" "attribute")
+ '("const-char*" "symlink_value")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_attribute_object
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_object")
- (return-type "GObject*")
+(define-method query_settable_attributes
+ (of-object "GFile")
+ (c-name "g_file_query_settable_attributes")
+ (return-type "GFileAttributeInfoList*")
(parameters
- '("const-char*" "attribute")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_attribute_stringv
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_stringv")
- (return-type "char**")
+(define-method query_writable_namespaces
+ (of-object "GFile")
+ (c-name "g_file_query_writable_namespaces")
+ (return-type "GFileAttributeInfoList*")
(parameters
- '("const-char*" "attribute")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
(define-method set_attribute
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute")
- (return-type "none")
+ (of-object "GFile")
+ (c-name "g_file_set_attribute")
+ (return-type "gboolean")
(parameters
'("const-char*" "attribute")
'("GFileAttributeType" "type")
'("gpointer" "value_p")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method set_attribute_string
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_string")
- (return-type "none")
+(define-method set_attributes_from_info
+ (of-object "GFile")
+ (c-name "g_file_set_attributes_from_info")
+ (return-type "gboolean")
(parameters
- '("const-char*" "attribute")
- '("const-char*" "attr_value")
+ '("GFileInfo*" "info")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method set_attribute_byte_string
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_byte_string")
+(define-method set_attributes_async
+ (of-object "GFile")
+ (c-name "g_file_set_attributes_async")
(return-type "none")
(parameters
+ '("GFileInfo*" "info")
+ '("GFileQueryInfoFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method set_attributes_finish
+ (of-object "GFile")
+ (c-name "g_file_set_attributes_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GFileInfo**" "info")
+ '("GError**" "error")
+ )
+)
+
+(define-method set_attribute_string
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_string")
+ (return-type "gboolean")
+ (parameters
'("const-char*" "attribute")
- '("const-char*" "attr_value")
+ '("const-char*" "value")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method set_attribute_boolean
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_boolean")
- (return-type "none")
+(define-method set_attribute_byte_string
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_byte_string")
+ (return-type "gboolean")
(parameters
'("const-char*" "attribute")
- '("gboolean" "attr_value")
+ '("const-char*" "value")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
(define-method set_attribute_uint32
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_uint32")
- (return-type "none")
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_uint32")
+ (return-type "gboolean")
(parameters
'("const-char*" "attribute")
- '("guint32" "attr_value")
+ '("guint32" "value")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
(define-method set_attribute_int32
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_int32")
- (return-type "none")
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_int32")
+ (return-type "gboolean")
(parameters
'("const-char*" "attribute")
- '("gint32" "attr_value")
+ '("gint32" "value")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
(define-method set_attribute_uint64
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_uint64")
- (return-type "none")
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_uint64")
+ (return-type "gboolean")
(parameters
'("const-char*" "attribute")
- '("guint64" "attr_value")
+ '("guint64" "value")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method set_attribute_int64
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_int64")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "attribute")
+ '("gint64" "value")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method mount_enclosing_volume
+ (of-object "GFile")
+ (c-name "g_file_mount_enclosing_volume")
+ (return-type "none")
+ (parameters
+ '("GMountMountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method mount_enclosing_volume_finish
+ (of-object "GFile")
+ (c-name "g_file_mount_enclosing_volume_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method mount_mountable
+ (of-object "GFile")
+ (c-name "g_file_mount_mountable")
+ (return-type "none")
+ (parameters
+ '("GMountMountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method mount_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_mount_mountable_finish")
+ (return-type "GFile*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(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")
+ (return-type "none")
+ (parameters
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method unmount_mountable_with_operation_finish
+ (of-object "GFile")
+ (c-name "g_file_unmount_mountable_with_operation_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(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 set_attribute_int64
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_int64")
- (return-type "none")
- (parameters
- '("const-char*" "attribute")
- '("gint64" "attr_value")
- )
+(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")
+ (return-type "none")
+ (parameters
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method eject_mountable_with_operation_finish
+ (of-object "GFile")
+ (c-name "g_file_eject_mountable_with_operation_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method copy_attributes
+ (of-object "GFile")
+ (c-name "g_file_copy_attributes")
+ (return-type "gboolean")
+ (parameters
+ '("GFile*" "destination")
+ '("GFileCopyFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method monitor_directory
+ (of-object "GFile")
+ (c-name "g_file_monitor_directory")
+ (return-type "GFileMonitor*")
+ (parameters
+ '("GFileMonitorFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method monitor_file
+ (of-object "GFile")
+ (c-name "g_file_monitor_file")
+ (return-type "GFileMonitor*")
+ (parameters
+ '("GFileMonitorFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method monitor
+ (of-object "GFile")
+ (c-name "g_file_monitor")
+ (return-type "GFileMonitor*")
+ (parameters
+ '("GFileMonitorFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method start_mountable
+ (of-object "GFile")
+ (c-name "g_file_start_mountable")
+ (return-type "none")
+ (parameters
+ '("GDriveStartFlags" "flags")
+ '("GMountOperation*" "start_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method start_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_start_mountable_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method stop_mountable
+ (of-object "GFile")
+ (c-name "g_file_stop_mountable")
+ (return-type "none")
+ (parameters
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method stop_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_stop_mountable_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method poll_mountable
+ (of-object "GFile")
+ (c-name "g_file_poll_mountable")
+ (return-type "none")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method poll_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_poll_mountable_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method query_default_handler
+ (of-object "GFile")
+ (c-name "g_file_query_default_handler")
+ (return-type "GAppInfo*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method load_contents
+ (of-object "GFile")
+ (c-name "g_file_load_contents")
+ (return-type "gboolean")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("char**" "contents")
+ '("gsize*" "length")
+ '("char**" "etag_out")
+ '("GError**" "error")
+ )
+)
+
+(define-method load_contents_async
+ (of-object "GFile")
+ (c-name "g_file_load_contents_async")
+ (return-type "none")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method load_contents_finish
+ (of-object "GFile")
+ (c-name "g_file_load_contents_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("char**" "contents")
+ '("gsize*" "length")
+ '("char**" "etag_out")
+ '("GError**" "error")
+ )
+)
+
+(define-method load_partial_contents_async
+ (of-object "GFile")
+ (c-name "g_file_load_partial_contents_async")
+ (return-type "none")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GFileReadMoreCallback" "read_more_callback")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method load_partial_contents_finish
+ (of-object "GFile")
+ (c-name "g_file_load_partial_contents_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("char**" "contents")
+ '("gsize*" "length")
+ '("char**" "etag_out")
+ '("GError**" "error")
+ )
+)
+
+(define-method replace_contents
+ (of-object "GFile")
+ (c-name "g_file_replace_contents")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "contents")
+ '("gsize" "length")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("char**" "new_etag")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method replace_contents_async
+ (of-object "GFile")
+ (c-name "g_file_replace_contents_async")
+ (return-type "none")
+ (parameters
+ '("const-char*" "contents")
+ '("gsize" "length")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method replace_contents_finish
+ (of-object "GFile")
+ (c-name "g_file_replace_contents_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("char**" "new_etag")
+ '("GError**" "error")
+ )
+)
+
+(define-method supports_thread_contexts
+ (of-object "GFile")
+ (c-name "g_file_supports_thread_contexts")
+ (return-type "gboolean")
+)
+
+
+
+;; From gfileicon.h
+
+(define-function g_file_icon_get_type
+ (c-name "g_file_icon_get_type")
+ (return-type "GType")
+)
+
+(define-method icon_new
+ (of-object "GFile")
+ (c-name "g_file_icon_new")
+ (return-type "GIcon*")
+)
+
+(define-method get_file
+ (of-object "GFileIcon")
+ (c-name "g_file_icon_get_file")
+ (return-type "GFile*")
+)
+
+
+
+;; From gfileinfo.h
+
+(define-function g_file_info_get_type
+ (c-name "g_file_info_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_info_new
+ (c-name "g_file_info_new")
+ (is-constructor-of "GFileInfo")
+ (return-type "GFileInfo*")
+)
+
+(define-method dup
+ (of-object "GFileInfo")
+ (c-name "g_file_info_dup")
+ (return-type "GFileInfo*")
+)
+
+(define-method copy_into
+ (of-object "GFileInfo")
+ (c-name "g_file_info_copy_into")
+ (return-type "none")
+ (parameters
+ '("GFileInfo*" "dest_info")
+ )
+)
+
+(define-method has_attribute
+ (of-object "GFileInfo")
+ (c-name "g_file_info_has_attribute")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method has_namespace
+ (of-object "GFileInfo")
+ (c-name "g_file_info_has_namespace")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "name_space")
+ )
+)
+
+(define-method list_attributes
+ (of-object "GFileInfo")
+ (c-name "g_file_info_list_attributes")
+ (return-type "char**")
+ (parameters
+ '("const-char*" "name_space")
+ )
+)
+
+(define-method get_attribute_data
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_data")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "attribute")
+ '("GFileAttributeType*" "type")
+ '("gpointer*" "value_pp")
+ '("GFileAttributeStatus*" "status")
+ )
+)
+
+(define-method get_attribute_type
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_type")
+ (return-type "GFileAttributeType")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method remove_attribute
+ (of-object "GFileInfo")
+ (c-name "g_file_info_remove_attribute")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_status
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_status")
+ (return-type "GFileAttributeStatus")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method set_attribute_status
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_status")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "attribute")
+ '("GFileAttributeStatus" "status")
+ )
+)
+
+(define-method get_attribute_as_string
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_as_string")
+ (return-type "char*")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_string
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_string")
+ (return-type "const-char*")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_byte_string
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_byte_string")
+ (return-type "const-char*")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_boolean
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_boolean")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_uint32
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_uint32")
+ (return-type "guint32")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_int32
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_int32")
+ (return-type "gint32")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_uint64
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_uint64")
+ (return-type "guint64")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_int64
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_int64")
+ (return-type "gint64")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_object
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_object")
+ (return-type "GObject*")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method get_attribute_stringv
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_attribute_stringv")
+ (return-type "char**")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method set_attribute
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("GFileAttributeType" "type")
+ '("gpointer" "value_p")
+ )
+)
+
+(define-method set_attribute_string
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_string")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("const-char*" "attr_value")
+ )
+)
+
+(define-method set_attribute_byte_string
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_byte_string")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("const-char*" "attr_value")
+ )
+)
+
+(define-method set_attribute_boolean
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_boolean")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("gboolean" "attr_value")
+ )
+)
+
+(define-method set_attribute_uint32
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_uint32")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("guint32" "attr_value")
+ )
+)
+
+(define-method set_attribute_int32
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_int32")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("gint32" "attr_value")
+ )
+)
+
+(define-method set_attribute_uint64
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_uint64")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("guint64" "attr_value")
+ )
+)
+
+(define-method set_attribute_int64
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_int64")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("gint64" "attr_value")
+ )
+)
+
+(define-method set_attribute_object
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_object")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("GObject*" "attr_value")
+ )
+)
+
+(define-method set_attribute_stringv
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_stringv")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attribute")
+ '("char**" "attr_value")
+ )
+)
+
+(define-method clear_status
+ (of-object "GFileInfo")
+ (c-name "g_file_info_clear_status")
+ (return-type "none")
+)
+
+(define-method get_file_type
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_file_type")
+ (return-type "GFileType")
+)
+
+(define-method get_is_hidden
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_is_hidden")
+ (return-type "gboolean")
+)
+
+(define-method get_is_backup
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_is_backup")
+ (return-type "gboolean")
+)
+
+(define-method get_is_symlink
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_is_symlink")
+ (return-type "gboolean")
+)
+
+(define-method get_name
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_name")
+ (return-type "const-char*")
+)
+
+(define-method get_display_name
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_display_name")
+ (return-type "const-char*")
+)
+
+(define-method get_edit_name
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_edit_name")
+ (return-type "const-char*")
+)
+
+(define-method get_icon
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_icon")
+ (return-type "GIcon*")
+)
+
+(define-method get_content_type
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_content_type")
+ (return-type "const-char*")
+)
+
+(define-method get_size
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_size")
+ (return-type "goffset")
+)
+
+(define-method get_modification_time
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_modification_time")
+ (return-type "none")
+ (parameters
+ '("GTimeVal*" "result")
+ )
+)
+
+(define-method get_symlink_target
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_symlink_target")
+ (return-type "const-char*")
+)
+
+(define-method get_etag
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_etag")
+ (return-type "const-char*")
+)
+
+(define-method get_sort_order
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_sort_order")
+ (return-type "gint32")
+)
+
+(define-method set_attribute_mask
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_mask")
+ (return-type "none")
+ (parameters
+ '("GFileAttributeMatcher*" "mask")
+ )
+)
+
+(define-method unset_attribute_mask
+ (of-object "GFileInfo")
+ (c-name "g_file_info_unset_attribute_mask")
+ (return-type "none")
+)
+
+(define-method set_file_type
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_file_type")
+ (return-type "none")
+ (parameters
+ '("GFileType" "type")
+ )
+)
+
+(define-method set_is_hidden
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_is_hidden")
+ (return-type "none")
+ (parameters
+ '("gboolean" "is_hidden")
+ )
+)
+
+(define-method set_is_symlink
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_is_symlink")
+ (return-type "none")
+ (parameters
+ '("gboolean" "is_symlink")
+ )
+)
+
+(define-method set_name
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_name")
+ (return-type "none")
+ (parameters
+ '("const-char*" "name")
+ )
+)
+
+(define-method set_display_name
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_display_name")
+ (return-type "none")
+ (parameters
+ '("const-char*" "display_name")
+ )
+)
+
+(define-method set_edit_name
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_edit_name")
+ (return-type "none")
+ (parameters
+ '("const-char*" "edit_name")
+ )
+)
+
+(define-method set_icon
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_icon")
+ (return-type "none")
+ (parameters
+ '("GIcon*" "icon")
+ )
+)
+
+(define-method set_content_type
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_content_type")
+ (return-type "none")
+ (parameters
+ '("const-char*" "content_type")
+ )
+)
+
+(define-method set_size
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_size")
+ (return-type "none")
+ (parameters
+ '("goffset" "size")
+ )
+)
+
+(define-method set_modification_time
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_modification_time")
+ (return-type "none")
+ (parameters
+ '("GTimeVal*" "mtime")
+ )
+)
+
+(define-method set_symlink_target
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_symlink_target")
+ (return-type "none")
+ (parameters
+ '("const-char*" "symlink_target")
+ )
+)
+
+(define-method set_sort_order
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_sort_order")
+ (return-type "none")
+ (parameters
+ '("gint32" "sort_order")
+ )
+)
+
+(define-function g_file_attribute_matcher_get_type
+ (c-name "g_file_attribute_matcher_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_attribute_matcher_new
+ (c-name "g_file_attribute_matcher_new")
+ (is-constructor-of "GFileAttributeMatcher")
+ (return-type "GFileAttributeMatcher*")
+ (parameters
+ '("const-char*" "attributes")
+ )
+)
+
+(define-method ref
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_ref")
+ (return-type "GFileAttributeMatcher*")
+)
+
+(define-method unref
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_unref")
+ (return-type "none")
+)
+
+(define-method matches
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_matches")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method matches_only
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_matches_only")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "attribute")
+ )
+)
+
+(define-method enumerate_namespace
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_enumerate_namespace")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "ns")
+ )
+)
+
+(define-method enumerate_next
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_enumerate_next")
+ (return-type "const-char*")
+)
+
+
+
+;; From gfileinfo-priv.h
+
+
+
+;; From gfileinputstream.h
+
+(define-function g_file_input_stream_get_type
+ (c-name "g_file_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-method query_info
+ (of-object "GFileInputStream")
+ (c-name "g_file_input_stream_query_info")
+ (return-type "GFileInfo*")
+ (parameters
+ '("const-char*" "attributes")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method query_info_async
+ (of-object "GFileInputStream")
+ (c-name "g_file_input_stream_query_info_async")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attributes")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method query_info_finish
+ (of-object "GFileInputStream")
+ (c-name "g_file_input_stream_query_info_finish")
+ (return-type "GFileInfo*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+
+
+;; From gfileiostream.h
+
+(define-function g_file_io_stream_get_type
+ (c-name "g_file_io_stream_get_type")
+ (return-type "GType")
+)
+
+(define-method query_info
+ (of-object "GFileIOStream")
+ (c-name "g_file_io_stream_query_info")
+ (return-type "GFileInfo*")
+ (parameters
+ '("const-char*" "attributes")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method query_info_async
+ (of-object "GFileIOStream")
+ (c-name "g_file_io_stream_query_info_async")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attributes")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method query_info_finish
+ (of-object "GFileIOStream")
+ (c-name "g_file_io_stream_query_info_finish")
+ (return-type "GFileInfo*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_etag
+ (of-object "GFileIOStream")
+ (c-name "g_file_io_stream_get_etag")
+ (return-type "char*")
+)
+
+
+
+;; From gfilemonitor.h
+
+(define-function g_file_monitor_get_type
+ (c-name "g_file_monitor_get_type")
+ (return-type "GType")
+)
+
+(define-method cancel
+ (of-object "GFileMonitor")
+ (c-name "g_file_monitor_cancel")
+ (return-type "gboolean")
+)
+
+(define-method is_cancelled
+ (of-object "GFileMonitor")
+ (c-name "g_file_monitor_is_cancelled")
+ (return-type "gboolean")
+)
+
+(define-method set_rate_limit
+ (of-object "GFileMonitor")
+ (c-name "g_file_monitor_set_rate_limit")
+ (return-type "none")
+ (parameters
+ '("gint" "limit_msecs")
+ )
+)
+
+(define-method emit_event
+ (of-object "GFileMonitor")
+ (c-name "g_file_monitor_emit_event")
+ (return-type "none")
+ (parameters
+ '("GFile*" "child")
+ '("GFile*" "other_file")
+ '("GFileMonitorEvent" "event_type")
+ )
+)
+
+
+
+;; From gfilenamecompleter.h
+
+(define-function g_filename_completer_get_type
+ (c-name "g_filename_completer_get_type")
+ (return-type "GType")
+)
+
+(define-function g_filename_completer_new
+ (c-name "g_filename_completer_new")
+ (is-constructor-of "GFilenameCompleter")
+ (return-type "GFilenameCompleter*")
+)
+
+(define-method get_completion_suffix
+ (of-object "GFilenameCompleter")
+ (c-name "g_filename_completer_get_completion_suffix")
+ (return-type "char*")
+ (parameters
+ '("const-char*" "initial_text")
+ )
+)
+
+(define-method get_completions
+ (of-object "GFilenameCompleter")
+ (c-name "g_filename_completer_get_completions")
+ (return-type "char**")
+ (parameters
+ '("const-char*" "initial_text")
+ )
+)
+
+(define-method set_dirs_only
+ (of-object "GFilenameCompleter")
+ (c-name "g_filename_completer_set_dirs_only")
+ (return-type "none")
+ (parameters
+ '("gboolean" "dirs_only")
+ )
+)
+
+
+
+;; From gfileoutputstream.h
+
+(define-function g_file_output_stream_get_type
+ (c-name "g_file_output_stream_get_type")
+ (return-type "GType")
+)
+
+(define-method query_info
+ (of-object "GFileOutputStream")
+ (c-name "g_file_output_stream_query_info")
+ (return-type "GFileInfo*")
+ (parameters
+ '("const-char*" "attributes")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method query_info_async
+ (of-object "GFileOutputStream")
+ (c-name "g_file_output_stream_query_info_async")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attributes")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method query_info_finish
+ (of-object "GFileOutputStream")
+ (c-name "g_file_output_stream_query_info_finish")
+ (return-type "GFileInfo*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_etag
+ (of-object "GFileOutputStream")
+ (c-name "g_file_output_stream_get_etag")
+ (return-type "char*")
+)
+
+
+
+;; From gfilterinputstream.h
+
+(define-function g_filter_input_stream_get_type
+ (c-name "g_filter_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-method get_base_stream
+ (of-object "GFilterInputStream")
+ (c-name "g_filter_input_stream_get_base_stream")
+ (return-type "GInputStream*")
+)
+
+(define-method get_close_base_stream
+ (of-object "GFilterInputStream")
+ (c-name "g_filter_input_stream_get_close_base_stream")
+ (return-type "gboolean")
+)
+
+(define-method set_close_base_stream
+ (of-object "GFilterInputStream")
+ (c-name "g_filter_input_stream_set_close_base_stream")
+ (return-type "none")
+ (parameters
+ '("gboolean" "close_base")
+ )
+)
+
+
+
+;; From gfilteroutputstream.h
+
+(define-function g_filter_output_stream_get_type
+ (c-name "g_filter_output_stream_get_type")
+ (return-type "GType")
+)
+
+(define-method get_base_stream
+ (of-object "GFilterOutputStream")
+ (c-name "g_filter_output_stream_get_base_stream")
+ (return-type "GOutputStream*")
+)
+
+(define-method get_close_base_stream
+ (of-object "GFilterOutputStream")
+ (c-name "g_filter_output_stream_get_close_base_stream")
+ (return-type "gboolean")
+)
+
+(define-method set_close_base_stream
+ (of-object "GFilterOutputStream")
+ (c-name "g_filter_output_stream_set_close_base_stream")
+ (return-type "none")
+ (parameters
+ '("gboolean" "close_base")
+ )
+)
+
+
+
+;; From gicon.h
+
+(define-function g_icon_get_type
+ (c-name "g_icon_get_type")
+ (return-type "GType")
+)
+
+(define-function g_icon_hash
+ (c-name "g_icon_hash")
+ (return-type "guint")
+ (parameters
+ '("gconstpointer" "icon")
+ )
+)
+
+(define-method equal
+ (of-object "GIcon")
+ (c-name "g_icon_equal")
+ (return-type "gboolean")
+ (parameters
+ '("GIcon*" "icon2")
+ )
+)
+
+(define-method to_string
+ (of-object "GIcon")
+ (c-name "g_icon_to_string")
+ (return-type "gchar*")
+)
+
+(define-function g_icon_new_for_string
+ (c-name "g_icon_new_for_string")
+ (return-type "GIcon*")
+ (parameters
+ '("const-gchar*" "str")
+ '("GError**" "error")
+ )
+)
+
+
+
+;; From ginetaddress.h
+
+(define-function g_inet_address_get_type
+ (c-name "g_inet_address_get_type")
+ (return-type "GType")
+)
+
+(define-function g_inet_address_new_from_string
+ (c-name "g_inet_address_new_from_string")
+ (return-type "GInetAddress*")
+ (parameters
+ '("const-gchar*" "string")
+ )
+)
+
+(define-function g_inet_address_new_from_bytes
+ (c-name "g_inet_address_new_from_bytes")
+ (return-type "GInetAddress*")
+ (parameters
+ '("const-guint8*" "bytes")
+ '("GSocketFamily" "family")
+ )
+)
+
+(define-function g_inet_address_new_loopback
+ (c-name "g_inet_address_new_loopback")
+ (return-type "GInetAddress*")
+ (parameters
+ '("GSocketFamily" "family")
+ )
+)
+
+(define-function g_inet_address_new_any
+ (c-name "g_inet_address_new_any")
+ (return-type "GInetAddress*")
+ (parameters
+ '("GSocketFamily" "family")
+ )
+)
+
+(define-method equal
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_equal")
+ (return-type "gboolean")
+ (parameters
+ '("GInetAddress*" "other_address")
+ )
+)
+
+(define-method to_string
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_to_string")
+ (return-type "gchar*")
+)
+
+(define-method to_bytes
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_to_bytes")
+ (return-type "const-guint8*")
+)
+
+(define-method get_native_size
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_native_size")
+ (return-type "gsize")
+)
+
+(define-method get_family
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_family")
+ (return-type "GSocketFamily")
+)
+
+(define-method get_is_any
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_any")
+ (return-type "gboolean")
+)
+
+(define-method get_is_loopback
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_loopback")
+ (return-type "gboolean")
+)
+
+(define-method get_is_link_local
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_link_local")
+ (return-type "gboolean")
+)
+
+(define-method get_is_site_local
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_site_local")
+ (return-type "gboolean")
+)
+
+(define-method get_is_multicast
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_multicast")
+ (return-type "gboolean")
+)
+
+(define-method get_is_mc_global
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_mc_global")
+ (return-type "gboolean")
+)
+
+(define-method get_is_mc_link_local
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_mc_link_local")
+ (return-type "gboolean")
+)
+
+(define-method get_is_mc_node_local
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_mc_node_local")
+ (return-type "gboolean")
+)
+
+(define-method get_is_mc_org_local
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_mc_org_local")
+ (return-type "gboolean")
+)
+
+(define-method get_is_mc_site_local
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_mc_site_local")
+ (return-type "gboolean")
+)
+
+
+
+;; From ginetsocketaddress.h
+
+(define-function g_inet_socket_address_get_type
+ (c-name "g_inet_socket_address_get_type")
+ (return-type "GType")
+)
+
+(define-function g_inet_socket_address_new
+ (c-name "g_inet_socket_address_new")
+ (is-constructor-of "GInetSocketAddress")
+ (return-type "GSocketAddress*")
+ (parameters
+ '("GInetAddress*" "address")
+ '("guint16" "port")
+ )
+)
+
+(define-method get_address
+ (of-object "GInetSocketAddress")
+ (c-name "g_inet_socket_address_get_address")
+ (return-type "GInetAddress*")
+)
+
+(define-method get_port
+ (of-object "GInetSocketAddress")
+ (c-name "g_inet_socket_address_get_port")
+ (return-type "guint16")
+)
+
+
+
+;; From ginitable.h
+
+(define-function g_initable_get_type
+ (c-name "g_initable_get_type")
+ (return-type "GType")
+)
+
+(define-method init
+ (of-object "GInitable")
+ (c-name "g_initable_init")
+ (return-type "gboolean")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-function g_initable_new
+ (c-name "g_initable_new")
+ (return-type "gpointer")
+ (parameters
+ '("GType" "object_type")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ '("const-gchar*" "first_property_name")
+ )
+ (varargs #t)
+)
+
+(define-function g_initable_newv
+ (c-name "g_initable_newv")
+ (return-type "gpointer")
+ (parameters
+ '("GType" "object_type")
+ '("guint" "n_parameters")
+ '("GParameter*" "parameters")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-function g_initable_new_valist
+ (c-name "g_initable_new_valist")
+ (return-type "GObject*")
+ (parameters
+ '("GType" "object_type")
+ '("const-gchar*" "first_property_name")
+ '("va_list" "var_args")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+
+
+;; From ginputstream.h
+
+(define-function g_input_stream_get_type
+ (c-name "g_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-method read
+ (of-object "GInputStream")
+ (c-name "g_input_stream_read")
+ (return-type "gssize")
+ (parameters
+ '("void*" "buffer")
+ '("gsize" "count")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method read_all
+ (of-object "GInputStream")
+ (c-name "g_input_stream_read_all")
+ (return-type "gboolean")
+ (parameters
+ '("void*" "buffer")
+ '("gsize" "count")
+ '("gsize*" "bytes_read")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method skip
+ (of-object "GInputStream")
+ (c-name "g_input_stream_skip")
+ (return-type "gssize")
+ (parameters
+ '("gsize" "count")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method close
+ (of-object "GInputStream")
+ (c-name "g_input_stream_close")
+ (return-type "gboolean")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method read_async
+ (of-object "GInputStream")
+ (c-name "g_input_stream_read_async")
+ (return-type "none")
+ (parameters
+ '("void*" "buffer")
+ '("gsize" "count")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method read_finish
+ (of-object "GInputStream")
+ (c-name "g_input_stream_read_finish")
+ (return-type "gssize")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method skip_async
+ (of-object "GInputStream")
+ (c-name "g_input_stream_skip_async")
+ (return-type "none")
+ (parameters
+ '("gsize" "count")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method skip_finish
+ (of-object "GInputStream")
+ (c-name "g_input_stream_skip_finish")
+ (return-type "gssize")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method close_async
+ (of-object "GInputStream")
+ (c-name "g_input_stream_close_async")
+ (return-type "none")
+ (parameters
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method close_finish
+ (of-object "GInputStream")
+ (c-name "g_input_stream_close_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method is_closed
+ (of-object "GInputStream")
+ (c-name "g_input_stream_is_closed")
+ (return-type "gboolean")
+)
+
+(define-method has_pending
+ (of-object "GInputStream")
+ (c-name "g_input_stream_has_pending")
+ (return-type "gboolean")
+)
+
+(define-method set_pending
+ (of-object "GInputStream")
+ (c-name "g_input_stream_set_pending")
+ (return-type "gboolean")
+ (parameters
+ '("GError**" "error")
+ )
+)
+
+(define-method clear_pending
+ (of-object "GInputStream")
+ (c-name "g_input_stream_clear_pending")
+ (return-type "none")
+)
+
+
+
+;; From gioenums.h
+
+
+
+;; From gioenumtypes.h
+
+(define-function g_app_info_create_flags_get_type
+ (c-name "g_app_info_create_flags_get_type")
+ (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")
+)
+
+(define-function g_data_stream_newline_type_get_type
+ (c-name "g_data_stream_newline_type_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_attribute_type_get_type
+ (c-name "g_file_attribute_type_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_attribute_info_flags_get_type
+ (c-name "g_file_attribute_info_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_attribute_status_get_type
+ (c-name "g_file_attribute_status_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_query_info_flags_get_type
+ (c-name "g_file_query_info_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_create_flags_get_type
+ (c-name "g_file_create_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_mount_mount_flags_get_type
+ (c-name "g_mount_mount_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_mount_unmount_flags_get_type
+ (c-name "g_mount_unmount_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_drive_start_flags_get_type
+ (c-name "g_drive_start_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_drive_start_stop_type_get_type
+ (c-name "g_drive_start_stop_type_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_copy_flags_get_type
+ (c-name "g_file_copy_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_monitor_flags_get_type
+ (c-name "g_file_monitor_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_type_get_type
+ (c-name "g_file_type_get_type")
+ (return-type "GType")
+)
+
+(define-function g_filesystem_preview_type_get_type
+ (c-name "g_filesystem_preview_type_get_type")
+ (return-type "GType")
+)
+
+(define-function g_file_monitor_event_get_type
+ (c-name "g_file_monitor_event_get_type")
+ (return-type "GType")
+)
+
+(define-function g_io_error_enum_get_type
+ (c-name "g_io_error_enum_get_type")
+ (return-type "GType")
+)
+
+(define-function g_ask_password_flags_get_type
+ (c-name "g_ask_password_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_password_save_get_type
+ (c-name "g_password_save_get_type")
+ (return-type "GType")
+)
+
+(define-function g_mount_operation_result_get_type
+ (c-name "g_mount_operation_result_get_type")
+ (return-type "GType")
+)
+
+(define-function g_output_stream_splice_flags_get_type
+ (c-name "g_output_stream_splice_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_io_stream_splice_flags_get_type
+ (c-name "g_io_stream_splice_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_emblem_origin_get_type
+ (c-name "g_emblem_origin_get_type")
+ (return-type "GType")
+)
+
+(define-function g_resolver_error_get_type
+ (c-name "g_resolver_error_get_type")
+ (return-type "GType")
+)
+
+(define-function g_socket_family_get_type
+ (c-name "g_socket_family_get_type")
+ (return-type "GType")
+)
+
+(define-function g_socket_type_get_type
+ (c-name "g_socket_type_get_type")
+ (return-type "GType")
+)
+
+(define-function g_socket_msg_flags_get_type
+ (c-name "g_socket_msg_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_socket_protocol_get_type
+ (c-name "g_socket_protocol_get_type")
+ (return-type "GType")
+)
+
+(define-function g_zlib_compressor_format_get_type
+ (c-name "g_zlib_compressor_format_get_type")
+ (return-type "GType")
+)
+
+(define-function g_unix_socket_address_type_get_type
+ (c-name "g_unix_socket_address_type_get_type")
+ (return-type "GType")
+)
+
+(define-function g_bus_type_get_type
+ (c-name "g_bus_type_get_type")
+ (return-type "GType")
+)
+
+(define-function g_bus_name_owner_flags_get_type
+ (c-name "g_bus_name_owner_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_bus_name_watcher_flags_get_type
+ (c-name "g_bus_name_watcher_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_dbus_proxy_flags_get_type
+ (c-name "g_dbus_proxy_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_dbus_error_get_type
+ (c-name "g_dbus_error_get_type")
+ (return-type "GType")
+)
+
+(define-function g_dbus_connection_flags_get_type
+ (c-name "g_dbus_connection_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_dbus_capability_flags_get_type
+ (c-name "g_dbus_capability_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function g_dbus_call_flags_get_type
+ (c-name "g_dbus_call_flags_get_type")
+ (return-type "GType")
)
-(define-method set_attribute_object
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_object")
- (return-type "none")
- (parameters
- '("const-char*" "attribute")
- '("GObject*" "attr_value")
- )
+(define-function g_dbus_message_type_get_type
+ (c-name "g_dbus_message_type_get_type")
+ (return-type "GType")
)
-(define-method set_attribute_stringv
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_stringv")
- (return-type "none")
- (parameters
- '("const-char*" "attribute")
- '("char**" "attr_value")
- )
+(define-function g_dbus_message_flags_get_type
+ (c-name "g_dbus_message_flags_get_type")
+ (return-type "GType")
)
-(define-method clear_status
- (of-object "GFileInfo")
- (c-name "g_file_info_clear_status")
- (return-type "none")
+(define-function g_dbus_message_header_field_get_type
+ (c-name "g_dbus_message_header_field_get_type")
+ (return-type "GType")
)
-(define-method get_file_type
- (of-object "GFileInfo")
- (c-name "g_file_info_get_file_type")
- (return-type "GFileType")
+(define-function g_dbus_property_info_flags_get_type
+ (c-name "g_dbus_property_info_flags_get_type")
+ (return-type "GType")
)
-(define-method get_is_hidden
- (of-object "GFileInfo")
- (c-name "g_file_info_get_is_hidden")
- (return-type "gboolean")
+(define-function g_dbus_subtree_flags_get_type
+ (c-name "g_dbus_subtree_flags_get_type")
+ (return-type "GType")
)
-(define-method get_is_backup
- (of-object "GFileInfo")
- (c-name "g_file_info_get_is_backup")
- (return-type "gboolean")
+(define-function g_dbus_server_flags_get_type
+ (c-name "g_dbus_server_flags_get_type")
+ (return-type "GType")
)
-(define-method get_is_symlink
- (of-object "GFileInfo")
- (c-name "g_file_info_get_is_symlink")
- (return-type "gboolean")
+(define-function g_dbus_signal_flags_get_type
+ (c-name "g_dbus_signal_flags_get_type")
+ (return-type "GType")
)
-(define-method get_name
- (of-object "GFileInfo")
- (c-name "g_file_info_get_name")
- (return-type "const-char*")
+(define-function g_dbus_send_message_flags_get_type
+ (c-name "g_dbus_send_message_flags_get_type")
+ (return-type "GType")
)
-(define-method get_display_name
- (of-object "GFileInfo")
- (c-name "g_file_info_get_display_name")
- (return-type "const-char*")
+(define-function g_credentials_type_get_type
+ (c-name "g_credentials_type_get_type")
+ (return-type "GType")
)
-(define-method get_edit_name
- (of-object "GFileInfo")
- (c-name "g_file_info_get_edit_name")
- (return-type "const-char*")
+(define-function g_dbus_message_byte_order_get_type
+ (c-name "g_dbus_message_byte_order_get_type")
+ (return-type "GType")
)
-(define-method get_icon
- (of-object "GFileInfo")
- (c-name "g_file_info_get_icon")
- (return-type "GIcon*")
+(define-function g_application_flags_get_type
+ (c-name "g_application_flags_get_type")
+ (return-type "GType")
)
-(define-method get_content_type
- (of-object "GFileInfo")
- (c-name "g_file_info_get_content_type")
- (return-type "const-char*")
+(define-function g_tls_error_get_type
+ (c-name "g_tls_error_get_type")
+ (return-type "GType")
)
-(define-method get_size
- (of-object "GFileInfo")
- (c-name "g_file_info_get_size")
- (return-type "goffset")
+(define-function g_tls_certificate_flags_get_type
+ (c-name "g_tls_certificate_flags_get_type")
+ (return-type "GType")
)
-(define-method get_modification_time
- (of-object "GFileInfo")
- (c-name "g_file_info_get_modification_time")
- (return-type "none")
- (parameters
- '("GTimeVal*" "result")
- )
+(define-function g_tls_authentication_mode_get_type
+ (c-name "g_tls_authentication_mode_get_type")
+ (return-type "GType")
)
-(define-method get_symlink_target
- (of-object "GFileInfo")
- (c-name "g_file_info_get_symlink_target")
- (return-type "const-char*")
+(define-function g_tls_rehandshake_mode_get_type
+ (c-name "g_tls_rehandshake_mode_get_type")
+ (return-type "GType")
)
-(define-method get_etag
- (of-object "GFileInfo")
- (c-name "g_file_info_get_etag")
- (return-type "const-char*")
+(define-function g_dbus_interface_skeleton_flags_get_type
+ (c-name "g_dbus_interface_skeleton_flags_get_type")
+ (return-type "GType")
)
-(define-method get_sort_order
- (of-object "GFileInfo")
- (c-name "g_file_info_get_sort_order")
- (return-type "gint32")
+(define-function g_dbus_object_manager_client_flags_get_type
+ (c-name "g_dbus_object_manager_client_flags_get_type")
+ (return-type "GType")
)
-(define-method set_attribute_mask
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_mask")
- (return-type "none")
- (parameters
- '("GFileAttributeMatcher*" "mask")
- )
+(define-function g_settings_bind_flags_get_type
+ (c-name "g_settings_bind_flags_get_type")
+ (return-type "GType")
)
-(define-method unset_attribute_mask
- (of-object "GFileInfo")
- (c-name "g_file_info_unset_attribute_mask")
- (return-type "none")
+
+
+;; From gioerror.h
+
+(define-function g_io_error_quark
+ (c-name "g_io_error_quark")
+ (return-type "GQuark")
)
-(define-method set_file_type
- (of-object "GFileInfo")
- (c-name "g_file_info_set_file_type")
- (return-type "none")
+(define-function g_io_error_from_errno
+ (c-name "g_io_error_from_errno")
+ (return-type "GIOErrorEnum")
(parameters
- '("GFileType" "type")
+ '("gint" "err_no")
)
)
-(define-method set_is_hidden
- (of-object "GFileInfo")
- (c-name "g_file_info_set_is_hidden")
- (return-type "none")
+(define-function g_io_error_from_win32_error
+ (c-name "g_io_error_from_win32_error")
+ (return-type "GIOErrorEnum")
(parameters
- '("gboolean" "is_hidden")
+ '("gint" "error_code")
)
)
-(define-method set_is_symlink
- (of-object "GFileInfo")
- (c-name "g_file_info_set_is_symlink")
- (return-type "none")
- (parameters
- '("gboolean" "is_symlink")
- )
+
+
+;; From gio.h
+
+
+
+;; From gio-marshal.h
+
+
+
+;; From giomodule.h
+
+(define-function g_io_module_get_type
+ (c-name "g_io_module_get_type")
+ (return-type "GType")
)
-(define-method set_name
- (of-object "GFileInfo")
- (c-name "g_file_info_set_name")
- (return-type "none")
+(define-function g_io_module_new
+ (c-name "g_io_module_new")
+ (is-constructor-of "GIoModule")
+ (return-type "GIOModule*")
(parameters
- '("const-char*" "name")
+ '("const-gchar*" "filename")
)
)
-(define-method set_display_name
- (of-object "GFileInfo")
- (c-name "g_file_info_set_display_name")
+(define-function g_io_modules_scan_all_in_directory
+ (c-name "g_io_modules_scan_all_in_directory")
(return-type "none")
(parameters
- '("const-char*" "display_name")
+ '("const-char*" "dirname")
)
)
-(define-method set_edit_name
- (of-object "GFileInfo")
- (c-name "g_file_info_set_edit_name")
- (return-type "none")
+(define-function g_io_modules_load_all_in_directory
+ (c-name "g_io_modules_load_all_in_directory")
+ (return-type "GList*")
(parameters
- '("const-char*" "edit_name")
+ '("const-gchar*" "dirname")
)
)
-(define-method set_icon
- (of-object "GFileInfo")
- (c-name "g_file_info_set_icon")
- (return-type "none")
+(define-function g_io_extension_point_register
+ (c-name "g_io_extension_point_register")
+ (return-type "GIOExtensionPoint*")
(parameters
- '("GIcon*" "icon")
+ '("const-char*" "name")
)
)
-(define-method set_content_type
- (of-object "GFileInfo")
- (c-name "g_file_info_set_content_type")
- (return-type "none")
+(define-function g_io_extension_point_lookup
+ (c-name "g_io_extension_point_lookup")
+ (return-type "GIOExtensionPoint*")
(parameters
- '("const-char*" "content_type")
+ '("const-char*" "name")
)
)
-(define-method set_size
- (of-object "GFileInfo")
- (c-name "g_file_info_set_size")
+(define-method set_required_type
+ (of-object "GIOExtensionPoint")
+ (c-name "g_io_extension_point_set_required_type")
(return-type "none")
(parameters
- '("goffset" "size")
+ '("GType" "type")
)
)
-(define-method set_modification_time
- (of-object "GFileInfo")
- (c-name "g_file_info_set_modification_time")
- (return-type "none")
+(define-method get_required_type
+ (of-object "GIOExtensionPoint")
+ (c-name "g_io_extension_point_get_required_type")
+ (return-type "GType")
+)
+
+(define-method get_extensions
+ (of-object "GIOExtensionPoint")
+ (c-name "g_io_extension_point_get_extensions")
+ (return-type "GList*")
+)
+
+(define-method get_extension_by_name
+ (of-object "GIOExtensionPoint")
+ (c-name "g_io_extension_point_get_extension_by_name")
+ (return-type "GIOExtension*")
(parameters
- '("GTimeVal*" "mtime")
+ '("const-char*" "name")
)
)
-(define-method set_symlink_target
- (of-object "GFileInfo")
- (c-name "g_file_info_set_symlink_target")
- (return-type "none")
+(define-function g_io_extension_point_implement
+ (c-name "g_io_extension_point_implement")
+ (return-type "GIOExtension*")
(parameters
- '("const-char*" "symlink_target")
+ '("const-char*" "extension_point_name")
+ '("GType" "type")
+ '("const-char*" "extension_name")
+ '("gint" "priority")
)
)
-(define-method set_sort_order
- (of-object "GFileInfo")
- (c-name "g_file_info_set_sort_order")
- (return-type "none")
- (parameters
- '("gint32" "sort_order")
- )
+(define-method get_type
+ (of-object "GIOExtension")
+ (c-name "g_io_extension_get_type")
+ (return-type "GType")
)
-(define-function g_file_attribute_matcher_get_type
- (c-name "g_file_attribute_matcher_get_type")
- (return-type "GType")
+(define-method get_name
+ (of-object "GIOExtension")
+ (c-name "g_io_extension_get_name")
+ (return-type "const-char*")
)
-(define-function g_file_attribute_matcher_new
- (c-name "g_file_attribute_matcher_new")
- (is-constructor-of "GFileAttributeMatcher")
- (return-type "GFileAttributeMatcher*")
- (parameters
- '("const-char*" "attributes")
- )
+(define-method get_priority
+ (of-object "GIOExtension")
+ (c-name "g_io_extension_get_priority")
+ (return-type "gint")
)
-(define-method ref
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_ref")
- (return-type "GFileAttributeMatcher*")
+(define-method ref_class
+ (of-object "GIOExtension")
+ (c-name "g_io_extension_ref_class")
+ (return-type "GTypeClass*")
)
-(define-method unref
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_unref")
+(define-method load
+ (of-object "GIOModule")
+ (c-name "g_io_module_load")
(return-type "none")
)
-(define-method matches
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_matches")
- (return-type "gboolean")
- (parameters
- '("const-char*" "attribute")
- )
+(define-method unload
+ (of-object "GIOModule")
+ (c-name "g_io_module_unload")
+ (return-type "none")
)
-(define-method matches_only
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_matches_only")
- (return-type "gboolean")
- (parameters
- '("const-char*" "attribute")
- )
+(define-function g_io_module_query
+ (c-name "g_io_module_query")
+ (return-type "char**")
)
-(define-method enumerate_namespace
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_enumerate_namespace")
- (return-type "gboolean")
- (parameters
- '("const-char*" "ns")
- )
-)
-(define-method enumerate_next
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_enumerate_next")
- (return-type "const-char*")
-)
+;; From giomodule-priv.h
-;; From gfileinputstream.h
-(define-function g_file_input_stream_get_type
- (c-name "g_file_input_stream_get_type")
- (return-type "GType")
-)
+;; From gioscheduler.h
-(define-method query_info
- (of-object "GFileInputStream")
- (c-name "g_file_input_stream_query_info")
- (return-type "GFileInfo*")
+(define-function g_io_scheduler_push_job
+ (c-name "g_io_scheduler_push_job")
+ (return-type "none")
(parameters
- '("const-char*" "attributes")
+ '("GIOSchedulerJobFunc" "job_func")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "notify")
+ '("gint" "io_priority")
'("GCancellable*" "cancellable")
- '("GError**" "error")
)
)
-(define-method query_info_async
- (of-object "GFileInputStream")
- (c-name "g_file_input_stream_query_info_async")
+(define-function g_io_scheduler_cancel_all_jobs
+ (c-name "g_io_scheduler_cancel_all_jobs")
(return-type "none")
+)
+
+(define-method send_to_mainloop
+ (of-object "GIOSchedulerJob")
+ (c-name "g_io_scheduler_job_send_to_mainloop")
+ (return-type "gboolean")
(parameters
- '("const-char*" "attributes")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
+ '("GSourceFunc" "func")
'("gpointer" "user_data")
+ '("GDestroyNotify" "notify")
)
)
-(define-method query_info_finish
- (of-object "GFileInputStream")
- (c-name "g_file_input_stream_query_info_finish")
- (return-type "GFileInfo*")
+(define-method send_to_mainloop_async
+ (of-object "GIOSchedulerJob")
+ (c-name "g_io_scheduler_job_send_to_mainloop_async")
+ (return-type "none")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("GSourceFunc" "func")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "notify")
)
)
-;; From gfileiostream.h
+;; From giostream.h
-(define-function g_file_io_stream_get_type
- (c-name "g_file_io_stream_get_type")
+(define-function g_io_stream_get_type
+ (c-name "g_io_stream_get_type")
(return-type "GType")
)
-(define-method query_info
- (of-object "GFileIOStream")
- (c-name "g_file_io_stream_query_info")
- (return-type "GFileInfo*")
- (parameters
- '("const-char*" "attributes")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_input_stream
+ (of-object "GIOStream")
+ (c-name "g_io_stream_get_input_stream")
+ (return-type "GInputStream*")
)
-(define-method query_info_async
- (of-object "GFileIOStream")
- (c-name "g_file_io_stream_query_info_async")
+(define-method get_output_stream
+ (of-object "GIOStream")
+ (c-name "g_io_stream_get_output_stream")
+ (return-type "GOutputStream*")
+)
+
+(define-method splice_async
+ (of-object "GIOStream")
+ (c-name "g_io_stream_splice_async")
(return-type "none")
(parameters
- '("const-char*" "attributes")
+ '("GIOStream*" "stream2")
+ '("GIOStreamSpliceFlags" "flags")
'("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
@@ -6948,584 +9674,469 @@
)
)
-(define-method query_info_finish
- (of-object "GFileIOStream")
- (c-name "g_file_io_stream_query_info_finish")
- (return-type "GFileInfo*")
+(define-function g_io_stream_splice_finish
+ (c-name "g_io_stream_splice_finish")
+ (return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method get_etag
- (of-object "GFileIOStream")
- (c-name "g_file_io_stream_get_etag")
- (return-type "char*")
-)
-
-
-
-;; From gfilemonitor.h
-
-(define-function g_file_monitor_get_type
- (c-name "g_file_monitor_get_type")
- (return-type "GType")
-)
-
-(define-method cancel
- (of-object "GFileMonitor")
- (c-name "g_file_monitor_cancel")
- (return-type "gboolean")
-)
-
-(define-method is_cancelled
- (of-object "GFileMonitor")
- (c-name "g_file_monitor_is_cancelled")
+(define-method close
+ (of-object "GIOStream")
+ (c-name "g_io_stream_close")
(return-type "gboolean")
-)
-
-(define-method set_rate_limit
- (of-object "GFileMonitor")
- (c-name "g_file_monitor_set_rate_limit")
- (return-type "none")
(parameters
- '("int" "limit_msecs")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method emit_event
- (of-object "GFileMonitor")
- (c-name "g_file_monitor_emit_event")
+(define-method close_async
+ (of-object "GIOStream")
+ (c-name "g_io_stream_close_async")
(return-type "none")
(parameters
- '("GFile*" "child")
- '("GFile*" "other_file")
- '("GFileMonitorEvent" "event_type")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-
-
-;; From gfilenamecompleter.h
-
-(define-function g_filename_completer_get_type
- (c-name "g_filename_completer_get_type")
- (return-type "GType")
+(define-method close_finish
+ (of-object "GIOStream")
+ (c-name "g_io_stream_close_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-function g_filename_completer_new
- (c-name "g_filename_completer_new")
- (is-constructor-of "GFilenameCompleter")
- (return-type "GFilenameCompleter*")
+(define-method is_closed
+ (of-object "GIOStream")
+ (c-name "g_io_stream_is_closed")
+ (return-type "gboolean")
)
-(define-method get_completion_suffix
- (of-object "GFilenameCompleter")
- (c-name "g_filename_completer_get_completion_suffix")
- (return-type "char*")
- (parameters
- '("const-char*" "initial_text")
- )
+(define-method has_pending
+ (of-object "GIOStream")
+ (c-name "g_io_stream_has_pending")
+ (return-type "gboolean")
)
-(define-method get_completions
- (of-object "GFilenameCompleter")
- (c-name "g_filename_completer_get_completions")
- (return-type "char**")
+(define-method set_pending
+ (of-object "GIOStream")
+ (c-name "g_io_stream_set_pending")
+ (return-type "gboolean")
(parameters
- '("const-char*" "initial_text")
+ '("GError**" "error")
)
)
-(define-method set_dirs_only
- (of-object "GFilenameCompleter")
- (c-name "g_filename_completer_set_dirs_only")
+(define-method clear_pending
+ (of-object "GIOStream")
+ (c-name "g_io_stream_clear_pending")
(return-type "none")
- (parameters
- '("gboolean" "dirs_only")
- )
)
-;; From gfileoutputstream.h
+;; From giotypes.h
-(define-function g_file_output_stream_get_type
- (c-name "g_file_output_stream_get_type")
+
+
+;; From gloadableicon.h
+
+(define-function g_loadable_icon_get_type
+ (c-name "g_loadable_icon_get_type")
(return-type "GType")
)
-(define-method query_info
- (of-object "GFileOutputStream")
- (c-name "g_file_output_stream_query_info")
- (return-type "GFileInfo*")
+(define-method load
+ (of-object "GLoadableIcon")
+ (c-name "g_loadable_icon_load")
+ (return-type "GInputStream*")
(parameters
- '("const-char*" "attributes")
+ '("int" "size")
+ '("char**" "type")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method query_info_async
- (of-object "GFileOutputStream")
- (c-name "g_file_output_stream_query_info_async")
+(define-method load_async
+ (of-object "GLoadableIcon")
+ (c-name "g_loadable_icon_load_async")
(return-type "none")
(parameters
- '("const-char*" "attributes")
- '("int" "io_priority")
+ '("int" "size")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method query_info_finish
- (of-object "GFileOutputStream")
- (c-name "g_file_output_stream_query_info_finish")
- (return-type "GFileInfo*")
+(define-method load_finish
+ (of-object "GLoadableIcon")
+ (c-name "g_loadable_icon_load_finish")
+ (return-type "GInputStream*")
(parameters
- '("GAsyncResult*" "result")
+ '("GAsyncResult*" "res")
+ '("char**" "type")
'("GError**" "error")
)
)
-(define-method get_etag
- (of-object "GFileOutputStream")
- (c-name "g_file_output_stream_get_etag")
- (return-type "char*")
-)
-
-;; From gfilterinputstream.h
+;; From glocaldirectorymonitor.h
-(define-function g_filter_input_stream_get_type
- (c-name "g_filter_input_stream_get_type")
+(define-function g_local_directory_monitor_get_type
+ (c-name "g_local_directory_monitor_get_type")
(return-type "GType")
)
-(define-method get_base_stream
- (of-object "GFilterInputStream")
- (c-name "g_filter_input_stream_get_base_stream")
- (return-type "GInputStream*")
-)
-(define-method get_close_base_stream
- (of-object "GFilterInputStream")
- (c-name "g_filter_input_stream_get_close_base_stream")
- (return-type "gboolean")
-)
-(define-method set_close_base_stream
- (of-object "GFilterInputStream")
- (c-name "g_filter_input_stream_set_close_base_stream")
- (return-type "none")
- (parameters
- '("gboolean" "close_base")
- )
-)
+;; From glocalfileenumerator.h
-;; From gfilteroutputstream.h
+;; From glocalfile.h
-(define-function g_filter_output_stream_get_type
- (c-name "g_filter_output_stream_get_type")
- (return-type "GType")
-)
-(define-method get_base_stream
- (of-object "GFilterOutputStream")
- (c-name "g_filter_output_stream_get_base_stream")
- (return-type "GOutputStream*")
-)
-(define-method get_close_base_stream
- (of-object "GFilterOutputStream")
- (c-name "g_filter_output_stream_get_close_base_stream")
- (return-type "gboolean")
-)
+;; From glocalfileinfo.h
-(define-method set_close_base_stream
- (of-object "GFilterOutputStream")
- (c-name "g_filter_output_stream_set_close_base_stream")
- (return-type "none")
- (parameters
- '("gboolean" "close_base")
- )
-)
+;; From glocalfileinputstream.h
-;; From gicon.h
-(define-function g_icon_get_type
- (c-name "g_icon_get_type")
- (return-type "GType")
-)
-(define-function g_icon_hash
- (c-name "g_icon_hash")
- (return-type "guint")
- (parameters
- '("gconstpointer" "icon")
- )
-)
+;; From glocalfileiostream.h
-(define-method equal
- (of-object "GIcon")
- (c-name "g_icon_equal")
- (return-type "gboolean")
- (parameters
- '("GIcon*" "icon2")
- )
-)
-(define-method to_string
- (of-object "GIcon")
- (c-name "g_icon_to_string")
- (return-type "gchar*")
-)
-(define-function g_icon_new_for_string
- (c-name "g_icon_new_for_string")
- (return-type "GIcon*")
- (parameters
- '("const-gchar*" "str")
- '("GError**" "error")
- )
+;; From glocalfilemonitor.h
+
+(define-function g_local_file_monitor_get_type
+ (c-name "g_local_file_monitor_get_type")
+ (return-type "GType")
)
-;; From ginetaddress.h
+;; From glocalfileoutputstream.h
-(define-function g_inet_address_get_type
- (c-name "g_inet_address_get_type")
- (return-type "GType")
-)
-(define-function g_inet_address_new_from_string
- (c-name "g_inet_address_new_from_string")
- (return-type "GInetAddress*")
- (parameters
- '("const-gchar*" "string")
- )
-)
-(define-function g_inet_address_new_from_bytes
- (c-name "g_inet_address_new_from_bytes")
- (return-type "GInetAddress*")
- (parameters
- '("const-guint8*" "bytes")
- '("GSocketFamily" "family")
- )
-)
+;; From glocalvfs.h
-(define-function g_inet_address_new_loopback
- (c-name "g_inet_address_new_loopback")
- (return-type "GInetAddress*")
- (parameters
- '("GSocketFamily" "family")
- )
-)
-(define-function g_inet_address_new_any
- (c-name "g_inet_address_new_any")
- (return-type "GInetAddress*")
- (parameters
- '("GSocketFamily" "family")
- )
-)
-(define-method to_string
- (of-object "GInetAddress")
- (c-name "g_inet_address_to_string")
- (return-type "gchar*")
-)
+;; From gmemoryinputstream.h
-(define-method to_bytes
- (of-object "GInetAddress")
- (c-name "g_inet_address_to_bytes")
- (return-type "const-guint8*")
+(define-function g_memory_input_stream_get_type
+ (c-name "g_memory_input_stream_get_type")
+ (return-type "GType")
)
-(define-method get_native_size
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_native_size")
- (return-type "gsize")
+(define-function g_memory_input_stream_new
+ (c-name "g_memory_input_stream_new")
+ (is-constructor-of "GMemoryInputStream")
+ (return-type "GInputStream*")
)
-(define-method get_family
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_family")
- (return-type "GSocketFamily")
+(define-function g_memory_input_stream_new_from_data
+ (c-name "g_memory_input_stream_new_from_data")
+ (return-type "GInputStream*")
+ (parameters
+ '("const-void*" "data")
+ '("gssize" "len")
+ '("GDestroyNotify" "destroy")
+ )
)
-(define-method get_is_any
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_any")
- (return-type "gboolean")
+(define-method add_data
+ (of-object "GMemoryInputStream")
+ (c-name "g_memory_input_stream_add_data")
+ (return-type "none")
+ (parameters
+ '("const-void*" "data")
+ '("gssize" "len")
+ '("GDestroyNotify" "destroy")
+ )
)
-(define-method get_is_loopback
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_loopback")
- (return-type "gboolean")
-)
-(define-method get_is_link_local
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_link_local")
- (return-type "gboolean")
-)
-(define-method get_is_site_local
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_site_local")
- (return-type "gboolean")
-)
+;; From gmemoryoutputstream.h
-(define-method get_is_multicast
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_multicast")
- (return-type "gboolean")
+(define-function g_memory_output_stream_get_type
+ (c-name "g_memory_output_stream_get_type")
+ (return-type "GType")
)
-(define-method get_is_mc_global
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_mc_global")
- (return-type "gboolean")
+(define-function g_memory_output_stream_new
+ (c-name "g_memory_output_stream_new")
+ (is-constructor-of "GMemoryOutputStream")
+ (return-type "GOutputStream*")
+ (parameters
+ '("gpointer" "data")
+ '("gsize" "size")
+ '("GReallocFunc" "realloc_function")
+ '("GDestroyNotify" "destroy_function")
+ )
)
-(define-method get_is_mc_link_local
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_mc_link_local")
- (return-type "gboolean")
+(define-method get_data
+ (of-object "GMemoryOutputStream")
+ (c-name "g_memory_output_stream_get_data")
+ (return-type "gpointer")
)
-(define-method get_is_mc_node_local
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_mc_node_local")
- (return-type "gboolean")
+(define-method get_size
+ (of-object "GMemoryOutputStream")
+ (c-name "g_memory_output_stream_get_size")
+ (return-type "gsize")
)
-(define-method get_is_mc_org_local
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_mc_org_local")
- (return-type "gboolean")
+(define-method get_data_size
+ (of-object "GMemoryOutputStream")
+ (c-name "g_memory_output_stream_get_data_size")
+ (return-type "gsize")
)
-(define-method get_is_mc_site_local
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_mc_site_local")
- (return-type "gboolean")
+(define-method steal_data
+ (of-object "GMemoryOutputStream")
+ (c-name "g_memory_output_stream_steal_data")
+ (return-type "gpointer")
)
-;; From ginetsocketaddress.h
+;; From gmount.h
-(define-function g_inet_socket_address_get_type
- (c-name "g_inet_socket_address_get_type")
+(define-function g_mount_get_type
+ (c-name "g_mount_get_type")
(return-type "GType")
)
-(define-function g_inet_socket_address_new
- (c-name "g_inet_socket_address_new")
- (is-constructor-of "GInetSocketAddress")
- (return-type "GSocketAddress*")
- (parameters
- '("GInetAddress*" "address")
- '("guint16" "port")
- )
+(define-method get_root
+ (of-object "GMount")
+ (c-name "g_mount_get_root")
+ (return-type "GFile*")
)
-(define-method get_address
- (of-object "GInetSocketAddress")
- (c-name "g_inet_socket_address_get_address")
- (return-type "GInetAddress*")
+(define-method get_default_location
+ (of-object "GMount")
+ (c-name "g_mount_get_default_location")
+ (return-type "GFile*")
)
-(define-method get_port
- (of-object "GInetSocketAddress")
- (c-name "g_inet_socket_address_get_port")
- (return-type "guint16")
+(define-method get_name
+ (of-object "GMount")
+ (c-name "g_mount_get_name")
+ (return-type "char*")
)
+(define-method get_icon
+ (of-object "GMount")
+ (c-name "g_mount_get_icon")
+ (return-type "GIcon*")
+)
+(define-method get_uuid
+ (of-object "GMount")
+ (c-name "g_mount_get_uuid")
+ (return-type "char*")
+)
-;; From ginitable.h
+(define-method get_volume
+ (of-object "GMount")
+ (c-name "g_mount_get_volume")
+ (return-type "GVolume*")
+)
-(define-function g_initable_get_type
- (c-name "g_initable_get_type")
- (return-type "GType")
+(define-method get_drive
+ (of-object "GMount")
+ (c-name "g_mount_get_drive")
+ (return-type "GDrive*")
)
-(define-method init
- (of-object "GInitable")
- (c-name "g_initable_init")
+(define-method can_unmount
+ (of-object "GMount")
+ (c-name "g_mount_can_unmount")
(return-type "gboolean")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
)
-(define-function g_initable_new
- (c-name "g_initable_new")
- (return-type "gpointer")
- (parameters
- '("GType" "object_type")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- '("const-gchar*" "first_property_name")
- )
- (varargs #t)
+(define-method can_eject
+ (of-object "GMount")
+ (c-name "g_mount_can_eject")
+ (return-type "gboolean")
)
-(define-function g_initable_newv
- (c-name "g_initable_newv")
- (return-type "gpointer")
+(define-method unmount
+ (of-object "GMount")
+ (c-name "g_mount_unmount")
+ (return-type "none")
(parameters
- '("GType" "object_type")
- '("guint" "n_parameters")
- '("GParameter*" "parameters")
+ '("GMountUnmountFlags" "flags")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-function g_initable_new_valist
- (c-name "g_initable_new_valist")
- (return-type "GObject*")
+(define-method unmount_finish
+ (of-object "GMount")
+ (c-name "g_mount_unmount_finish")
+ (return-type "gboolean")
(parameters
- '("GType" "object_type")
- '("const-gchar*" "first_property_name")
- '("va_list" "var_args")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-
-
-;; From ginputstream.h
-
-(define-function g_input_stream_get_type
- (c-name "g_input_stream_get_type")
- (return-type "GType")
-)
-
-(define-method read
- (of-object "GInputStream")
- (c-name "g_input_stream_read")
- (return-type "gssize")
+(define-method eject
+ (of-object "GMount")
+ (c-name "g_mount_eject")
+ (return-type "none")
(parameters
- '("void*" "buffer")
- '("gsize" "count")
+ '("GMountUnmountFlags" "flags")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method read_all
- (of-object "GInputStream")
- (c-name "g_input_stream_read_all")
+(define-method eject_finish
+ (of-object "GMount")
+ (c-name "g_mount_eject_finish")
(return-type "gboolean")
(parameters
- '("void*" "buffer")
- '("gsize" "count")
- '("gsize*" "bytes_read")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method skip
- (of-object "GInputStream")
- (c-name "g_input_stream_skip")
- (return-type "gssize")
+(define-method remount
+ (of-object "GMount")
+ (c-name "g_mount_remount")
+ (return-type "none")
(parameters
- '("gsize" "count")
+ '("GMountMountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method close
- (of-object "GInputStream")
- (c-name "g_input_stream_close")
+(define-method remount_finish
+ (of-object "GMount")
+ (c-name "g_mount_remount_finish")
(return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method read_async
- (of-object "GInputStream")
- (c-name "g_input_stream_read_async")
+(define-method guess_content_type
+ (of-object "GMount")
+ (c-name "g_mount_guess_content_type")
(return-type "none")
(parameters
- '("void*" "buffer")
- '("gsize" "count")
- '("int" "io_priority")
+ '("gboolean" "force_rescan")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method read_finish
- (of-object "GInputStream")
- (c-name "g_input_stream_read_finish")
- (return-type "gssize")
+(define-method guess_content_type_finish
+ (of-object "GMount")
+ (c-name "g_mount_guess_content_type_finish")
+ (return-type "gchar**")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method skip_async
- (of-object "GInputStream")
- (c-name "g_input_stream_skip_async")
+(define-method guess_content_type_sync
+ (of-object "GMount")
+ (c-name "g_mount_guess_content_type_sync")
+ (return-type "gchar**")
+ (parameters
+ '("gboolean" "force_rescan")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method is_shadowed
+ (of-object "GMount")
+ (c-name "g_mount_is_shadowed")
+ (return-type "gboolean")
+)
+
+(define-method shadow
+ (of-object "GMount")
+ (c-name "g_mount_shadow")
+ (return-type "none")
+)
+
+(define-method unshadow
+ (of-object "GMount")
+ (c-name "g_mount_unshadow")
+ (return-type "none")
+)
+
+(define-method unmount_with_operation
+ (of-object "GMount")
+ (c-name "g_mount_unmount_with_operation")
(return-type "none")
(parameters
- '("gsize" "count")
- '("int" "io_priority")
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method skip_finish
- (of-object "GInputStream")
- (c-name "g_input_stream_skip_finish")
- (return-type "gssize")
+(define-method unmount_with_operation_finish
+ (of-object "GMount")
+ (c-name "g_mount_unmount_with_operation_finish")
+ (return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method close_async
- (of-object "GInputStream")
- (c-name "g_input_stream_close_async")
+(define-method eject_with_operation
+ (of-object "GMount")
+ (c-name "g_mount_eject_with_operation")
(return-type "none")
(parameters
- '("int" "io_priority")
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method close_finish
- (of-object "GInputStream")
- (c-name "g_input_stream_close_finish")
+(define-method eject_with_operation_finish
+ (of-object "GMount")
+ (c-name "g_mount_eject_with_operation_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
@@ -7533,529 +10144,481 @@
)
)
-(define-method is_closed
- (of-object "GInputStream")
- (c-name "g_input_stream_is_closed")
- (return-type "gboolean")
-)
-
-(define-method has_pending
- (of-object "GInputStream")
- (c-name "g_input_stream_has_pending")
- (return-type "gboolean")
-)
-
-(define-method set_pending
- (of-object "GInputStream")
- (c-name "g_input_stream_set_pending")
- (return-type "gboolean")
- (parameters
- '("GError**" "error")
- )
-)
-
-(define-method clear_pending
- (of-object "GInputStream")
- (c-name "g_input_stream_clear_pending")
- (return-type "none")
-)
-
-
-
-;; From gioenums.h
-
-
-
-;; From gioenumtypes.h
-
-(define-function g_app_info_create_flags_get_type
- (c-name "g_app_info_create_flags_get_type")
- (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")
-)
-
-(define-function g_data_stream_newline_type_get_type
- (c-name "g_data_stream_newline_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_attribute_type_get_type
- (c-name "g_file_attribute_type_get_type")
- (return-type "GType")
-)
-(define-function g_file_attribute_info_flags_get_type
- (c-name "g_file_attribute_info_flags_get_type")
- (return-type "GType")
-)
-(define-function g_file_attribute_status_get_type
- (c-name "g_file_attribute_status_get_type")
- (return-type "GType")
-)
+;; From gmountoperation.h
-(define-function g_file_query_info_flags_get_type
- (c-name "g_file_query_info_flags_get_type")
+(define-function g_mount_operation_get_type
+ (c-name "g_mount_operation_get_type")
(return-type "GType")
)
-(define-function g_file_create_flags_get_type
- (c-name "g_file_create_flags_get_type")
- (return-type "GType")
+(define-function g_mount_operation_new
+ (c-name "g_mount_operation_new")
+ (is-constructor-of "GMountOperation")
+ (return-type "GMountOperation*")
)
-(define-function g_mount_mount_flags_get_type
- (c-name "g_mount_mount_flags_get_type")
- (return-type "GType")
+(define-method get_username
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_get_username")
+ (return-type "const-char*")
)
-(define-function g_mount_unmount_flags_get_type
- (c-name "g_mount_unmount_flags_get_type")
- (return-type "GType")
+(define-method set_username
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_set_username")
+ (return-type "none")
+ (parameters
+ '("const-char*" "username")
+ )
)
-(define-function g_drive_start_flags_get_type
- (c-name "g_drive_start_flags_get_type")
- (return-type "GType")
+(define-method get_password
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_get_password")
+ (return-type "const-char*")
)
-(define-function g_drive_start_stop_type_get_type
- (c-name "g_drive_start_stop_type_get_type")
- (return-type "GType")
+(define-method set_password
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_set_password")
+ (return-type "none")
+ (parameters
+ '("const-char*" "password")
+ )
)
-(define-function g_file_copy_flags_get_type
- (c-name "g_file_copy_flags_get_type")
- (return-type "GType")
+(define-method get_anonymous
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_get_anonymous")
+ (return-type "gboolean")
)
-(define-function g_file_monitor_flags_get_type
- (c-name "g_file_monitor_flags_get_type")
- (return-type "GType")
+(define-method set_anonymous
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_set_anonymous")
+ (return-type "none")
+ (parameters
+ '("gboolean" "anonymous")
+ )
)
-(define-function g_file_type_get_type
- (c-name "g_file_type_get_type")
- (return-type "GType")
+(define-method get_domain
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_get_domain")
+ (return-type "const-char*")
)
-(define-function g_filesystem_preview_type_get_type
- (c-name "g_filesystem_preview_type_get_type")
- (return-type "GType")
+(define-method set_domain
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_set_domain")
+ (return-type "none")
+ (parameters
+ '("const-char*" "domain")
+ )
)
-(define-function g_file_monitor_event_get_type
- (c-name "g_file_monitor_event_get_type")
- (return-type "GType")
+(define-method get_password_save
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_get_password_save")
+ (return-type "GPasswordSave")
)
-(define-function g_io_error_enum_get_type
- (c-name "g_io_error_enum_get_type")
- (return-type "GType")
+(define-method set_password_save
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_set_password_save")
+ (return-type "none")
+ (parameters
+ '("GPasswordSave" "save")
+ )
)
-(define-function g_ask_password_flags_get_type
- (c-name "g_ask_password_flags_get_type")
- (return-type "GType")
+(define-method get_choice
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_get_choice")
+ (return-type "int")
)
-(define-function g_password_save_get_type
- (c-name "g_password_save_get_type")
- (return-type "GType")
+(define-method set_choice
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_set_choice")
+ (return-type "none")
+ (parameters
+ '("int" "choice")
+ )
)
-(define-function g_mount_operation_result_get_type
- (c-name "g_mount_operation_result_get_type")
- (return-type "GType")
+(define-method reply
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_reply")
+ (return-type "none")
+ (parameters
+ '("GMountOperationResult" "result")
+ )
)
-(define-function g_output_stream_splice_flags_get_type
- (c-name "g_output_stream_splice_flags_get_type")
- (return-type "GType")
-)
-(define-function g_emblem_origin_get_type
- (c-name "g_emblem_origin_get_type")
- (return-type "GType")
-)
-(define-function g_resolver_error_get_type
- (c-name "g_resolver_error_get_type")
- (return-type "GType")
-)
+;; From gmountprivate.h
-(define-function g_socket_family_get_type
- (c-name "g_socket_family_get_type")
- (return-type "GType")
-)
-(define-function g_socket_type_get_type
- (c-name "g_socket_type_get_type")
- (return-type "GType")
-)
-(define-function g_socket_msg_flags_get_type
- (c-name "g_socket_msg_flags_get_type")
- (return-type "GType")
-)
+;; From gnativevolumemonitor.h
-(define-function g_socket_protocol_get_type
- (c-name "g_socket_protocol_get_type")
+(define-function g_native_volume_monitor_get_type
+ (c-name "g_native_volume_monitor_get_type")
(return-type "GType")
)
-(define-function g_zlib_compressor_format_get_type
- (c-name "g_zlib_compressor_format_get_type")
- (return-type "GType")
-)
-(define-function g_unix_socket_address_type_get_type
- (c-name "g_unix_socket_address_type_get_type")
- (return-type "GType")
-)
-(define-function g_bus_type_get_type
- (c-name "g_bus_type_get_type")
- (return-type "GType")
-)
+;; From gnetworkaddress.h
-(define-function g_bus_name_owner_flags_get_type
- (c-name "g_bus_name_owner_flags_get_type")
+(define-function g_network_address_get_type
+ (c-name "g_network_address_get_type")
(return-type "GType")
)
-(define-function g_bus_name_watcher_flags_get_type
- (c-name "g_bus_name_watcher_flags_get_type")
- (return-type "GType")
+(define-function g_network_address_new
+ (c-name "g_network_address_new")
+ (is-constructor-of "GNetworkAddress")
+ (return-type "GSocketConnectable*")
+ (parameters
+ '("const-gchar*" "hostname")
+ '("guint16" "port")
+ )
)
-(define-function g_dbus_proxy_flags_get_type
- (c-name "g_dbus_proxy_flags_get_type")
- (return-type "GType")
+(define-function g_network_address_parse
+ (c-name "g_network_address_parse")
+ (return-type "GSocketConnectable*")
+ (parameters
+ '("const-gchar*" "host_and_port")
+ '("guint16" "default_port")
+ '("GError**" "error")
+ )
)
-(define-function g_dbus_error_get_type
- (c-name "g_dbus_error_get_type")
- (return-type "GType")
+(define-function g_network_address_parse_uri
+ (c-name "g_network_address_parse_uri")
+ (return-type "GSocketConnectable*")
+ (parameters
+ '("const-gchar*" "uri")
+ '("guint16" "default_port")
+ '("GError**" "error")
+ )
)
-(define-function g_dbus_connection_flags_get_type
- (c-name "g_dbus_connection_flags_get_type")
- (return-type "GType")
+(define-method get_hostname
+ (of-object "GNetworkAddress")
+ (c-name "g_network_address_get_hostname")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_capability_flags_get_type
- (c-name "g_dbus_capability_flags_get_type")
- (return-type "GType")
+(define-method get_port
+ (of-object "GNetworkAddress")
+ (c-name "g_network_address_get_port")
+ (return-type "guint16")
)
-(define-function g_dbus_call_flags_get_type
- (c-name "g_dbus_call_flags_get_type")
- (return-type "GType")
+(define-method get_scheme
+ (of-object "GNetworkAddress")
+ (c-name "g_network_address_get_scheme")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_message_type_get_type
- (c-name "g_dbus_message_type_get_type")
- (return-type "GType")
-)
-(define-function g_dbus_message_flags_get_type
- (c-name "g_dbus_message_flags_get_type")
- (return-type "GType")
-)
-(define-function g_dbus_message_header_field_get_type
- (c-name "g_dbus_message_header_field_get_type")
- (return-type "GType")
-)
+;; From gnetworkingprivate.h
-(define-function g_dbus_property_info_flags_get_type
- (c-name "g_dbus_property_info_flags_get_type")
- (return-type "GType")
-)
-(define-function g_dbus_subtree_flags_get_type
- (c-name "g_dbus_subtree_flags_get_type")
- (return-type "GType")
-)
-(define-function g_dbus_server_flags_get_type
- (c-name "g_dbus_server_flags_get_type")
+;; From gnetworkservice.h
+
+(define-function g_network_service_get_type
+ (c-name "g_network_service_get_type")
(return-type "GType")
)
-(define-function g_dbus_signal_flags_get_type
- (c-name "g_dbus_signal_flags_get_type")
- (return-type "GType")
+(define-function g_network_service_new
+ (c-name "g_network_service_new")
+ (is-constructor-of "GNetworkService")
+ (return-type "GSocketConnectable*")
+ (parameters
+ '("const-gchar*" "service")
+ '("const-gchar*" "protocol")
+ '("const-gchar*" "domain")
+ )
)
-(define-function g_dbus_send_message_flags_get_type
- (c-name "g_dbus_send_message_flags_get_type")
- (return-type "GType")
+(define-method get_service
+ (of-object "GNetworkService")
+ (c-name "g_network_service_get_service")
+ (return-type "const-gchar*")
)
-(define-function g_credentials_type_get_type
- (c-name "g_credentials_type_get_type")
- (return-type "GType")
+(define-method get_protocol
+ (of-object "GNetworkService")
+ (c-name "g_network_service_get_protocol")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_message_byte_order_get_type
- (c-name "g_dbus_message_byte_order_get_type")
- (return-type "GType")
+(define-method get_domain
+ (of-object "GNetworkService")
+ (c-name "g_network_service_get_domain")
+ (return-type "const-gchar*")
)
-(define-function g_application_flags_get_type
- (c-name "g_application_flags_get_type")
- (return-type "GType")
+(define-method get_scheme
+ (of-object "GNetworkService")
+ (c-name "g_network_service_get_scheme")
+ (return-type "const-gchar*")
)
-(define-function g_settings_bind_flags_get_type
- (c-name "g_settings_bind_flags_get_type")
- (return-type "GType")
+(define-method set_scheme
+ (of-object "GNetworkService")
+ (c-name "g_network_service_set_scheme")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "scheme")
+ )
)
-;; From gioerror.h
+;; From goutputstream.h
-(define-function g_io_error_quark
- (c-name "g_io_error_quark")
- (return-type "GQuark")
+(define-function g_output_stream_get_type
+ (c-name "g_output_stream_get_type")
+ (return-type "GType")
)
-(define-function g_io_error_from_errno
- (c-name "g_io_error_from_errno")
- (return-type "GIOErrorEnum")
+(define-method write
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write")
+ (return-type "gssize")
(parameters
- '("gint" "err_no")
+ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_io_error_from_win32_error
- (c-name "g_io_error_from_win32_error")
- (return-type "GIOErrorEnum")
+(define-method write_all
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write_all")
+ (return-type "gboolean")
(parameters
- '("gint" "error_code")
+ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("gsize*" "bytes_written")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
+(define-method splice
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_splice")
+ (return-type "gssize")
+ (parameters
+ '("GInputStream*" "source")
+ '("GOutputStreamSpliceFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
-
-;; From gio.h
-
-
-
-;; From giomodule.h
-
-(define-function g_io_module_get_type
- (c-name "g_io_module_get_type")
- (return-type "GType")
+(define-method flush
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_flush")
+ (return-type "gboolean")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-function g_io_module_new
- (c-name "g_io_module_new")
- (is-constructor-of "GIoModule")
- (return-type "GIOModule*")
+(define-method close
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_close")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "filename")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_io_modules_scan_all_in_directory
- (c-name "g_io_modules_scan_all_in_directory")
+(define-method write_async
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write_async")
(return-type "none")
(parameters
- '("const-char*" "dirname")
+ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-function g_io_modules_load_all_in_directory
- (c-name "g_io_modules_load_all_in_directory")
- (return-type "GList*")
+(define-method write_finish
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write_finish")
+ (return-type "gssize")
(parameters
- '("const-gchar*" "dirname")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-function g_io_extension_point_register
- (c-name "g_io_extension_point_register")
- (return-type "GIOExtensionPoint*")
+(define-method splice_async
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_splice_async")
+ (return-type "none")
(parameters
- '("const-char*" "name")
+ '("GInputStream*" "source")
+ '("GOutputStreamSpliceFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-function g_io_extension_point_lookup
- (c-name "g_io_extension_point_lookup")
- (return-type "GIOExtensionPoint*")
+(define-method splice_finish
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_splice_finish")
+ (return-type "gssize")
(parameters
- '("const-char*" "name")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-method set_required_type
- (of-object "GIOExtensionPoint")
- (c-name "g_io_extension_point_set_required_type")
+(define-method flush_async
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_flush_async")
(return-type "none")
(parameters
- '("GType" "type")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_required_type
- (of-object "GIOExtensionPoint")
- (c-name "g_io_extension_point_get_required_type")
- (return-type "GType")
-)
-
-(define-method get_extensions
- (of-object "GIOExtensionPoint")
- (c-name "g_io_extension_point_get_extensions")
- (return-type "GList*")
-)
-
-(define-method get_extension_by_name
- (of-object "GIOExtensionPoint")
- (c-name "g_io_extension_point_get_extension_by_name")
- (return-type "GIOExtension*")
+(define-method flush_finish
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_flush_finish")
+ (return-type "gboolean")
(parameters
- '("const-char*" "name")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-function g_io_extension_point_implement
- (c-name "g_io_extension_point_implement")
- (return-type "GIOExtension*")
+(define-method close_async
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_close_async")
+ (return-type "none")
(parameters
- '("const-char*" "extension_point_name")
- '("GType" "type")
- '("const-char*" "extension_name")
- '("gint" "priority")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_type
- (of-object "GIOExtension")
- (c-name "g_io_extension_get_type")
- (return-type "GType")
+(define-method close_finish
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_close_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-method get_name
- (of-object "GIOExtension")
- (c-name "g_io_extension_get_name")
- (return-type "const-char*")
+(define-method is_closed
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_is_closed")
+ (return-type "gboolean")
)
-(define-method get_priority
- (of-object "GIOExtension")
- (c-name "g_io_extension_get_priority")
- (return-type "gint")
+(define-method is_closing
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_is_closing")
+ (return-type "gboolean")
)
-(define-method ref_class
- (of-object "GIOExtension")
- (c-name "g_io_extension_ref_class")
- (return-type "GTypeClass*")
+(define-method has_pending
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_has_pending")
+ (return-type "gboolean")
)
-(define-method load
- (of-object "GIOModule")
- (c-name "g_io_module_load")
- (return-type "none")
+(define-method set_pending
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_set_pending")
+ (return-type "gboolean")
+ (parameters
+ '("GError**" "error")
+ )
)
-(define-method unload
- (of-object "GIOModule")
- (c-name "g_io_module_unload")
+(define-method clear_pending
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_clear_pending")
(return-type "none")
)
-(define-function g_io_module_query
- (c-name "g_io_module_query")
- (return-type "char**")
-)
+;; From gpermission.h
-;; From gioscheduler.h
+(define-function g_permission_get_type
+ (c-name "g_permission_get_type")
+ (return-type "GType")
+)
-(define-function g_io_scheduler_push_job
- (c-name "g_io_scheduler_push_job")
- (return-type "none")
+(define-method acquire
+ (of-object "GPermission")
+ (c-name "g_permission_acquire")
+ (return-type "gboolean")
(parameters
- '("GIOSchedulerJobFunc" "job_func")
- '("gpointer" "user_data")
- '("GDestroyNotify" "notify")
- '("gint" "io_priority")
'("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_io_scheduler_cancel_all_jobs
- (c-name "g_io_scheduler_cancel_all_jobs")
+(define-method acquire_async
+ (of-object "GPermission")
+ (c-name "g_permission_acquire_async")
(return-type "none")
-)
-
-(define-method send_to_mainloop
- (of-object "GIOSchedulerJob")
- (c-name "g_io_scheduler_job_send_to_mainloop")
- (return-type "gboolean")
(parameters
- '("GSourceFunc" "func")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
- '("GDestroyNotify" "notify")
)
)
-(define-method send_to_mainloop_async
- (of-object "GIOSchedulerJob")
- (c-name "g_io_scheduler_job_send_to_mainloop_async")
- (return-type "none")
+(define-method acquire_finish
+ (of-object "GPermission")
+ (c-name "g_permission_acquire_finish")
+ (return-type "gboolean")
(parameters
- '("GSourceFunc" "func")
- '("gpointer" "user_data")
- '("GDestroyNotify" "notify")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-
-
-;; From giostream.h
-
-(define-function g_io_stream_get_type
- (c-name "g_io_stream_get_type")
- (return-type "GType")
-)
-
-(define-method get_input_stream
- (of-object "GIOStream")
- (c-name "g_io_stream_get_input_stream")
- (return-type "GInputStream*")
-)
-
-(define-method get_output_stream
- (of-object "GIOStream")
- (c-name "g_io_stream_get_output_stream")
- (return-type "GOutputStream*")
-)
-
-(define-method close
- (of-object "GIOStream")
- (c-name "g_io_stream_close")
+(define-method release
+ (of-object "GPermission")
+ (c-name "g_permission_release")
(return-type "gboolean")
(parameters
'("GCancellable*" "cancellable")
@@ -8063,21 +10626,20 @@
)
)
-(define-method close_async
- (of-object "GIOStream")
- (c-name "g_io_stream_close_async")
+(define-method release_async
+ (of-object "GPermission")
+ (c-name "g_permission_release_async")
(return-type "none")
(parameters
- '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method close_finish
- (of-object "GIOStream")
- (c-name "g_io_stream_close_finish")
+(define-method release_finish
+ (of-object "GPermission")
+ (c-name "g_permission_release_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
@@ -8085,2175 +10647,2324 @@
)
)
-(define-method is_closed
- (of-object "GIOStream")
- (c-name "g_io_stream_is_closed")
+(define-method get_allowed
+ (of-object "GPermission")
+ (c-name "g_permission_get_allowed")
(return-type "gboolean")
)
-(define-method has_pending
- (of-object "GIOStream")
- (c-name "g_io_stream_has_pending")
+(define-method get_can_acquire
+ (of-object "GPermission")
+ (c-name "g_permission_get_can_acquire")
(return-type "gboolean")
)
-(define-method set_pending
- (of-object "GIOStream")
- (c-name "g_io_stream_set_pending")
+(define-method get_can_release
+ (of-object "GPermission")
+ (c-name "g_permission_get_can_release")
(return-type "gboolean")
+)
+
+(define-method impl_update
+ (of-object "GPermission")
+ (c-name "g_permission_impl_update")
+ (return-type "none")
+ (parameters
+ '("gboolean" "allowed")
+ '("gboolean" "can_acquire")
+ '("gboolean" "can_release")
+ )
+)
+
+
+
+;; From gpollableinputstream.h
+
+(define-function g_pollable_input_stream_get_type
+ (c-name "g_pollable_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-method can_poll
+ (of-object "GPollableInputStream")
+ (c-name "g_pollable_input_stream_can_poll")
+ (return-type "gboolean")
+)
+
+(define-method is_readable
+ (of-object "GPollableInputStream")
+ (c-name "g_pollable_input_stream_is_readable")
+ (return-type "gboolean")
+)
+
+(define-method create_source
+ (of-object "GPollableInputStream")
+ (c-name "g_pollable_input_stream_create_source")
+ (return-type "GSource*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ )
+)
+
+(define-method read_nonblocking
+ (of-object "GPollableInputStream")
+ (c-name "g_pollable_input_stream_read_nonblocking")
+ (return-type "gssize")
(parameters
+ '("void*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method clear_pending
- (of-object "GIOStream")
- (c-name "g_io_stream_clear_pending")
- (return-type "none")
+(define-function g_pollable_source_new
+ (c-name "g_pollable_source_new")
+ (is-constructor-of "GPollableSource")
+ (return-type "GSource*")
+ (parameters
+ '("GObject*" "pollable_stream")
+ )
)
-;; From giotypes.h
-
-
-
-;; From gloadableicon.h
+;; From gpollableoutputstream.h
-(define-function g_loadable_icon_get_type
- (c-name "g_loadable_icon_get_type")
+(define-function g_pollable_output_stream_get_type
+ (c-name "g_pollable_output_stream_get_type")
(return-type "GType")
)
-(define-method load
- (of-object "GLoadableIcon")
- (c-name "g_loadable_icon_load")
- (return-type "GInputStream*")
- (parameters
- '("int" "size")
- '("char**" "type")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method can_poll
+ (of-object "GPollableOutputStream")
+ (c-name "g_pollable_output_stream_can_poll")
+ (return-type "gboolean")
)
-(define-method load_async
- (of-object "GLoadableIcon")
- (c-name "g_loadable_icon_load_async")
- (return-type "none")
+(define-method is_writable
+ (of-object "GPollableOutputStream")
+ (c-name "g_pollable_output_stream_is_writable")
+ (return-type "gboolean")
+)
+
+(define-method create_source
+ (of-object "GPollableOutputStream")
+ (c-name "g_pollable_output_stream_create_source")
+ (return-type "GSource*")
(parameters
- '("int" "size")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
)
)
-(define-method load_finish
- (of-object "GLoadableIcon")
- (c-name "g_loadable_icon_load_finish")
- (return-type "GInputStream*")
+(define-method write_nonblocking
+ (of-object "GPollableOutputStream")
+ (c-name "g_pollable_output_stream_write_nonblocking")
+ (return-type "gssize")
(parameters
- '("GAsyncResult*" "res")
- '("char**" "type")
+ '("const-void*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-;; From gmemoryinputstream.h
+;; From gpollfilemonitor.h
-(define-function g_memory_input_stream_get_type
- (c-name "g_memory_input_stream_get_type")
+
+
+;; From gproxyaddressenumerator.h
+
+(define-function g_proxy_address_enumerator_get_type
+ (c-name "g_proxy_address_enumerator_get_type")
(return-type "GType")
)
-(define-function g_memory_input_stream_new
- (c-name "g_memory_input_stream_new")
- (is-constructor-of "GMemoryInputStream")
- (return-type "GInputStream*")
+
+
+;; From gproxyaddress.h
+
+(define-function g_proxy_address_get_type
+ (c-name "g_proxy_address_get_type")
+ (return-type "GType")
)
-(define-function g_memory_input_stream_new_from_data
- (c-name "g_memory_input_stream_new_from_data")
- (return-type "GInputStream*")
+(define-function g_proxy_address_new
+ (c-name "g_proxy_address_new")
+ (is-constructor-of "GProxyAddress")
+ (return-type "GSocketAddress*")
(parameters
- '("const-void*" "data")
- '("gssize" "len")
- '("GDestroyNotify" "destroy")
+ '("GInetAddress*" "inetaddr")
+ '("guint16" "port")
+ '("const-gchar*" "protocol")
+ '("const-gchar*" "dest_hostname")
+ '("guint16" "dest_port")
+ '("const-gchar*" "username")
+ '("const-gchar*" "password")
)
)
-(define-method add_data
- (of-object "GMemoryInputStream")
- (c-name "g_memory_input_stream_add_data")
- (return-type "none")
- (parameters
- '("const-void*" "data")
- '("gssize" "len")
- '("GDestroyNotify" "destroy")
- )
+(define-method get_protocol
+ (of-object "GProxyAddress")
+ (c-name "g_proxy_address_get_protocol")
+ (return-type "const-gchar*")
+)
+
+(define-method get_destination_hostname
+ (of-object "GProxyAddress")
+ (c-name "g_proxy_address_get_destination_hostname")
+ (return-type "const-gchar*")
+)
+
+(define-method get_destination_port
+ (of-object "GProxyAddress")
+ (c-name "g_proxy_address_get_destination_port")
+ (return-type "guint16")
+)
+
+(define-method get_username
+ (of-object "GProxyAddress")
+ (c-name "g_proxy_address_get_username")
+ (return-type "const-gchar*")
)
+(define-method get_password
+ (of-object "GProxyAddress")
+ (c-name "g_proxy_address_get_password")
+ (return-type "const-gchar*")
+)
-;; From gmemoryoutputstream.h
-(define-function g_memory_output_stream_get_type
- (c-name "g_memory_output_stream_get_type")
+;; From gproxy.h
+
+(define-function g_proxy_get_type
+ (c-name "g_proxy_get_type")
(return-type "GType")
)
-(define-function g_memory_output_stream_new
- (c-name "g_memory_output_stream_new")
- (is-constructor-of "GMemoryOutputStream")
- (return-type "GOutputStream*")
+(define-function g_proxy_get_default_for_protocol
+ (c-name "g_proxy_get_default_for_protocol")
+ (return-type "GProxy*")
(parameters
- '("gpointer" "data")
- '("gsize" "size")
- '("GReallocFunc" "realloc_function")
- '("GDestroyNotify" "destroy_function")
+ '("const-gchar*" "protocol")
)
)
-(define-method get_data
- (of-object "GMemoryOutputStream")
- (c-name "g_memory_output_stream_get_data")
- (return-type "gpointer")
+(define-method connect
+ (of-object "GProxy")
+ (c-name "g_proxy_connect")
+ (return-type "GIOStream*")
+ (parameters
+ '("GIOStream*" "connection")
+ '("GProxyAddress*" "proxy_address")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method get_size
- (of-object "GMemoryOutputStream")
- (c-name "g_memory_output_stream_get_size")
- (return-type "gsize")
+(define-method connect_async
+ (of-object "GProxy")
+ (c-name "g_proxy_connect_async")
+ (return-type "none")
+ (parameters
+ '("GIOStream*" "connection")
+ '("GProxyAddress*" "proxy_address")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method get_data_size
- (of-object "GMemoryOutputStream")
- (c-name "g_memory_output_stream_get_data_size")
- (return-type "gsize")
+(define-method connect_finish
+ (of-object "GProxy")
+ (c-name "g_proxy_connect_finish")
+ (return-type "GIOStream*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-method steal_data
- (of-object "GMemoryOutputStream")
- (c-name "g_memory_output_stream_steal_data")
- (return-type "gpointer")
+(define-method supports_hostname
+ (of-object "GProxy")
+ (c-name "g_proxy_supports_hostname")
+ (return-type "gboolean")
)
-;; From gmount.h
+;; From gproxyresolver.h
-(define-function g_mount_get_type
- (c-name "g_mount_get_type")
+(define-function g_proxy_resolver_get_type
+ (c-name "g_proxy_resolver_get_type")
(return-type "GType")
)
-(define-method get_root
- (of-object "GMount")
- (c-name "g_mount_get_root")
- (return-type "GFile*")
+(define-function g_proxy_resolver_get_default
+ (c-name "g_proxy_resolver_get_default")
+ (return-type "GProxyResolver*")
)
-(define-method get_default_location
- (of-object "GMount")
- (c-name "g_mount_get_default_location")
- (return-type "GFile*")
+(define-method is_supported
+ (of-object "GProxyResolver")
+ (c-name "g_proxy_resolver_is_supported")
+ (return-type "gboolean")
)
-(define-method get_name
- (of-object "GMount")
- (c-name "g_mount_get_name")
- (return-type "char*")
+(define-method lookup
+ (of-object "GProxyResolver")
+ (c-name "g_proxy_resolver_lookup")
+ (return-type "gchar**")
+ (parameters
+ '("const-gchar*" "uri")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method get_icon
- (of-object "GMount")
- (c-name "g_mount_get_icon")
- (return-type "GIcon*")
+(define-method lookup_async
+ (of-object "GProxyResolver")
+ (c-name "g_proxy_resolver_lookup_async")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "uri")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method get_uuid
- (of-object "GMount")
- (c-name "g_mount_get_uuid")
- (return-type "char*")
+(define-method lookup_finish
+ (of-object "GProxyResolver")
+ (c-name "g_proxy_resolver_lookup_finish")
+ (return-type "gchar**")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-method get_volume
- (of-object "GMount")
- (c-name "g_mount_get_volume")
- (return-type "GVolume*")
+
+
+;; From gregistrysettingsbackend.h
+
+
+
+;; From gresolver.h
+
+(define-function g_resolver_get_type
+ (c-name "g_resolver_get_type")
+ (return-type "GType")
)
-(define-method get_drive
- (of-object "GMount")
- (c-name "g_mount_get_drive")
- (return-type "GDrive*")
+(define-function g_resolver_get_default
+ (c-name "g_resolver_get_default")
+ (return-type "GResolver*")
)
-(define-method can_unmount
- (of-object "GMount")
- (c-name "g_mount_can_unmount")
- (return-type "gboolean")
+(define-method set_default
+ (of-object "GResolver")
+ (c-name "g_resolver_set_default")
+ (return-type "none")
)
-(define-method can_eject
- (of-object "GMount")
- (c-name "g_mount_can_eject")
- (return-type "gboolean")
+(define-method lookup_by_name
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_by_name")
+ (return-type "GList*")
+ (parameters
+ '("const-gchar*" "hostname")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method unmount
- (of-object "GMount")
- (c-name "g_mount_unmount")
+(define-method lookup_by_name_async
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_by_name_async")
(return-type "none")
(parameters
- '("GMountUnmountFlags" "flags")
+ '("const-gchar*" "hostname")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method unmount_finish
- (of-object "GMount")
- (c-name "g_mount_unmount_finish")
- (return-type "gboolean")
+(define-method lookup_by_name_finish
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_by_name_finish")
+ (return-type "GList*")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method eject
- (of-object "GMount")
- (c-name "g_mount_eject")
+(define-function g_resolver_free_addresses
+ (c-name "g_resolver_free_addresses")
(return-type "none")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GList*" "addresses")
)
)
-(define-method eject_finish
- (of-object "GMount")
- (c-name "g_mount_eject_finish")
- (return-type "gboolean")
+(define-method lookup_by_address
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_by_address")
+ (return-type "gchar*")
(parameters
- '("GAsyncResult*" "result")
+ '("GInetAddress*" "address")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method remount
- (of-object "GMount")
- (c-name "g_mount_remount")
+(define-method lookup_by_address_async
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_by_address_async")
(return-type "none")
(parameters
- '("GMountMountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("GInetAddress*" "address")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method remount_finish
- (of-object "GMount")
- (c-name "g_mount_remount_finish")
- (return-type "gboolean")
+(define-method lookup_by_address_finish
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_by_address_finish")
+ (return-type "gchar*")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method guess_content_type
- (of-object "GMount")
- (c-name "g_mount_guess_content_type")
+(define-method lookup_service
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_service")
+ (return-type "GList*")
+ (parameters
+ '("const-gchar*" "service")
+ '("const-gchar*" "protocol")
+ '("const-gchar*" "domain")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method lookup_service_async
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_service_async")
(return-type "none")
(parameters
- '("gboolean" "force_rescan")
+ '("const-gchar*" "service")
+ '("const-gchar*" "protocol")
+ '("const-gchar*" "domain")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method guess_content_type_finish
- (of-object "GMount")
- (c-name "g_mount_guess_content_type_finish")
- (return-type "gchar**")
+(define-method lookup_service_finish
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_service_finish")
+ (return-type "GList*")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method guess_content_type_sync
- (of-object "GMount")
- (c-name "g_mount_guess_content_type_sync")
- (return-type "gchar**")
+(define-function g_resolver_free_targets
+ (c-name "g_resolver_free_targets")
+ (return-type "none")
(parameters
- '("gboolean" "force_rescan")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GList*" "targets")
)
)
-(define-method is_shadowed
- (of-object "GMount")
- (c-name "g_mount_is_shadowed")
- (return-type "gboolean")
+(define-function g_resolver_error_quark
+ (c-name "g_resolver_error_quark")
+ (return-type "GQuark")
)
-(define-method shadow
- (of-object "GMount")
- (c-name "g_mount_shadow")
- (return-type "none")
+
+
+;; From gseekable.h
+
+(define-function g_seekable_get_type
+ (c-name "g_seekable_get_type")
+ (return-type "GType")
)
-(define-method unshadow
- (of-object "GMount")
- (c-name "g_mount_unshadow")
- (return-type "none")
+(define-method tell
+ (of-object "GSeekable")
+ (c-name "g_seekable_tell")
+ (return-type "goffset")
)
-(define-method unmount_with_operation
- (of-object "GMount")
- (c-name "g_mount_unmount_with_operation")
- (return-type "none")
- (parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method can_seek
+ (of-object "GSeekable")
+ (c-name "g_seekable_can_seek")
+ (return-type "gboolean")
)
-(define-method unmount_with_operation_finish
- (of-object "GMount")
- (c-name "g_mount_unmount_with_operation_finish")
+(define-method seek
+ (of-object "GSeekable")
+ (c-name "g_seekable_seek")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
+ '("goffset" "offset")
+ '("GSeekType" "type")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method eject_with_operation
- (of-object "GMount")
- (c-name "g_mount_eject_with_operation")
- (return-type "none")
- (parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method can_truncate
+ (of-object "GSeekable")
+ (c-name "g_seekable_can_truncate")
+ (return-type "gboolean")
)
-(define-method eject_with_operation_finish
- (of-object "GMount")
- (c-name "g_mount_eject_with_operation_finish")
+(define-method truncate
+ (of-object "GSeekable")
+ (c-name "g_seekable_truncate")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
+ '("goffset" "offset")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-;; From gmountoperation.h
+;; From gsettingsbackend.h
-(define-function g_mount_operation_get_type
- (c-name "g_mount_operation_get_type")
+(define-function g_settings_backend_get_type
+ (c-name "g_settings_backend_get_type")
(return-type "GType")
)
-(define-function g_mount_operation_new
- (c-name "g_mount_operation_new")
- (is-constructor-of "GMountOperation")
- (return-type "GMountOperation*")
-)
-
-(define-method get_username
- (of-object "GMountOperation")
- (c-name "g_mount_operation_get_username")
- (return-type "const-char*")
+(define-method changed
+ (of-object "GSettingsBackend")
+ (c-name "g_settings_backend_changed")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "key")
+ '("gpointer" "origin_tag")
+ )
)
-(define-method set_username
- (of-object "GMountOperation")
- (c-name "g_mount_operation_set_username")
+(define-method path_changed
+ (of-object "GSettingsBackend")
+ (c-name "g_settings_backend_path_changed")
(return-type "none")
(parameters
- '("const-char*" "username")
+ '("const-gchar*" "path")
+ '("gpointer" "origin_tag")
)
)
-(define-method get_password
- (of-object "GMountOperation")
- (c-name "g_mount_operation_get_password")
- (return-type "const-char*")
+(define-function g_settings_backend_flatten_tree
+ (c-name "g_settings_backend_flatten_tree")
+ (return-type "none")
+ (parameters
+ '("GTree*" "tree")
+ '("gchar**" "path")
+ '("const-gchar***" "keys")
+ '("GVariant***" "values")
+ )
)
-(define-method set_password
- (of-object "GMountOperation")
- (c-name "g_mount_operation_set_password")
+(define-method keys_changed
+ (of-object "GSettingsBackend")
+ (c-name "g_settings_backend_keys_changed")
(return-type "none")
(parameters
- '("const-char*" "password")
+ '("const-gchar*" "path")
+ '("gchar-const*-const*" "items")
+ '("gpointer" "origin_tag")
)
)
-(define-method get_anonymous
- (of-object "GMountOperation")
- (c-name "g_mount_operation_get_anonymous")
- (return-type "gboolean")
-)
-
-(define-method set_anonymous
- (of-object "GMountOperation")
- (c-name "g_mount_operation_set_anonymous")
+(define-method path_writable_changed
+ (of-object "GSettingsBackend")
+ (c-name "g_settings_backend_path_writable_changed")
(return-type "none")
(parameters
- '("gboolean" "anonymous")
+ '("const-gchar*" "path")
)
)
-(define-method get_domain
- (of-object "GMountOperation")
- (c-name "g_mount_operation_get_domain")
- (return-type "const-char*")
-)
-
-(define-method set_domain
- (of-object "GMountOperation")
- (c-name "g_mount_operation_set_domain")
+(define-method writable_changed
+ (of-object "GSettingsBackend")
+ (c-name "g_settings_backend_writable_changed")
(return-type "none")
(parameters
- '("const-char*" "domain")
+ '("const-gchar*" "key")
)
)
-(define-method get_password_save
- (of-object "GMountOperation")
- (c-name "g_mount_operation_get_password_save")
- (return-type "GPasswordSave")
-)
-
-(define-method set_password_save
- (of-object "GMountOperation")
- (c-name "g_mount_operation_set_password_save")
+(define-method changed_tree
+ (of-object "GSettingsBackend")
+ (c-name "g_settings_backend_changed_tree")
(return-type "none")
(parameters
- '("GPasswordSave" "save")
+ '("GTree*" "tree")
+ '("gpointer" "origin_tag")
)
)
-(define-method get_choice
- (of-object "GMountOperation")
- (c-name "g_mount_operation_get_choice")
- (return-type "int")
+(define-function g_settings_backend_get_default
+ (c-name "g_settings_backend_get_default")
+ (return-type "GSettingsBackend*")
)
-(define-method set_choice
- (of-object "GMountOperation")
- (c-name "g_mount_operation_set_choice")
- (return-type "none")
+(define-function g_keyfile_settings_backend_new
+ (c-name "g_keyfile_settings_backend_new")
+ (is-constructor-of "GKeyfileSettingsBackend")
+ (return-type "GSettingsBackend*")
(parameters
- '("int" "choice")
+ '("const-gchar*" "filename")
+ '("const-gchar*" "root_path")
+ '("const-gchar*" "root_group")
)
)
-(define-method reply
- (of-object "GMountOperation")
- (c-name "g_mount_operation_reply")
- (return-type "none")
- (parameters
- '("GMountOperationResult" "result")
- )
+(define-function g_null_settings_backend_new
+ (c-name "g_null_settings_backend_new")
+ (is-constructor-of "GNullSettingsBackend")
+ (return-type "GSettingsBackend*")
)
+(define-function g_memory_settings_backend_new
+ (c-name "g_memory_settings_backend_new")
+ (is-constructor-of "GMemorySettingsBackend")
+ (return-type "GSettingsBackend*")
+)
-;; From gnativevolumemonitor.h
-(define-function g_native_volume_monitor_get_type
- (c-name "g_native_volume_monitor_get_type")
- (return-type "GType")
-)
+;; From gsettingsbackendinternal.h
-;; From gnetworkaddress.h
+;; From gsettings.h
-(define-function g_network_address_get_type
- (c-name "g_network_address_get_type")
+(define-function g_settings_get_type
+ (c-name "g_settings_get_type")
(return-type "GType")
)
-(define-function g_network_address_new
- (c-name "g_network_address_new")
- (is-constructor-of "GNetworkAddress")
- (return-type "GSocketConnectable*")
+(define-function g_settings_new
+ (c-name "g_settings_new")
+ (is-constructor-of "GSettings")
+ (return-type "GSettings*")
(parameters
- '("const-gchar*" "hostname")
- '("guint16" "port")
+ '("const-gchar*" "schema")
)
)
-(define-function g_network_address_parse
- (c-name "g_network_address_parse")
- (return-type "GSocketConnectable*")
+(define-function g_settings_new_with_path
+ (c-name "g_settings_new_with_path")
+ (return-type "GSettings*")
(parameters
- '("const-gchar*" "host_and_port")
- '("guint16" "default_port")
- '("GError**" "error")
+ '("const-gchar*" "schema")
+ '("const-gchar*" "path")
)
)
-(define-function g_network_address_parse_uri
- (c-name "g_network_address_parse_uri")
- (return-type "GSocketConnectable*")
+(define-function g_settings_new_with_backend
+ (c-name "g_settings_new_with_backend")
+ (return-type "GSettings*")
(parameters
- '("const-gchar*" "uri")
- '("guint16" "default_port")
- '("GError**" "error")
+ '("const-gchar*" "schema")
+ '("GSettingsBackend*" "backend")
)
)
-(define-method get_hostname
- (of-object "GNetworkAddress")
- (c-name "g_network_address_get_hostname")
- (return-type "const-gchar*")
-)
-
-(define-method get_port
- (of-object "GNetworkAddress")
- (c-name "g_network_address_get_port")
- (return-type "guint16")
+(define-function g_settings_new_with_backend_and_path
+ (c-name "g_settings_new_with_backend_and_path")
+ (return-type "GSettings*")
+ (parameters
+ '("const-gchar*" "schema")
+ '("GSettingsBackend*" "backend")
+ '("const-gchar*" "path")
+ )
)
-(define-method get_scheme
- (of-object "GNetworkAddress")
- (c-name "g_network_address_get_scheme")
- (return-type "const-gchar*")
+(define-method list_children
+ (of-object "GSettings")
+ (c-name "g_settings_list_children")
+ (return-type "gchar**")
)
-
-
-;; From gnetworkservice.h
-
-(define-function g_network_service_get_type
- (c-name "g_network_service_get_type")
- (return-type "GType")
+(define-method list_keys
+ (of-object "GSettings")
+ (c-name "g_settings_list_keys")
+ (return-type "gchar**")
)
-(define-function g_network_service_new
- (c-name "g_network_service_new")
- (is-constructor-of "GNetworkService")
- (return-type "GSocketConnectable*")
+(define-method get_range
+ (of-object "GSettings")
+ (c-name "g_settings_get_range")
+ (return-type "GVariant*")
(parameters
- '("const-gchar*" "service")
- '("const-gchar*" "protocol")
- '("const-gchar*" "domain")
+ '("const-gchar*" "key")
)
)
-(define-method get_service
- (of-object "GNetworkService")
- (c-name "g_network_service_get_service")
- (return-type "const-gchar*")
+(define-method range_check
+ (of-object "GSettings")
+ (c-name "g_settings_range_check")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("GVariant*" "value")
+ )
)
-(define-method get_protocol
- (of-object "GNetworkService")
- (c-name "g_network_service_get_protocol")
- (return-type "const-gchar*")
+(define-method set_value
+ (of-object "GSettings")
+ (c-name "g_settings_set_value")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("GVariant*" "value")
+ )
)
-(define-method get_domain
- (of-object "GNetworkService")
- (c-name "g_network_service_get_domain")
- (return-type "const-gchar*")
+(define-method get_value
+ (of-object "GSettings")
+ (c-name "g_settings_get_value")
+ (return-type "GVariant*")
+ (parameters
+ '("const-gchar*" "key")
+ )
)
-(define-method get_scheme
- (of-object "GNetworkService")
- (c-name "g_network_service_get_scheme")
- (return-type "const-gchar*")
+(define-method set
+ (of-object "GSettings")
+ (c-name "g_settings_set")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("const-gchar*" "format")
+ )
+ (varargs #t)
)
-(define-method set_scheme
- (of-object "GNetworkService")
- (c-name "g_network_service_set_scheme")
+(define-method get
+ (of-object "GSettings")
+ (c-name "g_settings_get")
(return-type "none")
(parameters
- '("const-gchar*" "scheme")
+ '("const-gchar*" "key")
+ '("const-gchar*" "format")
)
+ (varargs #t)
)
-
-
-;; From goutputstream.h
-
-(define-function g_output_stream_get_type
- (c-name "g_output_stream_get_type")
- (return-type "GType")
+(define-method reset
+ (of-object "GSettings")
+ (c-name "g_settings_reset")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "key")
+ )
)
-(define-method write
- (of-object "GOutputStream")
- (c-name "g_output_stream_write")
- (return-type "gssize")
- (parameters
- '("const-void*" "buffer")
- '("gsize" "count")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+(define-method get_int
+ (of-object "GSettings")
+ (c-name "g_settings_get_int")
+ (return-type "gint")
+ (parameters
+ '("const-gchar*" "key")
)
)
-(define-method write_all
- (of-object "GOutputStream")
- (c-name "g_output_stream_write_all")
+(define-method set_int
+ (of-object "GSettings")
+ (c-name "g_settings_set_int")
(return-type "gboolean")
(parameters
- '("const-void*" "buffer")
- '("gsize" "count")
- '("gsize*" "bytes_written")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "key")
+ '("gint" "value")
)
)
-(define-method splice
- (of-object "GOutputStream")
- (c-name "g_output_stream_splice")
- (return-type "gssize")
+(define-method get_uint
+ (of-object "GSettings")
+ (c-name "g_settings_get_uint")
+ (return-type "guint")
(parameters
- '("GInputStream*" "source")
- '("GOutputStreamSpliceFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "key")
)
)
-(define-method flush
- (of-object "GOutputStream")
- (c-name "g_output_stream_flush")
+(define-method set_uint
+ (of-object "GSettings")
+ (c-name "g_settings_set_uint")
(return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "key")
+ '("guint" "value")
)
)
-(define-method close
- (of-object "GOutputStream")
- (c-name "g_output_stream_close")
+(define-method get_string
+ (of-object "GSettings")
+ (c-name "g_settings_get_string")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "key")
+ )
+)
+
+(define-method set_string
+ (of-object "GSettings")
+ (c-name "g_settings_set_string")
(return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "key")
+ '("const-gchar*" "value")
)
)
-(define-method write_async
- (of-object "GOutputStream")
- (c-name "g_output_stream_write_async")
- (return-type "none")
+(define-method get_boolean
+ (of-object "GSettings")
+ (c-name "g_settings_get_boolean")
+ (return-type "gboolean")
(parameters
- '("const-void*" "buffer")
- '("gsize" "count")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "key")
)
)
-(define-method write_finish
- (of-object "GOutputStream")
- (c-name "g_output_stream_write_finish")
- (return-type "gssize")
+(define-method set_boolean
+ (of-object "GSettings")
+ (c-name "g_settings_set_boolean")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-gchar*" "key")
+ '("gboolean" "value")
)
)
-(define-method splice_async
- (of-object "GOutputStream")
- (c-name "g_output_stream_splice_async")
- (return-type "none")
+(define-method get_double
+ (of-object "GSettings")
+ (c-name "g_settings_get_double")
+ (return-type "gdouble")
(parameters
- '("GInputStream*" "source")
- '("GOutputStreamSpliceFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "key")
)
)
-(define-method splice_finish
- (of-object "GOutputStream")
- (c-name "g_output_stream_splice_finish")
- (return-type "gssize")
+(define-method set_double
+ (of-object "GSettings")
+ (c-name "g_settings_set_double")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-gchar*" "key")
+ '("gdouble" "value")
)
)
-(define-method flush_async
- (of-object "GOutputStream")
- (c-name "g_output_stream_flush_async")
- (return-type "none")
+(define-method get_strv
+ (of-object "GSettings")
+ (c-name "g_settings_get_strv")
+ (return-type "gchar**")
(parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "key")
)
)
-(define-method flush_finish
- (of-object "GOutputStream")
- (c-name "g_output_stream_flush_finish")
+(define-method set_strv
+ (of-object "GSettings")
+ (c-name "g_settings_set_strv")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-gchar*" "key")
+ '("const-gchar*-const*" "value")
)
)
-(define-method close_async
- (of-object "GOutputStream")
- (c-name "g_output_stream_close_async")
- (return-type "none")
+(define-method get_enum
+ (of-object "GSettings")
+ (c-name "g_settings_get_enum")
+ (return-type "gint")
(parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "key")
)
)
-(define-method close_finish
- (of-object "GOutputStream")
- (c-name "g_output_stream_close_finish")
+(define-method set_enum
+ (of-object "GSettings")
+ (c-name "g_settings_set_enum")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-gchar*" "key")
+ '("gint" "value")
)
)
-(define-method is_closed
- (of-object "GOutputStream")
- (c-name "g_output_stream_is_closed")
- (return-type "gboolean")
+(define-method get_flags
+ (of-object "GSettings")
+ (c-name "g_settings_get_flags")
+ (return-type "guint")
+ (parameters
+ '("const-gchar*" "key")
+ )
)
-(define-method is_closing
- (of-object "GOutputStream")
- (c-name "g_output_stream_is_closing")
+(define-method set_flags
+ (of-object "GSettings")
+ (c-name "g_settings_set_flags")
(return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ '("guint" "value")
+ )
)
-(define-method has_pending
- (of-object "GOutputStream")
- (c-name "g_output_stream_has_pending")
- (return-type "gboolean")
+(define-method get_child
+ (of-object "GSettings")
+ (c-name "g_settings_get_child")
+ (return-type "GSettings*")
+ (parameters
+ '("const-gchar*" "name")
+ )
)
-(define-method set_pending
- (of-object "GOutputStream")
- (c-name "g_output_stream_set_pending")
+(define-method is_writable
+ (of-object "GSettings")
+ (c-name "g_settings_is_writable")
(return-type "gboolean")
(parameters
- '("GError**" "error")
+ '("const-gchar*" "name")
)
)
-(define-method clear_pending
- (of-object "GOutputStream")
- (c-name "g_output_stream_clear_pending")
+(define-method delay
+ (of-object "GSettings")
+ (c-name "g_settings_delay")
(return-type "none")
)
-
-
-;; From gperiodic.h
-
-(define-function g_periodic_get_type
- (c-name "g_periodic_get_type")
- (return-type "GType")
+(define-method apply
+ (of-object "GSettings")
+ (c-name "g_settings_apply")
+ (return-type "none")
)
-(define-function g_periodic_new
- (c-name "g_periodic_new")
- (is-constructor-of "GPeriodic")
- (return-type "GPeriodic*")
- (parameters
- '("guint" "hz")
- '("gint" "high_priority")
- '("gint" "low_priority")
- )
+(define-method revert
+ (of-object "GSettings")
+ (c-name "g_settings_revert")
+ (return-type "none")
)
-(define-method get_hz
- (of-object "GPeriodic")
- (c-name "g_periodic_get_hz")
- (return-type "guint")
+(define-method get_has_unapplied
+ (of-object "GSettings")
+ (c-name "g_settings_get_has_unapplied")
+ (return-type "gboolean")
)
-(define-method get_high_priority
- (of-object "GPeriodic")
- (c-name "g_periodic_get_high_priority")
- (return-type "gint")
+(define-function g_settings_sync
+ (c-name "g_settings_sync")
+ (return-type "none")
)
-(define-method get_low_priority
- (of-object "GPeriodic")
- (c-name "g_periodic_get_low_priority")
- (return-type "gint")
+(define-method bind
+ (of-object "GSettings")
+ (c-name "g_settings_bind")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "key")
+ '("gpointer" "object")
+ '("const-gchar*" "property")
+ '("GSettingsBindFlags" "flags")
+ )
)
-(define-method add
- (of-object "GPeriodic")
- (c-name "g_periodic_add")
- (return-type "guint")
+(define-method bind_with_mapping
+ (of-object "GSettings")
+ (c-name "g_settings_bind_with_mapping")
+ (return-type "none")
(parameters
- '("GPeriodicTickFunc" "callback")
+ '("const-gchar*" "key")
+ '("gpointer" "object")
+ '("const-gchar*" "property")
+ '("GSettingsBindFlags" "flags")
+ '("GSettingsBindGetMapping" "get_mapping")
+ '("GSettingsBindSetMapping" "set_mapping")
'("gpointer" "user_data")
- '("GDestroyNotify" "notify")
+ '("GDestroyNotify" "destroy")
)
)
-(define-method remove
- (of-object "GPeriodic")
- (c-name "g_periodic_remove")
+(define-method bind_writable
+ (of-object "GSettings")
+ (c-name "g_settings_bind_writable")
(return-type "none")
(parameters
- '("guint" "tag")
+ '("const-gchar*" "key")
+ '("gpointer" "object")
+ '("const-gchar*" "property")
+ '("gboolean" "inverted")
)
)
-(define-method block
- (of-object "GPeriodic")
- (c-name "g_periodic_block")
+(define-function g_settings_unbind
+ (c-name "g_settings_unbind")
(return-type "none")
+ (parameters
+ '("gpointer" "object")
+ '("const-gchar*" "property")
+ )
)
-(define-method unblock
- (of-object "GPeriodic")
- (c-name "g_periodic_unblock")
- (return-type "none")
+(define-method get_mapped
+ (of-object "GSettings")
+ (c-name "g_settings_get_mapped")
+ (return-type "gpointer")
(parameters
- '("gint64" "unblock_time")
+ '("const-gchar*" "key")
+ '("GSettingsGetMapping" "mapping")
+ '("gpointer" "user_data")
)
)
-(define-method damaged
- (of-object "GPeriodic")
- (c-name "g_periodic_damaged")
- (return-type "none")
-)
+;; From gsettings-mapping.h
-;; From gpermission.h
-(define-function g_permission_get_type
- (c-name "g_permission_get_type")
+
+;; From gsettingsschema.h
+
+
+
+;; From gsimpleactiongroup.h
+
+(define-function g_simple_action_group_get_type
+ (c-name "g_simple_action_group_get_type")
(return-type "GType")
)
-(define-method acquire
- (of-object "GPermission")
- (c-name "g_permission_acquire")
- (return-type "gboolean")
+(define-function g_simple_action_group_new
+ (c-name "g_simple_action_group_new")
+ (is-constructor-of "GSimpleActionGroup")
+ (return-type "GSimpleActionGroup*")
+)
+
+(define-method lookup
+ (of-object "GSimpleActionGroup")
+ (c-name "g_simple_action_group_lookup")
+ (return-type "GAction*")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "action_name")
)
)
-(define-method acquire_async
- (of-object "GPermission")
- (c-name "g_permission_acquire_async")
+(define-method insert
+ (of-object "GSimpleActionGroup")
+ (c-name "g_simple_action_group_insert")
(return-type "none")
(parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GAction*" "action")
)
)
-(define-method acquire_finish
- (of-object "GPermission")
- (c-name "g_permission_acquire_finish")
- (return-type "gboolean")
+(define-method remove
+ (of-object "GSimpleActionGroup")
+ (c-name "g_simple_action_group_remove")
+ (return-type "none")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-gchar*" "action_name")
)
)
-(define-method release
- (of-object "GPermission")
- (c-name "g_permission_release")
- (return-type "gboolean")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+
+
+;; From gsimpleaction.h
+
+(define-function g_simple_action_get_type
+ (c-name "g_simple_action_get_type")
+ (return-type "GType")
)
-(define-method release_async
- (of-object "GPermission")
- (c-name "g_permission_release_async")
- (return-type "none")
+(define-function g_simple_action_new
+ (c-name "g_simple_action_new")
+ (is-constructor-of "GSimpleAction")
+ (return-type "GSimpleAction*")
(parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "name")
+ '("const-GVariantType*" "parameter_type")
)
)
-(define-method release_finish
- (of-object "GPermission")
- (c-name "g_permission_release_finish")
- (return-type "gboolean")
+(define-function g_simple_action_new_stateful
+ (c-name "g_simple_action_new_stateful")
+ (return-type "GSimpleAction*")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-gchar*" "name")
+ '("const-GVariantType*" "parameter_type")
+ '("GVariant*" "state")
)
)
-(define-method get_allowed
- (of-object "GPermission")
- (c-name "g_permission_get_allowed")
- (return-type "gboolean")
-)
-
-(define-method get_can_acquire
- (of-object "GPermission")
- (c-name "g_permission_get_can_acquire")
- (return-type "gboolean")
-)
-
-(define-method get_can_release
- (of-object "GPermission")
- (c-name "g_permission_get_can_release")
- (return-type "gboolean")
-)
-
-(define-method impl_update
- (of-object "GPermission")
- (c-name "g_permission_impl_update")
+(define-method set_enabled
+ (of-object "GSimpleAction")
+ (c-name "g_simple_action_set_enabled")
(return-type "none")
(parameters
- '("gboolean" "allowed")
- '("gboolean" "can_acquire")
- '("gboolean" "can_release")
+ '("gboolean" "enabled")
)
)
-;; From gproxyaddressenumerator.h
-
-(define-function g_proxy_address_enumerator_get_type
- (c-name "g_proxy_address_enumerator_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gproxyaddress.h
+;; From gsimpleasyncresult.h
-(define-function g_proxy_address_get_type
- (c-name "g_proxy_address_get_type")
+(define-function g_simple_async_result_get_type
+ (c-name "g_simple_async_result_get_type")
(return-type "GType")
)
-(define-function g_proxy_address_new
- (c-name "g_proxy_address_new")
- (is-constructor-of "GProxyAddress")
- (return-type "GSocketAddress*")
+(define-function g_simple_async_result_new
+ (c-name "g_simple_async_result_new")
+ (is-constructor-of "GSimpleAsyncResult")
+ (return-type "GSimpleAsyncResult*")
(parameters
- '("GInetAddress*" "inetaddr")
- '("guint16" "port")
- '("const-gchar*" "protocol")
- '("const-gchar*" "dest_hostname")
- '("guint16" "dest_port")
- '("const-gchar*" "username")
- '("const-gchar*" "password")
+ '("GObject*" "source_object")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("gpointer" "source_tag")
)
)
-(define-method get_protocol
- (of-object "GProxyAddress")
- (c-name "g_proxy_address_get_protocol")
- (return-type "const-gchar*")
-)
-
-(define-method get_destination_hostname
- (of-object "GProxyAddress")
- (c-name "g_proxy_address_get_destination_hostname")
- (return-type "const-gchar*")
-)
-
-(define-method get_destination_port
- (of-object "GProxyAddress")
- (c-name "g_proxy_address_get_destination_port")
- (return-type "guint16")
-)
-
-(define-method get_username
- (of-object "GProxyAddress")
- (c-name "g_proxy_address_get_username")
- (return-type "const-gchar*")
-)
-
-(define-method get_password
- (of-object "GProxyAddress")
- (c-name "g_proxy_address_get_password")
- (return-type "const-gchar*")
+(define-function g_simple_async_result_new_error
+ (c-name "g_simple_async_result_new_error")
+ (return-type "GSimpleAsyncResult*")
+ (parameters
+ '("GObject*" "source_object")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("GQuark" "domain")
+ '("gint" "code")
+ '("const-char*" "format")
+ )
+ (varargs #t)
)
-
-
-;; From gproxy.h
-
-(define-function g_proxy_get_type
- (c-name "g_proxy_get_type")
- (return-type "GType")
+(define-function g_simple_async_result_new_from_error
+ (c-name "g_simple_async_result_new_from_error")
+ (return-type "GSimpleAsyncResult*")
+ (parameters
+ '("GObject*" "source_object")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("const-GError*" "error")
+ )
)
-(define-function g_proxy_get_default_for_protocol
- (c-name "g_proxy_get_default_for_protocol")
- (return-type "GProxy*")
+(define-function g_simple_async_result_new_take_error
+ (c-name "g_simple_async_result_new_take_error")
+ (return-type "GSimpleAsyncResult*")
(parameters
- '("const-gchar*" "protocol")
+ '("GObject*" "source_object")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("GError*" "error")
)
)
-(define-method connect
- (of-object "GProxy")
- (c-name "g_proxy_connect")
- (return-type "GIOStream*")
+(define-method set_op_res_gpointer
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_op_res_gpointer")
+ (return-type "none")
(parameters
- '("GIOStream*" "connection")
- '("GProxyAddress*" "proxy_address")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("gpointer" "op_res")
+ '("GDestroyNotify" "destroy_op_res")
)
)
-(define-method connect_async
- (of-object "GProxy")
- (c-name "g_proxy_connect_async")
+(define-method get_op_res_gpointer
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_get_op_res_gpointer")
+ (return-type "gpointer")
+)
+
+(define-method set_op_res_gssize
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_op_res_gssize")
(return-type "none")
(parameters
- '("GIOStream*" "connection")
- '("GProxyAddress*" "proxy_address")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("gssize" "op_res")
)
)
-(define-method connect_finish
- (of-object "GProxy")
- (c-name "g_proxy_connect_finish")
- (return-type "GIOStream*")
+(define-method get_op_res_gssize
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_get_op_res_gssize")
+ (return-type "gssize")
+)
+
+(define-method set_op_res_gboolean
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_op_res_gboolean")
+ (return-type "none")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("gboolean" "op_res")
)
)
-(define-method supports_hostname
- (of-object "GProxy")
- (c-name "g_proxy_supports_hostname")
+(define-method get_op_res_gboolean
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_get_op_res_gboolean")
(return-type "gboolean")
)
+(define-method get_source_tag
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_get_source_tag")
+ (return-type "gpointer")
+)
-
-;; From gproxyresolver.h
-
-(define-function g_proxy_resolver_get_type
- (c-name "g_proxy_resolver_get_type")
- (return-type "GType")
+(define-method set_handle_cancellation
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_handle_cancellation")
+ (return-type "none")
+ (parameters
+ '("gboolean" "handle_cancellation")
+ )
)
-(define-function g_proxy_resolver_get_default
- (c-name "g_proxy_resolver_get_default")
- (return-type "GProxyResolver*")
+(define-method complete
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_complete")
+ (return-type "none")
)
-(define-method is_supported
- (of-object "GProxyResolver")
- (c-name "g_proxy_resolver_is_supported")
- (return-type "gboolean")
+(define-method complete_in_idle
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_complete_in_idle")
+ (return-type "none")
)
-(define-method lookup
- (of-object "GProxyResolver")
- (c-name "g_proxy_resolver_lookup")
- (return-type "gchar**")
+(define-method run_in_thread
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_run_in_thread")
+ (return-type "none")
(parameters
- '("const-gchar*" "uri")
+ '("GSimpleAsyncThreadFunc" "func")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GError**" "error")
)
)
-(define-method lookup_async
- (of-object "GProxyResolver")
- (c-name "g_proxy_resolver_lookup_async")
+(define-method set_from_error
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_from_error")
(return-type "none")
(parameters
- '("const-gchar*" "uri")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-GError*" "error")
)
)
-(define-method lookup_finish
- (of-object "GProxyResolver")
- (c-name "g_proxy_resolver_lookup_finish")
- (return-type "gchar**")
+(define-method take_error
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_take_error")
+ (return-type "none")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("GError*" "error")
)
)
-
-
-;; From gresolver.h
-
-(define-function g_resolver_get_type
- (c-name "g_resolver_get_type")
- (return-type "GType")
-)
-
-(define-function g_resolver_get_default
- (c-name "g_resolver_get_default")
- (return-type "GResolver*")
+(define-method propagate_error
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_propagate_error")
+ (return-type "gboolean")
+ (parameters
+ '("GError**" "dest")
+ )
)
-(define-method set_default
- (of-object "GResolver")
- (c-name "g_resolver_set_default")
+(define-method set_error
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_error")
(return-type "none")
-)
-
-(define-method lookup_by_name
- (of-object "GResolver")
- (c-name "g_resolver_lookup_by_name")
- (return-type "GList*")
(parameters
- '("const-gchar*" "hostname")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GQuark" "domain")
+ '("gint" "code")
+ '("const-char*" "format")
)
+ (varargs #t)
)
-(define-method lookup_by_name_async
- (of-object "GResolver")
- (c-name "g_resolver_lookup_by_name_async")
+(define-method set_error_va
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_error_va")
(return-type "none")
(parameters
- '("const-gchar*" "hostname")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GQuark" "domain")
+ '("gint" "code")
+ '("const-char*" "format")
+ '("va_list" "args")
)
)
-(define-method lookup_by_name_finish
- (of-object "GResolver")
- (c-name "g_resolver_lookup_by_name_finish")
- (return-type "GList*")
+(define-function g_simple_async_result_is_valid
+ (c-name "g_simple_async_result_is_valid")
+ (return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
- '("GError**" "error")
+ '("GObject*" "source")
+ '("gpointer" "source_tag")
)
)
-(define-function g_resolver_free_addresses
- (c-name "g_resolver_free_addresses")
+(define-function g_simple_async_report_error_in_idle
+ (c-name "g_simple_async_report_error_in_idle")
(return-type "none")
(parameters
- '("GList*" "addresses")
+ '("GObject*" "object")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("GQuark" "domain")
+ '("gint" "code")
+ '("const-char*" "format")
)
+ (varargs #t)
)
-(define-method lookup_by_address
- (of-object "GResolver")
- (c-name "g_resolver_lookup_by_address")
- (return-type "gchar*")
+(define-function g_simple_async_report_gerror_in_idle
+ (c-name "g_simple_async_report_gerror_in_idle")
+ (return-type "none")
(parameters
- '("GInetAddress*" "address")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GObject*" "object")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("const-GError*" "error")
)
)
-(define-method lookup_by_address_async
- (of-object "GResolver")
- (c-name "g_resolver_lookup_by_address_async")
+(define-function g_simple_async_report_take_gerror_in_idle
+ (c-name "g_simple_async_report_take_gerror_in_idle")
(return-type "none")
(parameters
- '("GInetAddress*" "address")
- '("GCancellable*" "cancellable")
+ '("GObject*" "object")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
+ '("GError*" "error")
)
)
-(define-method lookup_by_address_finish
- (of-object "GResolver")
- (c-name "g_resolver_lookup_by_address_finish")
- (return-type "gchar*")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
+
+
+;; From gsimplepermission.h
+
+(define-function g_simple_permission_get_type
+ (c-name "g_simple_permission_get_type")
+ (return-type "GType")
)
-(define-method lookup_service
- (of-object "GResolver")
- (c-name "g_resolver_lookup_service")
- (return-type "GList*")
+(define-function g_simple_permission_new
+ (c-name "g_simple_permission_new")
+ (is-constructor-of "GSimplePermission")
+ (return-type "GPermission*")
(parameters
- '("const-gchar*" "service")
- '("const-gchar*" "protocol")
- '("const-gchar*" "domain")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("gboolean" "allowed")
)
)
-(define-method lookup_service_async
- (of-object "GResolver")
- (c-name "g_resolver_lookup_service_async")
- (return-type "none")
- (parameters
- '("const-gchar*" "service")
- '("const-gchar*" "protocol")
- '("const-gchar*" "domain")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+
+
+;; From gsocketaddressenumerator.h
+
+(define-function g_socket_address_enumerator_get_type
+ (c-name "g_socket_address_enumerator_get_type")
+ (return-type "GType")
)
-(define-method lookup_service_finish
- (of-object "GResolver")
- (c-name "g_resolver_lookup_service_finish")
- (return-type "GList*")
+(define-method next
+ (of-object "GSocketAddressEnumerator")
+ (c-name "g_socket_address_enumerator_next")
+ (return-type "GSocketAddress*")
(parameters
- '("GAsyncResult*" "result")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function g_resolver_free_targets
- (c-name "g_resolver_free_targets")
+(define-method next_async
+ (of-object "GSocketAddressEnumerator")
+ (c-name "g_socket_address_enumerator_next_async")
(return-type "none")
(parameters
- '("GList*" "targets")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-function g_resolver_error_quark
- (c-name "g_resolver_error_quark")
- (return-type "GQuark")
+(define-method next_finish
+ (of-object "GSocketAddressEnumerator")
+ (c-name "g_socket_address_enumerator_next_finish")
+ (return-type "GSocketAddress*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-;; From gseekable.h
+;; From gsocketaddress.h
-(define-function g_seekable_get_type
- (c-name "g_seekable_get_type")
+(define-function g_socket_address_get_type
+ (c-name "g_socket_address_get_type")
(return-type "GType")
)
-(define-method tell
- (of-object "GSeekable")
- (c-name "g_seekable_tell")
- (return-type "goffset")
-)
-
-(define-method can_seek
- (of-object "GSeekable")
- (c-name "g_seekable_can_seek")
- (return-type "gboolean")
+(define-method get_family
+ (of-object "GSocketAddress")
+ (c-name "g_socket_address_get_family")
+ (return-type "GSocketFamily")
)
-(define-method seek
- (of-object "GSeekable")
- (c-name "g_seekable_seek")
- (return-type "gboolean")
+(define-function g_socket_address_new_from_native
+ (c-name "g_socket_address_new_from_native")
+ (return-type "GSocketAddress*")
(parameters
- '("goffset" "offset")
- '("GSeekType" "type")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("gpointer" "native")
+ '("gsize" "len")
)
)
-(define-method can_truncate
- (of-object "GSeekable")
- (c-name "g_seekable_can_truncate")
- (return-type "gboolean")
-)
-
-(define-method truncate
- (of-object "GSeekable")
- (c-name "g_seekable_truncate")
+(define-method to_native
+ (of-object "GSocketAddress")
+ (c-name "g_socket_address_to_native")
(return-type "gboolean")
(parameters
- '("goffset" "offset")
- '("GCancellable*" "cancellable")
+ '("gpointer" "dest")
+ '("gsize" "destlen")
'("GError**" "error")
)
)
+(define-method get_native_size
+ (of-object "GSocketAddress")
+ (c-name "g_socket_address_get_native_size")
+ (return-type "gssize")
+)
+
-;; From gsettingsbackend.h
+;; From gsocketclient.h
-(define-function g_settings_backend_get_type
- (c-name "g_settings_backend_get_type")
+(define-function g_socket_client_get_type
+ (c-name "g_socket_client_get_type")
(return-type "GType")
)
-(define-method changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_changed")
- (return-type "none")
- (parameters
- '("const-gchar*" "key")
- '("gpointer" "origin_tag")
- )
+(define-function g_socket_client_new
+ (c-name "g_socket_client_new")
+ (is-constructor-of "GSocketClient")
+ (return-type "GSocketClient*")
)
-(define-method path_changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_path_changed")
- (return-type "none")
- (parameters
- '("const-gchar*" "path")
- '("gpointer" "origin_tag")
- )
+(define-method get_family
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_family")
+ (return-type "GSocketFamily")
)
-(define-function g_settings_backend_flatten_tree
- (c-name "g_settings_backend_flatten_tree")
+(define-method set_family
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_family")
(return-type "none")
(parameters
- '("GTree*" "tree")
- '("gchar**" "path")
- '("const-gchar***" "keys")
- '("GVariant***" "values")
+ '("GSocketFamily" "family")
)
)
-(define-method keys_changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_keys_changed")
+(define-method get_socket_type
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_socket_type")
+ (return-type "GSocketType")
+)
+
+(define-method set_socket_type
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_socket_type")
(return-type "none")
(parameters
- '("const-gchar*" "path")
- '("gchar-const*-const*" "items")
- '("gpointer" "origin_tag")
+ '("GSocketType" "type")
)
)
-(define-method path_writable_changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_path_writable_changed")
+(define-method get_protocol
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_protocol")
+ (return-type "GSocketProtocol")
+)
+
+(define-method set_protocol
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_protocol")
(return-type "none")
(parameters
- '("const-gchar*" "path")
+ '("GSocketProtocol" "protocol")
)
)
-(define-method writable_changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_writable_changed")
+(define-method get_local_address
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_local_address")
+ (return-type "GSocketAddress*")
+)
+
+(define-method set_local_address
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_local_address")
(return-type "none")
(parameters
- '("const-gchar*" "key")
+ '("GSocketAddress*" "address")
)
)
-(define-method changed_tree
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_changed_tree")
+(define-method get_timeout
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_timeout")
+ (return-type "guint")
+)
+
+(define-method set_timeout
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_timeout")
(return-type "none")
(parameters
- '("GTree*" "tree")
- '("gpointer" "origin_tag")
+ '("guint" "timeout")
)
)
-(define-function g_keyfile_settings_backend_new
- (c-name "g_keyfile_settings_backend_new")
- (is-constructor-of "GKeyfileSettingsBackend")
- (return-type "GSettingsBackend*")
+(define-method get_enable_proxy
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_enable_proxy")
+ (return-type "gboolean")
+)
+
+(define-method set_enable_proxy
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_enable_proxy")
+ (return-type "none")
(parameters
- '("const-gchar*" "filename")
- '("const-gchar*" "root_path")
- '("const-gchar*" "root_group")
+ '("gboolean" "enable")
)
)
-
-
-;; From gsettings.h
-
-(define-function g_settings_get_type
- (c-name "g_settings_get_type")
- (return-type "GType")
+(define-method get_tls
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_tls")
+ (return-type "gboolean")
)
-(define-function g_settings_new
- (c-name "g_settings_new")
- (is-constructor-of "GSettings")
- (return-type "GSettings*")
+(define-method set_tls
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_tls")
+ (return-type "none")
(parameters
- '("const-gchar*" "schema")
+ '("gboolean" "tls")
)
)
-(define-function g_settings_new_with_path
- (c-name "g_settings_new_with_path")
- (return-type "GSettings*")
- (parameters
- '("const-gchar*" "schema")
- '("const-gchar*" "path")
- )
+(define-method get_tls_validation_flags
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_tls_validation_flags")
+ (return-type "GTlsCertificateFlags")
)
-(define-function g_settings_new_with_backend
- (c-name "g_settings_new_with_backend")
- (return-type "GSettings*")
+(define-method set_tls_validation_flags
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_tls_validation_flags")
+ (return-type "none")
(parameters
- '("const-gchar*" "schema")
- '("GSettingsBackend*" "backend")
+ '("GTlsCertificateFlags" "flags")
)
)
-(define-function g_settings_new_with_backend_and_path
- (c-name "g_settings_new_with_backend_and_path")
- (return-type "GSettings*")
+(define-method connect
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect")
+ (return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "schema")
- '("GSettingsBackend*" "backend")
- '("const-gchar*" "path")
+ '("GSocketConnectable*" "connectable")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(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_range
- (of-object "GSettings")
- (c-name "g_settings_get_range")
- (return-type "GVariant*")
+(define-method connect_to_host
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_host")
+ (return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "key")
+ '("const-gchar*" "host_and_port")
+ '("guint16" "default_port")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method range_check
- (of-object "GSettings")
- (c-name "g_settings_range_check")
- (return-type "gboolean")
+(define-method connect_to_service
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_service")
+ (return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "key")
- '("GVariant*" "value")
+ '("const-gchar*" "domain")
+ '("const-gchar*" "service")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method set_value
- (of-object "GSettings")
- (c-name "g_settings_set_value")
- (return-type "gboolean")
+(define-method connect_to_uri
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_uri")
+ (return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "key")
- '("GVariant*" "value")
+ '("const-gchar*" "uri")
+ '("guint16" "default_port")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_value
- (of-object "GSettings")
- (c-name "g_settings_get_value")
- (return-type "GVariant*")
+(define-method connect_async
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_async")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
+ '("GSocketConnectable*" "connectable")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method set
- (of-object "GSettings")
- (c-name "g_settings_set")
- (return-type "gboolean")
+(define-method connect_finish
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_finish")
+ (return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "key")
- '("const-gchar*" "format")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
- (varargs #t)
)
-(define-method get
- (of-object "GSettings")
- (c-name "g_settings_get")
+(define-method connect_to_host_async
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_host_async")
(return-type "none")
(parameters
- '("const-gchar*" "key")
- '("const-gchar*" "format")
+ '("const-gchar*" "host_and_port")
+ '("guint16" "default_port")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
- (varargs #t)
)
-(define-method reset
- (of-object "GSettings")
- (c-name "g_settings_reset")
- (return-type "none")
+(define-method connect_to_host_finish
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_host_finish")
+ (return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "key")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-method get_int
- (of-object "GSettings")
- (c-name "g_settings_get_int")
- (return-type "gint")
+(define-method connect_to_service_async
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_service_async")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
+ '("const-gchar*" "domain")
+ '("const-gchar*" "service")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method set_int
- (of-object "GSettings")
- (c-name "g_settings_set_int")
- (return-type "gboolean")
+(define-method connect_to_service_finish
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_service_finish")
+ (return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "key")
- '("gint" "value")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-method get_string
- (of-object "GSettings")
- (c-name "g_settings_get_string")
- (return-type "gchar*")
+(define-method connect_to_uri_async
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_uri_async")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
+ '("const-gchar*" "uri")
+ '("guint16" "default_port")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method set_string
- (of-object "GSettings")
- (c-name "g_settings_set_string")
- (return-type "gboolean")
+(define-method connect_to_uri_finish
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_uri_finish")
+ (return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "key")
- '("const-gchar*" "value")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-method get_boolean
- (of-object "GSettings")
- (c-name "g_settings_get_boolean")
- (return-type "gboolean")
+(define-method add_application_proxy
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_add_application_proxy")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
+ '("const-gchar*" "protocol")
)
)
-(define-method set_boolean
- (of-object "GSettings")
- (c-name "g_settings_set_boolean")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("gboolean" "value")
- )
+
+
+;; From gsocketconnectable.h
+
+(define-function g_socket_connectable_get_type
+ (c-name "g_socket_connectable_get_type")
+ (return-type "GType")
)
-(define-method get_double
- (of-object "GSettings")
- (c-name "g_settings_get_double")
- (return-type "gdouble")
+(define-method enumerate
+ (of-object "GSocketConnectable")
+ (c-name "g_socket_connectable_enumerate")
+ (return-type "GSocketAddressEnumerator*")
+)
+
+(define-method proxy_enumerate
+ (of-object "GSocketConnectable")
+ (c-name "g_socket_connectable_proxy_enumerate")
+ (return-type "GSocketAddressEnumerator*")
+)
+
+
+
+;; From gsocketconnection.h
+
+(define-function g_socket_connection_get_type
+ (c-name "g_socket_connection_get_type")
+ (return-type "GType")
+)
+
+(define-method get_socket
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_get_socket")
+ (return-type "GSocket*")
+)
+
+(define-method get_local_address
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_get_local_address")
+ (return-type "GSocketAddress*")
(parameters
- '("const-gchar*" "key")
+ '("GError**" "error")
)
)
-(define-method set_double
- (of-object "GSettings")
- (c-name "g_settings_set_double")
- (return-type "gboolean")
+(define-method get_remote_address
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_get_remote_address")
+ (return-type "GSocketAddress*")
(parameters
- '("const-gchar*" "key")
- '("gdouble" "value")
+ '("GError**" "error")
)
)
-(define-method get_strv
- (of-object "GSettings")
- (c-name "g_settings_get_strv")
- (return-type "gchar**")
+(define-function g_socket_connection_factory_register_type
+ (c-name "g_socket_connection_factory_register_type")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
+ '("GType" "g_type")
+ '("GSocketFamily" "family")
+ '("GSocketType" "type")
+ '("gint" "protocol")
)
)
-(define-method set_strv
- (of-object "GSettings")
- (c-name "g_settings_set_strv")
- (return-type "gboolean")
+(define-function g_socket_connection_factory_lookup_type
+ (c-name "g_socket_connection_factory_lookup_type")
+ (return-type "GType")
(parameters
- '("const-gchar*" "key")
- '("const-gchar*-const*" "value")
+ '("GSocketFamily" "family")
+ '("GSocketType" "type")
+ '("gint" "protocol_id")
)
)
-(define-method get_enum
- (of-object "GSettings")
- (c-name "g_settings_get_enum")
- (return-type "gint")
- (parameters
- '("const-gchar*" "key")
- )
+(define-method connection_factory_create_connection
+ (of-object "GSocket")
+ (c-name "g_socket_connection_factory_create_connection")
+ (return-type "GSocketConnection*")
+)
+
+
+
+;; From gsocketcontrolmessage.h
+
+(define-function g_socket_control_message_get_type
+ (c-name "g_socket_control_message_get_type")
+ (return-type "GType")
+)
+
+(define-method get_size
+ (of-object "GSocketControlMessage")
+ (c-name "g_socket_control_message_get_size")
+ (return-type "gsize")
+)
+
+(define-method get_level
+ (of-object "GSocketControlMessage")
+ (c-name "g_socket_control_message_get_level")
+ (return-type "int")
+)
+
+(define-method get_msg_type
+ (of-object "GSocketControlMessage")
+ (c-name "g_socket_control_message_get_msg_type")
+ (return-type "int")
)
-(define-method set_enum
- (of-object "GSettings")
- (c-name "g_settings_set_enum")
- (return-type "gboolean")
+(define-method serialize
+ (of-object "GSocketControlMessage")
+ (c-name "g_socket_control_message_serialize")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
- '("gint" "value")
+ '("gpointer" "data")
)
)
-(define-method get_flags
- (of-object "GSettings")
- (c-name "g_settings_get_flags")
- (return-type "guint")
+(define-function g_socket_control_message_deserialize
+ (c-name "g_socket_control_message_deserialize")
+ (return-type "GSocketControlMessage*")
(parameters
- '("const-gchar*" "key")
+ '("int" "level")
+ '("int" "type")
+ '("gsize" "size")
+ '("gpointer" "data")
)
)
-(define-method set_flags
- (of-object "GSettings")
- (c-name "g_settings_set_flags")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("guint" "value")
- )
+
+
+;; From gsocket.h
+
+(define-function g_socket_get_type
+ (c-name "g_socket_get_type")
+ (return-type "GType")
)
-(define-method get_child
- (of-object "GSettings")
- (c-name "g_settings_get_child")
- (return-type "GSettings*")
+(define-function g_socket_new
+ (c-name "g_socket_new")
+ (is-constructor-of "GSocket")
+ (return-type "GSocket*")
(parameters
- '("const-gchar*" "name")
+ '("GSocketFamily" "family")
+ '("GSocketType" "type")
+ '("GSocketProtocol" "protocol")
+ '("GError**" "error")
)
)
-(define-method is_writable
- (of-object "GSettings")
- (c-name "g_settings_is_writable")
- (return-type "gboolean")
+(define-function g_socket_new_from_fd
+ (c-name "g_socket_new_from_fd")
+ (return-type "GSocket*")
(parameters
- '("const-gchar*" "name")
+ '("gint" "fd")
+ '("GError**" "error")
)
)
-(define-method delay
- (of-object "GSettings")
- (c-name "g_settings_delay")
- (return-type "none")
-)
-
-(define-method apply
- (of-object "GSettings")
- (c-name "g_settings_apply")
- (return-type "none")
+(define-method get_fd
+ (of-object "GSocket")
+ (c-name "g_socket_get_fd")
+ (return-type "int")
)
-(define-method revert
- (of-object "GSettings")
- (c-name "g_settings_revert")
- (return-type "none")
+(define-method get_family
+ (of-object "GSocket")
+ (c-name "g_socket_get_family")
+ (return-type "GSocketFamily")
)
-(define-method get_has_unapplied
- (of-object "GSettings")
- (c-name "g_settings_get_has_unapplied")
- (return-type "gboolean")
+(define-method get_socket_type
+ (of-object "GSocket")
+ (c-name "g_socket_get_socket_type")
+ (return-type "GSocketType")
)
-(define-function g_settings_sync
- (c-name "g_settings_sync")
- (return-type "none")
+(define-method get_protocol
+ (of-object "GSocket")
+ (c-name "g_socket_get_protocol")
+ (return-type "GSocketProtocol")
)
-(define-method bind
- (of-object "GSettings")
- (c-name "g_settings_bind")
- (return-type "none")
+(define-method get_local_address
+ (of-object "GSocket")
+ (c-name "g_socket_get_local_address")
+ (return-type "GSocketAddress*")
(parameters
- '("const-gchar*" "key")
- '("gpointer" "object")
- '("const-gchar*" "property")
- '("GSettingsBindFlags" "flags")
+ '("GError**" "error")
)
)
-(define-method bind_with_mapping
- (of-object "GSettings")
- (c-name "g_settings_bind_with_mapping")
- (return-type "none")
+(define-method get_remote_address
+ (of-object "GSocket")
+ (c-name "g_socket_get_remote_address")
+ (return-type "GSocketAddress*")
(parameters
- '("const-gchar*" "key")
- '("gpointer" "object")
- '("const-gchar*" "property")
- '("GSettingsBindFlags" "flags")
- '("GSettingsBindGetMapping" "get_mapping")
- '("GSettingsBindSetMapping" "set_mapping")
- '("gpointer" "user_data")
- '("GDestroyNotify" "destroy")
+ '("GError**" "error")
)
)
-(define-method bind_writable
- (of-object "GSettings")
- (c-name "g_settings_bind_writable")
+(define-method set_blocking
+ (of-object "GSocket")
+ (c-name "g_socket_set_blocking")
(return-type "none")
(parameters
- '("const-gchar*" "key")
- '("gpointer" "object")
- '("const-gchar*" "property")
- '("gboolean" "inverted")
+ '("gboolean" "blocking")
)
)
-(define-function g_settings_unbind
- (c-name "g_settings_unbind")
- (return-type "none")
- (parameters
- '("gpointer" "object")
- '("const-gchar*" "property")
- )
+(define-method get_blocking
+ (of-object "GSocket")
+ (c-name "g_socket_get_blocking")
+ (return-type "gboolean")
)
-(define-method get_mapped
- (of-object "GSettings")
- (c-name "g_settings_get_mapped")
- (return-type "gpointer")
+(define-method set_keepalive
+ (of-object "GSocket")
+ (c-name "g_socket_set_keepalive")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
- '("GSettingsGetMapping" "mapping")
- '("gpointer" "user_data")
+ '("gboolean" "keepalive")
)
)
-
-
-;; From gsimpleactiongroup.h
-
-(define-function g_simple_action_group_get_type
- (c-name "g_simple_action_group_get_type")
- (return-type "GType")
+(define-method get_keepalive
+ (of-object "GSocket")
+ (c-name "g_socket_get_keepalive")
+ (return-type "gboolean")
)
-(define-function g_simple_action_group_new
- (c-name "g_simple_action_group_new")
- (is-constructor-of "GSimpleActionGroup")
- (return-type "GSimpleActionGroup*")
+(define-method get_listen_backlog
+ (of-object "GSocket")
+ (c-name "g_socket_get_listen_backlog")
+ (return-type "gint")
)
-(define-method lookup
- (of-object "GSimpleActionGroup")
- (c-name "g_simple_action_group_lookup")
- (return-type "GAction*")
+(define-method set_listen_backlog
+ (of-object "GSocket")
+ (c-name "g_socket_set_listen_backlog")
+ (return-type "none")
(parameters
- '("const-gchar*" "action_name")
+ '("gint" "backlog")
)
)
-(define-method insert
- (of-object "GSimpleActionGroup")
- (c-name "g_simple_action_group_insert")
- (return-type "none")
- (parameters
- '("GAction*" "action")
- )
+(define-method get_timeout
+ (of-object "GSocket")
+ (c-name "g_socket_get_timeout")
+ (return-type "guint")
)
-(define-method remove
- (of-object "GSimpleActionGroup")
- (c-name "g_simple_action_group_remove")
+(define-method set_timeout
+ (of-object "GSocket")
+ (c-name "g_socket_set_timeout")
(return-type "none")
(parameters
- '("const-gchar*" "action_name")
+ '("guint" "timeout")
)
)
+(define-method is_connected
+ (of-object "GSocket")
+ (c-name "g_socket_is_connected")
+ (return-type "gboolean")
+)
-
-;; From gsimpleaction.h
-
-(define-function g_simple_action_get_type
- (c-name "g_simple_action_get_type")
- (return-type "GType")
+(define-method bind
+ (of-object "GSocket")
+ (c-name "g_socket_bind")
+ (return-type "gboolean")
+ (parameters
+ '("GSocketAddress*" "address")
+ '("gboolean" "allow_reuse")
+ '("GError**" "error")
+ )
)
-(define-function g_simple_action_new
- (c-name "g_simple_action_new")
- (is-constructor-of "GSimpleAction")
- (return-type "GSimpleAction*")
+(define-method connect
+ (of-object "GSocket")
+ (c-name "g_socket_connect")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "name")
- '("const-GVariantType*" "parameter_type")
+ '("GSocketAddress*" "address")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_simple_action_new_stateful
- (c-name "g_simple_action_new_stateful")
- (return-type "GSimpleAction*")
+(define-method check_connect_result
+ (of-object "GSocket")
+ (c-name "g_socket_check_connect_result")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "name")
- '("const-GVariantType*" "parameter_type")
- '("GVariant*" "state")
+ '("GError**" "error")
)
)
-(define-method set_enabled
- (of-object "GSimpleAction")
- (c-name "g_simple_action_set_enabled")
- (return-type "none")
+(define-method condition_check
+ (of-object "GSocket")
+ (c-name "g_socket_condition_check")
+ (return-type "GIOCondition")
(parameters
- '("gboolean" "enabled")
+ '("GIOCondition" "condition")
)
)
-
-
-;; From gsimpleasyncresult.h
-
-(define-function g_simple_async_result_get_type
- (c-name "g_simple_async_result_get_type")
- (return-type "GType")
+(define-method condition_wait
+ (of-object "GSocket")
+ (c-name "g_socket_condition_wait")
+ (return-type "gboolean")
+ (parameters
+ '("GIOCondition" "condition")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-function g_simple_async_result_new
- (c-name "g_simple_async_result_new")
- (is-constructor-of "GSimpleAsyncResult")
- (return-type "GSimpleAsyncResult*")
+(define-method accept
+ (of-object "GSocket")
+ (c-name "g_socket_accept")
+ (return-type "GSocket*")
(parameters
- '("GObject*" "source_object")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("gpointer" "source_tag")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_simple_async_result_new_error
- (c-name "g_simple_async_result_new_error")
- (return-type "GSimpleAsyncResult*")
+(define-method listen
+ (of-object "GSocket")
+ (c-name "g_socket_listen")
+ (return-type "gboolean")
(parameters
- '("GObject*" "source_object")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("GQuark" "domain")
- '("gint" "code")
- '("const-char*" "format")
+ '("GError**" "error")
)
- (varargs #t)
)
-(define-function g_simple_async_result_new_from_error
- (c-name "g_simple_async_result_new_from_error")
- (return-type "GSimpleAsyncResult*")
+(define-method receive
+ (of-object "GSocket")
+ (c-name "g_socket_receive")
+ (return-type "gssize")
(parameters
- '("GObject*" "source_object")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("const-GError*" "error")
+ '("gchar*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_simple_async_result_new_take_error
- (c-name "g_simple_async_result_new_take_error")
- (return-type "GSimpleAsyncResult*")
+(define-method receive_from
+ (of-object "GSocket")
+ (c-name "g_socket_receive_from")
+ (return-type "gssize")
(parameters
- '("GObject*" "source_object")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("GError*" "error")
+ '("GSocketAddress**" "address")
+ '("gchar*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method set_op_res_gpointer
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_op_res_gpointer")
- (return-type "none")
+(define-method send
+ (of-object "GSocket")
+ (c-name "g_socket_send")
+ (return-type "gssize")
(parameters
- '("gpointer" "op_res")
- '("GDestroyNotify" "destroy_op_res")
+ '("const-gchar*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_op_res_gpointer
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_get_op_res_gpointer")
- (return-type "gpointer")
+(define-method send_to
+ (of-object "GSocket")
+ (c-name "g_socket_send_to")
+ (return-type "gssize")
+ (parameters
+ '("GSocketAddress*" "address")
+ '("const-gchar*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method set_op_res_gssize
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_op_res_gssize")
- (return-type "none")
+(define-method receive_message
+ (of-object "GSocket")
+ (c-name "g_socket_receive_message")
+ (return-type "gssize")
(parameters
- '("gssize" "op_res")
+ '("GSocketAddress**" "address")
+ '("GInputVector*" "vectors")
+ '("gint" "num_vectors")
+ '("GSocketControlMessage***" "messages")
+ '("gint*" "num_messages")
+ '("gint*" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_op_res_gssize
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_get_op_res_gssize")
+(define-method send_message
+ (of-object "GSocket")
+ (c-name "g_socket_send_message")
(return-type "gssize")
+ (parameters
+ '("GSocketAddress*" "address")
+ '("GOutputVector*" "vectors")
+ '("gint" "num_vectors")
+ '("GSocketControlMessage**" "messages")
+ '("gint" "num_messages")
+ '("gint" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method set_op_res_gboolean
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_op_res_gboolean")
- (return-type "none")
+(define-method close
+ (of-object "GSocket")
+ (c-name "g_socket_close")
+ (return-type "gboolean")
(parameters
- '("gboolean" "op_res")
+ '("GError**" "error")
)
)
-(define-method get_op_res_gboolean
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_get_op_res_gboolean")
+(define-method shutdown
+ (of-object "GSocket")
+ (c-name "g_socket_shutdown")
(return-type "gboolean")
+ (parameters
+ '("gboolean" "shutdown_read")
+ '("gboolean" "shutdown_write")
+ '("GError**" "error")
+ )
)
-(define-method get_source_tag
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_get_source_tag")
- (return-type "gpointer")
+(define-method is_closed
+ (of-object "GSocket")
+ (c-name "g_socket_is_closed")
+ (return-type "gboolean")
)
-(define-method set_handle_cancellation
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_handle_cancellation")
- (return-type "none")
+(define-method create_source
+ (of-object "GSocket")
+ (c-name "g_socket_create_source")
+ (return-type "GSource*")
(parameters
- '("gboolean" "handle_cancellation")
+ '("GIOCondition" "condition")
+ '("GCancellable*" "cancellable")
)
)
-(define-method complete
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_complete")
- (return-type "none")
+(define-method speaks_ipv4
+ (of-object "GSocket")
+ (c-name "g_socket_speaks_ipv4")
+ (return-type "gboolean")
)
-(define-method complete_in_idle
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_complete_in_idle")
- (return-type "none")
+(define-method get_credentials
+ (of-object "GSocket")
+ (c-name "g_socket_get_credentials")
+ (return-type "GCredentials*")
+ (parameters
+ '("GError**" "error")
+ )
)
-(define-method run_in_thread
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_run_in_thread")
- (return-type "none")
+(define-method receive_with_blocking
+ (of-object "GSocket")
+ (c-name "g_socket_receive_with_blocking")
+ (return-type "gssize")
(parameters
- '("GSimpleAsyncThreadFunc" "func")
- '("int" "io_priority")
+ '("gchar*" "buffer")
+ '("gsize" "size")
+ '("gboolean" "blocking")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method send_with_blocking
+ (of-object "GSocket")
+ (c-name "g_socket_send_with_blocking")
+ (return-type "gssize")
+ (parameters
+ '("const-gchar*" "buffer")
+ '("gsize" "size")
+ '("gboolean" "blocking")
'("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method set_from_error
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_from_error")
- (return-type "none")
- (parameters
- '("const-GError*" "error")
- )
+
+
+;; From gsocketinputstream.h
+
+
+
+;; From gsocketlistener.h
+
+(define-function g_socket_listener_get_type
+ (c-name "g_socket_listener_get_type")
+ (return-type "GType")
+)
+
+(define-function g_socket_listener_new
+ (c-name "g_socket_listener_new")
+ (is-constructor-of "GSocketListener")
+ (return-type "GSocketListener*")
)
-(define-method take_error
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_take_error")
+(define-method set_backlog
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_set_backlog")
(return-type "none")
(parameters
- '("GError*" "error")
+ '("int" "listen_backlog")
)
)
-(define-method propagate_error
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_propagate_error")
+(define-method add_socket
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_add_socket")
(return-type "gboolean")
(parameters
- '("GError**" "dest")
- )
-)
-
-(define-method set_error
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_error")
- (return-type "none")
- (parameters
- '("GQuark" "domain")
- '("gint" "code")
- '("const-char*" "format")
+ '("GSocket*" "socket")
+ '("GObject*" "source_object")
+ '("GError**" "error")
)
- (varargs #t)
)
-(define-method set_error_va
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_error_va")
- (return-type "none")
+(define-method add_address
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_add_address")
+ (return-type "gboolean")
(parameters
- '("GQuark" "domain")
- '("gint" "code")
- '("const-char*" "format")
- '("va_list" "args")
+ '("GSocketAddress*" "address")
+ '("GSocketType" "type")
+ '("GSocketProtocol" "protocol")
+ '("GObject*" "source_object")
+ '("GSocketAddress**" "effective_address")
+ '("GError**" "error")
)
)
-(define-function g_simple_async_result_is_valid
- (c-name "g_simple_async_result_is_valid")
+(define-method add_inet_port
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_add_inet_port")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GObject*" "source")
- '("gpointer" "source_tag")
+ '("guint16" "port")
+ '("GObject*" "source_object")
+ '("GError**" "error")
)
)
-(define-function g_simple_async_report_error_in_idle
- (c-name "g_simple_async_report_error_in_idle")
- (return-type "none")
+(define-method add_any_inet_port
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_add_any_inet_port")
+ (return-type "guint16")
(parameters
- '("GObject*" "object")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("GQuark" "domain")
- '("gint" "code")
- '("const-char*" "format")
+ '("GObject*" "source_object")
+ '("GError**" "error")
)
- (varargs #t)
)
-(define-function g_simple_async_report_gerror_in_idle
- (c-name "g_simple_async_report_gerror_in_idle")
- (return-type "none")
+(define-method accept_socket
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_accept_socket")
+ (return-type "GSocket*")
(parameters
- '("GObject*" "object")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("const-GError*" "error")
+ '("GObject**" "source_object")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_simple_async_report_take_gerror_in_idle
- (c-name "g_simple_async_report_take_gerror_in_idle")
+(define-method accept_socket_async
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_accept_socket_async")
(return-type "none")
(parameters
- '("GObject*" "object")
+ '("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
- '("GError*" "error")
)
)
-
-
-;; From gsimplepermission.h
-
-(define-function g_simple_permission_get_type
- (c-name "g_simple_permission_get_type")
- (return-type "GType")
-)
-
-(define-function g_simple_permission_new
- (c-name "g_simple_permission_new")
- (is-constructor-of "GSimplePermission")
- (return-type "GPermission*")
+(define-method accept_socket_finish
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_accept_socket_finish")
+ (return-type "GSocket*")
(parameters
- '("gboolean" "allowed")
+ '("GAsyncResult*" "result")
+ '("GObject**" "source_object")
+ '("GError**" "error")
)
)
-
-
-;; From gsocketaddressenumerator.h
-
-(define-function g_socket_address_enumerator_get_type
- (c-name "g_socket_address_enumerator_get_type")
- (return-type "GType")
-)
-
-(define-method next
- (of-object "GSocketAddressEnumerator")
- (c-name "g_socket_address_enumerator_next")
- (return-type "GSocketAddress*")
+(define-method accept
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_accept")
+ (return-type "GSocketConnection*")
(parameters
+ '("GObject**" "source_object")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method next_async
- (of-object "GSocketAddressEnumerator")
- (c-name "g_socket_address_enumerator_next_async")
+(define-method accept_async
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_accept_async")
(return-type "none")
(parameters
'("GCancellable*" "cancellable")
@@ -10262,1141 +12973,1204 @@
)
)
-(define-method next_finish
- (of-object "GSocketAddressEnumerator")
- (c-name "g_socket_address_enumerator_next_finish")
- (return-type "GSocketAddress*")
+(define-method accept_finish
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_accept_finish")
+ (return-type "GSocketConnection*")
(parameters
'("GAsyncResult*" "result")
+ '("GObject**" "source_object")
'("GError**" "error")
)
)
+(define-method close
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_close")
+ (return-type "none")
+)
+
-;; From gsocketaddress.h
+;; From gsocketoutputstream.h
-(define-function g_socket_address_get_type
- (c-name "g_socket_address_get_type")
+
+
+;; From gsocketservice.h
+
+(define-function g_socket_service_get_type
+ (c-name "g_socket_service_get_type")
(return-type "GType")
)
-(define-method get_family
- (of-object "GSocketAddress")
- (c-name "g_socket_address_get_family")
- (return-type "GSocketFamily")
+(define-function g_socket_service_new
+ (c-name "g_socket_service_new")
+ (is-constructor-of "GSocketService")
+ (return-type "GSocketService*")
)
-(define-function g_socket_address_new_from_native
- (c-name "g_socket_address_new_from_native")
- (return-type "GSocketAddress*")
- (parameters
- '("gpointer" "native")
- '("gsize" "len")
- )
+(define-method start
+ (of-object "GSocketService")
+ (c-name "g_socket_service_start")
+ (return-type "none")
)
-(define-method to_native
- (of-object "GSocketAddress")
- (c-name "g_socket_address_to_native")
- (return-type "gboolean")
- (parameters
- '("gpointer" "dest")
- '("gsize" "destlen")
- '("GError**" "error")
- )
+(define-method stop
+ (of-object "GSocketService")
+ (c-name "g_socket_service_stop")
+ (return-type "none")
)
-(define-method get_native_size
- (of-object "GSocketAddress")
- (c-name "g_socket_address_get_native_size")
- (return-type "gssize")
+(define-method is_active
+ (of-object "GSocketService")
+ (c-name "g_socket_service_is_active")
+ (return-type "gboolean")
)
-;; From gsocketclient.h
+;; From gsocks4aproxy.h
-(define-function g_socket_client_get_type
- (c-name "g_socket_client_get_type")
- (return-type "GType")
-)
-(define-function g_socket_client_new
- (c-name "g_socket_client_new")
- (is-constructor-of "GSocketClient")
- (return-type "GSocketClient*")
-)
-(define-method get_family
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_family")
- (return-type "GSocketFamily")
+;; From gsocks4proxy.h
+
+
+
+;; From gsocks5proxy.h
+
+
+
+;; From gsrvtarget.h
+
+(define-function g_srv_target_get_type
+ (c-name "g_srv_target_get_type")
+ (return-type "GType")
)
-(define-method set_family
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_family")
- (return-type "none")
+(define-function g_srv_target_new
+ (c-name "g_srv_target_new")
+ (is-constructor-of "GSrvTarget")
+ (return-type "GSrvTarget*")
(parameters
- '("GSocketFamily" "family")
+ '("const-gchar*" "hostname")
+ '("guint16" "port")
+ '("guint16" "priority")
+ '("guint16" "weight")
)
)
-(define-method get_socket_type
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_socket_type")
- (return-type "GSocketType")
+(define-method copy
+ (of-object "GSrvTarget")
+ (c-name "g_srv_target_copy")
+ (return-type "GSrvTarget*")
)
-(define-method set_socket_type
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_socket_type")
+(define-method free
+ (of-object "GSrvTarget")
+ (c-name "g_srv_target_free")
(return-type "none")
- (parameters
- '("GSocketType" "type")
- )
)
-(define-method get_protocol
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_protocol")
- (return-type "GSocketProtocol")
+(define-method get_hostname
+ (of-object "GSrvTarget")
+ (c-name "g_srv_target_get_hostname")
+ (return-type "const-gchar*")
)
-(define-method set_protocol
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_protocol")
- (return-type "none")
- (parameters
- '("GSocketProtocol" "protocol")
- )
+(define-method get_port
+ (of-object "GSrvTarget")
+ (c-name "g_srv_target_get_port")
+ (return-type "guint16")
)
-(define-method get_local_address
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_local_address")
- (return-type "GSocketAddress*")
+(define-method get_priority
+ (of-object "GSrvTarget")
+ (c-name "g_srv_target_get_priority")
+ (return-type "guint16")
)
-(define-method set_local_address
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_local_address")
- (return-type "none")
+(define-method get_weight
+ (of-object "GSrvTarget")
+ (c-name "g_srv_target_get_weight")
+ (return-type "guint16")
+)
+
+(define-function g_srv_target_list_sort
+ (c-name "g_srv_target_list_sort")
+ (return-type "GList*")
(parameters
- '("GSocketAddress*" "address")
+ '("GList*" "targets")
)
)
-(define-method get_timeout
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_timeout")
- (return-type "guint")
+
+
+;; From gtcpconnection.h
+
+(define-function g_tcp_connection_get_type
+ (c-name "g_tcp_connection_get_type")
+ (return-type "GType")
)
-(define-method set_timeout
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_timeout")
+(define-method set_graceful_disconnect
+ (of-object "GTcpConnection")
+ (c-name "g_tcp_connection_set_graceful_disconnect")
(return-type "none")
(parameters
- '("guint" "timeout")
+ '("gboolean" "graceful_disconnect")
)
)
-(define-method get_enable_proxy
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_enable_proxy")
+(define-method get_graceful_disconnect
+ (of-object "GTcpConnection")
+ (c-name "g_tcp_connection_get_graceful_disconnect")
(return-type "gboolean")
)
-(define-method set_enable_proxy
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_enable_proxy")
- (return-type "none")
- (parameters
- '("gboolean" "enable")
- )
-)
-(define-method connect
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect")
- (return-type "GSocketConnection*")
- (parameters
- '("GSocketConnectable*" "connectable")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-(define-method connect_to_host
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_host")
- (return-type "GSocketConnection*")
- (parameters
- '("const-gchar*" "host_and_port")
- '("guint16" "default_port")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+;; From gtcpwrapperconnection.h
+
+(define-function g_tcp_wrapper_connection_get_type
+ (c-name "g_tcp_wrapper_connection_get_type")
+ (return-type "GType")
)
-(define-method connect_to_service
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_service")
+(define-function g_tcp_wrapper_connection_new
+ (c-name "g_tcp_wrapper_connection_new")
+ (is-constructor-of "GTcpWrapperConnection")
(return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "domain")
- '("const-gchar*" "service")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GIOStream*" "base_io_stream")
+ '("GSocket*" "socket")
)
)
-(define-method connect_to_uri
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_uri")
- (return-type "GSocketConnection*")
- (parameters
- '("const-gchar*" "uri")
- '("guint16" "default_port")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_base_io_stream
+ (of-object "GTcpWrapperConnection")
+ (c-name "g_tcp_wrapper_connection_get_base_io_stream")
+ (return-type "GIOStream*")
)
-(define-method connect_async
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_async")
- (return-type "none")
- (parameters
- '("GSocketConnectable*" "connectable")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+
+
+;; From gthemedicon.h
+
+(define-function g_themed_icon_get_type
+ (c-name "g_themed_icon_get_type")
+ (return-type "GType")
)
-(define-method connect_finish
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_finish")
- (return-type "GSocketConnection*")
+(define-function g_themed_icon_new
+ (c-name "g_themed_icon_new")
+ (is-constructor-of "GThemedIcon")
+ (return-type "GIcon*")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-char*" "iconname")
)
)
-(define-method connect_to_host_async
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_host_async")
- (return-type "none")
+(define-function g_themed_icon_new_with_default_fallbacks
+ (c-name "g_themed_icon_new_with_default_fallbacks")
+ (return-type "GIcon*")
(parameters
- '("const-gchar*" "host_and_port")
- '("guint16" "default_port")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-char*" "iconname")
)
)
-(define-method connect_to_host_finish
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_host_finish")
- (return-type "GSocketConnection*")
+(define-function g_themed_icon_new_from_names
+ (c-name "g_themed_icon_new_from_names")
+ (return-type "GIcon*")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("char**" "iconnames")
+ '("int" "len")
)
)
-(define-method connect_to_service_async
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_service_async")
+(define-method prepend_name
+ (of-object "GThemedIcon")
+ (c-name "g_themed_icon_prepend_name")
(return-type "none")
(parameters
- '("const-gchar*" "domain")
- '("const-gchar*" "service")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-char*" "iconname")
)
)
-(define-method connect_to_service_finish
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_service_finish")
- (return-type "GSocketConnection*")
+(define-method append_name
+ (of-object "GThemedIcon")
+ (c-name "g_themed_icon_append_name")
+ (return-type "none")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-char*" "iconname")
)
)
-(define-method connect_to_uri_async
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_uri_async")
- (return-type "none")
- (parameters
- '("const-gchar*" "uri")
- '("guint16" "default_port")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+
+
+;; From gthreadedresolver.h
+
+(define-function g_threaded_resolver_get_type
+ (c-name "g_threaded_resolver_get_type")
+ (return-type "GType")
)
-(define-method connect_to_uri_finish
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_uri_finish")
- (return-type "GSocketConnection*")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
+
+
+;; From gthreadedsocketservice.h
+
+(define-function g_threaded_socket_service_get_type
+ (c-name "g_threaded_socket_service_get_type")
+ (return-type "GType")
)
-(define-method add_application_proxy
- (of-object "GSocketClient")
- (c-name "g_socket_client_add_application_proxy")
- (return-type "none")
+(define-function g_threaded_socket_service_new
+ (c-name "g_threaded_socket_service_new")
+ (is-constructor-of "GThreadedSocketService")
+ (return-type "GSocketService*")
(parameters
- '("const-gchar*" "protocol")
+ '("int" "max_threads")
)
)
-;; From gsocketconnectable.h
-
-(define-function g_socket_connectable_get_type
- (c-name "g_socket_connectable_get_type")
- (return-type "GType")
-)
+;; From gtimezonemonitor.h
-(define-method enumerate
- (of-object "GSocketConnectable")
- (c-name "g_socket_connectable_enumerate")
- (return-type "GSocketAddressEnumerator*")
+(define-function g_time_zone_monitor_get_type
+ (c-name "g_time_zone_monitor_get_type")
+ (return-type "GType")
)
-(define-method proxy_enumerate
- (of-object "GSocketConnectable")
- (c-name "g_socket_connectable_proxy_enumerate")
- (return-type "GSocketAddressEnumerator*")
+(define-function g_time_zone_monitor_get
+ (c-name "g_time_zone_monitor_get")
+ (return-type "GTimeZoneMonitor*")
)
-;; From gsocketconnection.h
+;; From gtlsbackend.h
-(define-function g_socket_connection_get_type
- (c-name "g_socket_connection_get_type")
+(define-function g_tls_backend_get_type
+ (c-name "g_tls_backend_get_type")
(return-type "GType")
)
-(define-method get_socket
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_get_socket")
- (return-type "GSocket*")
-)
-
-(define-method get_local_address
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_get_local_address")
- (return-type "GSocketAddress*")
- (parameters
- '("GError**" "error")
- )
+(define-function g_tls_backend_get_default
+ (c-name "g_tls_backend_get_default")
+ (return-type "GTlsBackend*")
)
-(define-method get_remote_address
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_get_remote_address")
- (return-type "GSocketAddress*")
- (parameters
- '("GError**" "error")
- )
+(define-method supports_tls
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_supports_tls")
+ (return-type "gboolean")
)
-(define-function g_socket_connection_factory_register_type
- (c-name "g_socket_connection_factory_register_type")
- (return-type "none")
- (parameters
- '("GType" "g_type")
- '("GSocketFamily" "family")
- '("GSocketType" "type")
- '("gint" "protocol")
- )
+(define-method get_certificate_type
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_certificate_type")
+ (return-type "GType")
)
-(define-function g_socket_connection_factory_lookup_type
- (c-name "g_socket_connection_factory_lookup_type")
+(define-method get_client_connection_type
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_client_connection_type")
(return-type "GType")
- (parameters
- '("GSocketFamily" "family")
- '("GSocketType" "type")
- '("gint" "protocol_id")
- )
)
-(define-method connection_factory_create_connection
- (of-object "GSocket")
- (c-name "g_socket_connection_factory_create_connection")
- (return-type "GSocketConnection*")
+(define-method get_server_connection_type
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_server_connection_type")
+ (return-type "GType")
)
-;; From gsocketcontrolmessage.h
+;; From gtlscertificate.h
-(define-function g_socket_control_message_get_type
- (c-name "g_socket_control_message_get_type")
+(define-function g_tls_certificate_get_type
+ (c-name "g_tls_certificate_get_type")
(return-type "GType")
)
-(define-method get_size
- (of-object "GSocketControlMessage")
- (c-name "g_socket_control_message_get_size")
- (return-type "gsize")
+(define-function g_tls_certificate_new_from_pem
+ (c-name "g_tls_certificate_new_from_pem")
+ (return-type "GTlsCertificate*")
+ (parameters
+ '("const-gchar*" "data")
+ '("gssize" "length")
+ '("GError**" "error")
+ )
)
-(define-method get_level
- (of-object "GSocketControlMessage")
- (c-name "g_socket_control_message_get_level")
- (return-type "int")
+(define-function g_tls_certificate_new_from_file
+ (c-name "g_tls_certificate_new_from_file")
+ (return-type "GTlsCertificate*")
+ (parameters
+ '("const-gchar*" "file")
+ '("GError**" "error")
+ )
)
-(define-method get_msg_type
- (of-object "GSocketControlMessage")
- (c-name "g_socket_control_message_get_msg_type")
- (return-type "int")
+(define-function g_tls_certificate_new_from_files
+ (c-name "g_tls_certificate_new_from_files")
+ (return-type "GTlsCertificate*")
+ (parameters
+ '("const-gchar*" "cert_file")
+ '("const-gchar*" "key_file")
+ '("GError**" "error")
+ )
)
-(define-method serialize
- (of-object "GSocketControlMessage")
- (c-name "g_socket_control_message_serialize")
- (return-type "none")
+(define-function g_tls_certificate_list_new_from_file
+ (c-name "g_tls_certificate_list_new_from_file")
+ (return-type "GList*")
(parameters
- '("gpointer" "data")
+ '("const-gchar*" "file")
+ '("GError**" "error")
)
)
-(define-function g_socket_control_message_deserialize
- (c-name "g_socket_control_message_deserialize")
- (return-type "GSocketControlMessage*")
+(define-method get_issuer
+ (of-object "GTlsCertificate")
+ (c-name "g_tls_certificate_get_issuer")
+ (return-type "GTlsCertificate*")
+)
+
+(define-method verify
+ (of-object "GTlsCertificate")
+ (c-name "g_tls_certificate_verify")
+ (return-type "GTlsCertificateFlags")
(parameters
- '("int" "level")
- '("int" "type")
- '("gsize" "size")
- '("gpointer" "data")
+ '("GSocketConnectable*" "identity")
+ '("GTlsCertificate*" "trusted_ca")
)
)
-;; From gsocket.h
+;; From gtlsclientconnection.h
-(define-function g_socket_get_type
- (c-name "g_socket_get_type")
+(define-function g_tls_client_connection_get_type
+ (c-name "g_tls_client_connection_get_type")
(return-type "GType")
)
-(define-function g_socket_new
- (c-name "g_socket_new")
- (is-constructor-of "GSocket")
- (return-type "GSocket*")
+(define-function g_tls_client_connection_new
+ (c-name "g_tls_client_connection_new")
+ (is-constructor-of "GTlsClientConnection")
+ (return-type "GIOStream*")
(parameters
- '("GSocketFamily" "family")
- '("GSocketType" "type")
- '("GSocketProtocol" "protocol")
+ '("GIOStream*" "base_io_stream")
+ '("GSocketConnectable*" "server_identity")
'("GError**" "error")
)
)
-(define-function g_socket_new_from_fd
- (c-name "g_socket_new_from_fd")
- (return-type "GSocket*")
- (parameters
- '("gint" "fd")
- '("GError**" "error")
- )
+(define-method get_validation_flags
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_get_validation_flags")
+ (return-type "GTlsCertificateFlags")
)
-(define-method get_fd
- (of-object "GSocket")
- (c-name "g_socket_get_fd")
- (return-type "int")
+(define-method set_validation_flags
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_set_validation_flags")
+ (return-type "none")
+ (parameters
+ '("GTlsCertificateFlags" "flags")
+ )
)
-(define-method get_family
- (of-object "GSocket")
- (c-name "g_socket_get_family")
- (return-type "GSocketFamily")
+(define-method get_server_identity
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_get_server_identity")
+ (return-type "GSocketConnectable*")
)
-(define-method get_socket_type
- (of-object "GSocket")
- (c-name "g_socket_get_socket_type")
- (return-type "GSocketType")
+(define-method set_server_identity
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_set_server_identity")
+ (return-type "none")
+ (parameters
+ '("GSocketConnectable*" "identity")
+ )
)
-(define-method get_protocol
- (of-object "GSocket")
- (c-name "g_socket_get_protocol")
- (return-type "GSocketProtocol")
+(define-method get_use_ssl3
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_get_use_ssl3")
+ (return-type "gboolean")
)
-(define-method get_local_address
- (of-object "GSocket")
- (c-name "g_socket_get_local_address")
- (return-type "GSocketAddress*")
+(define-method set_use_ssl3
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_set_use_ssl3")
+ (return-type "none")
(parameters
- '("GError**" "error")
+ '("gboolean" "use_ssl3")
)
)
-(define-method get_remote_address
- (of-object "GSocket")
- (c-name "g_socket_get_remote_address")
- (return-type "GSocketAddress*")
- (parameters
- '("GError**" "error")
- )
+(define-method get_accepted_cas
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_get_accepted_cas")
+ (return-type "GList*")
)
-(define-method set_blocking
- (of-object "GSocket")
- (c-name "g_socket_set_blocking")
+
+
+;; From gtlsconnection.h
+
+(define-function g_tls_connection_get_type
+ (c-name "g_tls_connection_get_type")
+ (return-type "GType")
+)
+
+(define-method set_use_system_certdb
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_set_use_system_certdb")
(return-type "none")
(parameters
- '("gboolean" "blocking")
+ '("gboolean" "use_system_certdb")
)
)
-(define-method get_blocking
- (of-object "GSocket")
- (c-name "g_socket_get_blocking")
+(define-method get_use_system_certdb
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_get_use_system_certdb")
(return-type "gboolean")
)
-(define-method set_keepalive
- (of-object "GSocket")
- (c-name "g_socket_set_keepalive")
+(define-method set_certificate
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_set_certificate")
(return-type "none")
(parameters
- '("gboolean" "keepalive")
+ '("GTlsCertificate*" "certificate")
)
)
-(define-method get_keepalive
- (of-object "GSocket")
- (c-name "g_socket_get_keepalive")
- (return-type "gboolean")
+(define-method get_certificate
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_get_certificate")
+ (return-type "GTlsCertificate*")
)
-(define-method get_listen_backlog
- (of-object "GSocket")
- (c-name "g_socket_get_listen_backlog")
- (return-type "gint")
+(define-method get_peer_certificate
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_get_peer_certificate")
+ (return-type "GTlsCertificate*")
)
-(define-method set_listen_backlog
- (of-object "GSocket")
- (c-name "g_socket_set_listen_backlog")
+(define-method get_peer_certificate_errors
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_get_peer_certificate_errors")
+ (return-type "GTlsCertificateFlags")
+)
+
+(define-method set_require_close_notify
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_set_require_close_notify")
(return-type "none")
(parameters
- '("gint" "backlog")
+ '("gboolean" "require_close_notify")
)
)
-(define-method get_timeout
- (of-object "GSocket")
- (c-name "g_socket_get_timeout")
- (return-type "guint")
+(define-method get_require_close_notify
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_get_require_close_notify")
+ (return-type "gboolean")
)
-(define-method set_timeout
- (of-object "GSocket")
- (c-name "g_socket_set_timeout")
+(define-method set_rehandshake_mode
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_set_rehandshake_mode")
(return-type "none")
(parameters
- '("guint" "timeout")
+ '("GTlsRehandshakeMode" "mode")
)
)
-(define-method is_connected
- (of-object "GSocket")
- (c-name "g_socket_is_connected")
- (return-type "gboolean")
+(define-method get_rehandshake_mode
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_get_rehandshake_mode")
+ (return-type "GTlsRehandshakeMode")
)
-(define-method bind
- (of-object "GSocket")
- (c-name "g_socket_bind")
+(define-method handshake
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_handshake")
(return-type "gboolean")
(parameters
- '("GSocketAddress*" "address")
- '("gboolean" "allow_reuse")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method connect
- (of-object "GSocket")
- (c-name "g_socket_connect")
- (return-type "gboolean")
+(define-method handshake_async
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_handshake_async")
+ (return-type "none")
(parameters
- '("GSocketAddress*" "address")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method check_connect_result
- (of-object "GSocket")
- (c-name "g_socket_check_connect_result")
+(define-method handshake_finish
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_handshake_finish")
(return-type "gboolean")
(parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method condition_check
- (of-object "GSocket")
- (c-name "g_socket_condition_check")
- (return-type "GIOCondition")
- (parameters
- '("GIOCondition" "condition")
- )
+(define-function g_tls_error_quark
+ (c-name "g_tls_error_quark")
+ (return-type "GQuark")
)
-(define-method condition_wait
- (of-object "GSocket")
- (c-name "g_socket_condition_wait")
+(define-method emit_accept_certificate
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_emit_accept_certificate")
(return-type "gboolean")
(parameters
- '("GIOCondition" "condition")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GTlsCertificate*" "peer_cert")
+ '("GTlsCertificateFlags" "errors")
)
)
-(define-method accept
- (of-object "GSocket")
- (c-name "g_socket_accept")
- (return-type "GSocket*")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+
+
+;; From gtlsserverconnection.h
+
+(define-function g_tls_server_connection_get_type
+ (c-name "g_tls_server_connection_get_type")
+ (return-type "GType")
)
-(define-method listen
- (of-object "GSocket")
- (c-name "g_socket_listen")
- (return-type "gboolean")
+(define-function g_tls_server_connection_new
+ (c-name "g_tls_server_connection_new")
+ (is-constructor-of "GTlsServerConnection")
+ (return-type "GIOStream*")
(parameters
+ '("GIOStream*" "base_io_stream")
+ '("GTlsCertificate*" "certificate")
'("GError**" "error")
)
)
-(define-method receive
- (of-object "GSocket")
- (c-name "g_socket_receive")
- (return-type "gssize")
+
+
+;; 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
- '("gchar*" "buffer")
- '("gsize" "size")
+ '("gint" "fd")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method receive_from
- (of-object "GSocket")
- (c-name "g_socket_receive_from")
- (return-type "gssize")
+(define-method receive_fd
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_fd")
+ (return-type "gint")
(parameters
- '("GSocketAddress**" "address")
- '("gchar*" "buffer")
- '("gsize" "size")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method send
- (of-object "GSocket")
- (c-name "g_socket_send")
- (return-type "gssize")
+(define-method send_credentials
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_send_credentials")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "buffer")
- '("gsize" "size")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method send_to
- (of-object "GSocket")
- (c-name "g_socket_send_to")
- (return-type "gssize")
+(define-method receive_credentials
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_credentials")
+ (return-type "GCredentials*")
(parameters
- '("GSocketAddress*" "address")
- '("const-gchar*" "buffer")
- '("gsize" "size")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method receive_message
- (of-object "GSocket")
- (c-name "g_socket_receive_message")
- (return-type "gssize")
+
+
+;; 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
- '("GSocketAddress**" "address")
- '("GInputVector*" "vectors")
- '("gint" "num_vectors")
- '("GSocketControlMessage***" "messages")
- '("gint*" "num_messages")
- '("gint*" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GCredentials*" "credentials")
)
)
-(define-method send_message
- (of-object "GSocket")
- (c-name "g_socket_send_message")
- (return-type "gssize")
+(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
- '("GSocketAddress*" "address")
- '("GOutputVector*" "vectors")
- '("gint" "num_vectors")
- '("GSocketControlMessage**" "messages")
- '("gint" "num_messages")
- '("gint" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gint*" "fds")
+ '("gint" "n_fds")
)
)
-(define-method close
- (of-object "GSocket")
- (c-name "g_socket_close")
- (return-type "gboolean")
+(define-method append
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_append")
+ (return-type "gint")
(parameters
+ '("gint" "fd")
'("GError**" "error")
)
)
-(define-method shutdown
- (of-object "GSocket")
- (c-name "g_socket_shutdown")
- (return-type "gboolean")
+(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
- '("gboolean" "shutdown_read")
- '("gboolean" "shutdown_write")
+ '("gint" "index_")
'("GError**" "error")
)
)
-(define-method is_closed
- (of-object "GSocket")
- (c-name "g_socket_is_closed")
- (return-type "gboolean")
+(define-method peek_fds
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_peek_fds")
+ (return-type "const-gint*")
+ (parameters
+ '("gint*" "length")
+ )
)
-(define-method create_source
- (of-object "GSocket")
- (c-name "g_socket_create_source")
- (return-type "GSource*")
+(define-method steal_fds
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_steal_fds")
+ (return-type "gint*")
(parameters
- '("GIOCondition" "condition")
- '("GCancellable*" "cancellable")
+ '("gint*" "length")
)
)
-(define-method speaks_ipv4
- (of-object "GSocket")
- (c-name "g_socket_speaks_ipv4")
- (return-type "gboolean")
+
+
+;; From gunixfdmessage.h
+
+(define-function g_unix_fd_message_get_type
+ (c-name "g_unix_fd_message_get_type")
+ (return-type "GType")
)
-(define-method get_credentials
- (of-object "GSocket")
- (c-name "g_socket_get_credentials")
- (return-type "GCredentials*")
+(define-function g_unix_fd_message_new_with_fd_list
+ (c-name "g_unix_fd_message_new_with_fd_list")
+ (return-type "GSocketControlMessage*")
(parameters
- '("GError**" "error")
+ '("GUnixFDList*" "fd_list")
)
)
-(define-method receive_with_blocking
- (of-object "GSocket")
- (c-name "g_socket_receive_with_blocking")
- (return-type "gssize")
+(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
- '("gchar*" "buffer")
- '("gsize" "size")
- '("gboolean" "blocking")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("gint*" "length")
)
)
-(define-method send_with_blocking
- (of-object "GSocket")
- (c-name "g_socket_send_with_blocking")
- (return-type "gssize")
+(define-method append_fd
+ (of-object "GUnixFDMessage")
+ (c-name "g_unix_fd_message_append_fd")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "buffer")
- '("gsize" "size")
- '("gboolean" "blocking")
- '("GCancellable*" "cancellable")
+ '("gint" "fd")
'("GError**" "error")
)
)
-;; From gsocketlistener.h
+;; From gunixinputstream.h
-(define-function g_socket_listener_get_type
- (c-name "g_socket_listener_get_type")
+(define-function g_unix_input_stream_get_type
+ (c-name "g_unix_input_stream_get_type")
(return-type "GType")
)
-(define-function g_socket_listener_new
- (c-name "g_socket_listener_new")
- (is-constructor-of "GSocketListener")
- (return-type "GSocketListener*")
+(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_backlog
- (of-object "GSocketListener")
- (c-name "g_socket_listener_set_backlog")
+(define-method set_close_fd
+ (of-object "GUnixInputStream")
+ (c-name "g_unix_input_stream_set_close_fd")
(return-type "none")
(parameters
- '("int" "listen_backlog")
+ '("gboolean" "close_fd")
)
)
-(define-method add_socket
- (of-object "GSocketListener")
- (c-name "g_socket_listener_add_socket")
+(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
- '("GSocket*" "socket")
- '("GObject*" "source_object")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method add_address
- (of-object "GSocketListener")
- (c-name "g_socket_listener_add_address")
- (return-type "gboolean")
+(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
- '("GSocketAddress*" "address")
- '("GSocketType" "type")
- '("GSocketProtocol" "protocol")
- '("GObject*" "source_object")
- '("GSocketAddress**" "effective_address")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount1")
+ '("GUnixMountEntry*" "mount2")
)
)
-(define-method add_inet_port
- (of-object "GSocketListener")
- (c-name "g_socket_listener_add_inet_port")
- (return-type "gboolean")
+(define-function g_unix_mount_get_mount_path
+ (c-name "g_unix_mount_get_mount_path")
+ (return-type "const-char*")
(parameters
- '("guint16" "port")
- '("GObject*" "source_object")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method add_any_inet_port
- (of-object "GSocketListener")
- (c-name "g_socket_listener_add_any_inet_port")
- (return-type "guint16")
+(define-function g_unix_mount_get_device_path
+ (c-name "g_unix_mount_get_device_path")
+ (return-type "const-char*")
(parameters
- '("GObject*" "source_object")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method accept_socket
- (of-object "GSocketListener")
- (c-name "g_socket_listener_accept_socket")
- (return-type "GSocket*")
+(define-function g_unix_mount_get_fs_type
+ (c-name "g_unix_mount_get_fs_type")
+ (return-type "const-char*")
(parameters
- '("GObject**" "source_object")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method accept_socket_async
- (of-object "GSocketListener")
- (c-name "g_socket_listener_accept_socket_async")
- (return-type "none")
+(define-function g_unix_mount_is_readonly
+ (c-name "g_unix_mount_is_readonly")
+ (return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method accept_socket_finish
- (of-object "GSocketListener")
- (c-name "g_socket_listener_accept_socket_finish")
- (return-type "GSocket*")
+(define-function g_unix_mount_is_system_internal
+ (c-name "g_unix_mount_is_system_internal")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GObject**" "source_object")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method accept
- (of-object "GSocketListener")
- (c-name "g_socket_listener_accept")
- (return-type "GSocketConnection*")
+(define-function g_unix_mount_guess_can_eject
+ (c-name "g_unix_mount_guess_can_eject")
+ (return-type "gboolean")
(parameters
- '("GObject**" "source_object")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method accept_async
- (of-object "GSocketListener")
- (c-name "g_socket_listener_accept_async")
- (return-type "none")
- (parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+(define-function g_unix_mount_guess_should_display
+ (c-name "g_unix_mount_guess_should_display")
+ (return-type "gboolean")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method accept_finish
- (of-object "GSocketListener")
- (c-name "g_socket_listener_accept_finish")
- (return-type "GSocketConnection*")
+(define-function g_unix_mount_guess_name
+ (c-name "g_unix_mount_guess_name")
+ (return-type "char*")
(parameters
- '("GAsyncResult*" "result")
- '("GObject**" "source_object")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method close
- (of-object "GSocketListener")
- (c-name "g_socket_listener_close")
- (return-type "none")
+(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*")
+)
-;; From gsocketservice.h
-
-(define-function g_socket_service_get_type
- (c-name "g_socket_service_get_type")
- (return-type "GType")
+(define-method get_device_path
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_device_path")
+ (return-type "const-char*")
)
-(define-function g_socket_service_new
- (c-name "g_socket_service_new")
- (is-constructor-of "GSocketService")
- (return-type "GSocketService*")
+(define-method get_fs_type
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_fs_type")
+ (return-type "const-char*")
)
-(define-method start
- (of-object "GSocketService")
- (c-name "g_socket_service_start")
- (return-type "none")
+(define-method is_readonly
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_readonly")
+ (return-type "gboolean")
)
-(define-method stop
- (of-object "GSocketService")
- (c-name "g_socket_service_stop")
- (return-type "none")
+(define-method is_user_mountable
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_user_mountable")
+ (return-type "gboolean")
)
-(define-method is_active
- (of-object "GSocketService")
- (c-name "g_socket_service_is_active")
+(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*")
+)
-;; From gsrvtarget.h
+(define-method guess_icon
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_icon")
+ (return-type "GIcon*")
+)
-(define-function g_srv_target_get_type
- (c-name "g_srv_target_get_type")
- (return-type "GType")
+(define-function g_unix_mount_points_get
+ (c-name "g_unix_mount_points_get")
+ (return-type "GList*")
+ (parameters
+ '("guint64*" "time_read")
+ )
)
-(define-function g_srv_target_new
- (c-name "g_srv_target_new")
- (is-constructor-of "GSrvTarget")
- (return-type "GSrvTarget*")
+(define-function g_unix_mounts_get
+ (c-name "g_unix_mounts_get")
+ (return-type "GList*")
(parameters
- '("const-gchar*" "hostname")
- '("guint16" "port")
- '("guint16" "priority")
- '("guint16" "weight")
+ '("guint64*" "time_read")
)
)
-(define-method copy
- (of-object "GSrvTarget")
- (c-name "g_srv_target_copy")
- (return-type "GSrvTarget*")
+(define-function g_unix_mount_at
+ (c-name "g_unix_mount_at")
+ (return-type "GUnixMountEntry*")
+ (parameters
+ '("const-char*" "mount_path")
+ '("guint64*" "time_read")
+ )
)
-(define-method free
- (of-object "GSrvTarget")
- (c-name "g_srv_target_free")
- (return-type "none")
+(define-function g_unix_mounts_changed_since
+ (c-name "g_unix_mounts_changed_since")
+ (return-type "gboolean")
+ (parameters
+ '("guint64" "time")
+ )
)
-(define-method get_hostname
- (of-object "GSrvTarget")
- (c-name "g_srv_target_get_hostname")
- (return-type "const-gchar*")
+(define-function g_unix_mount_points_changed_since
+ (c-name "g_unix_mount_points_changed_since")
+ (return-type "gboolean")
+ (parameters
+ '("guint64" "time")
+ )
)
-(define-method get_port
- (of-object "GSrvTarget")
- (c-name "g_srv_target_get_port")
- (return-type "guint16")
+(define-function g_unix_mount_monitor_get_type
+ (c-name "g_unix_mount_monitor_get_type")
+ (return-type "GType")
)
-(define-method get_priority
- (of-object "GSrvTarget")
- (c-name "g_srv_target_get_priority")
- (return-type "guint16")
+(define-function g_unix_mount_monitor_new
+ (c-name "g_unix_mount_monitor_new")
+ (is-constructor-of "GUnixMountMonitor")
+ (return-type "GUnixMountMonitor*")
)
-(define-method get_weight
- (of-object "GSrvTarget")
- (c-name "g_srv_target_get_weight")
- (return-type "guint16")
+(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_srv_target_list_sort
- (c-name "g_srv_target_list_sort")
- (return-type "GList*")
+(define-function g_unix_is_mount_path_system_internal
+ (c-name "g_unix_is_mount_path_system_internal")
+ (return-type "gboolean")
(parameters
- '("GList*" "targets")
+ '("const-char*" "mount_path")
)
)
-;; From gtcpconnection.h
+;; From gunixoutputstream.h
-(define-function g_tcp_connection_get_type
- (c-name "g_tcp_connection_get_type")
+(define-function g_unix_output_stream_get_type
+ (c-name "g_unix_output_stream_get_type")
(return-type "GType")
)
-(define-method set_graceful_disconnect
- (of-object "GTcpConnection")
- (c-name "g_tcp_connection_set_graceful_disconnect")
+(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" "graceful_disconnect")
+ '("gboolean" "close_fd")
)
)
-(define-method get_graceful_disconnect
- (of-object "GTcpConnection")
- (c-name "g_tcp_connection_get_graceful_disconnect")
+(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 gthemedicon.h
+;; From gunixresolver.h
-(define-function g_themed_icon_get_type
- (c-name "g_themed_icon_get_type")
+(define-function g_unix_resolver_get_type
+ (c-name "g_unix_resolver_get_type")
(return-type "GType")
)
-(define-function g_themed_icon_new
- (c-name "g_themed_icon_new")
- (is-constructor-of "GThemedIcon")
- (return-type "GIcon*")
- (parameters
- '("const-char*" "iconname")
- )
-)
-(define-function g_themed_icon_new_with_default_fallbacks
- (c-name "g_themed_icon_new_with_default_fallbacks")
- (return-type "GIcon*")
- (parameters
- '("const-char*" "iconname")
- )
+
+;; 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_themed_icon_new_from_names
- (c-name "g_themed_icon_new_from_names")
- (return-type "GIcon*")
+(define-function g_unix_socket_address_new
+ (c-name "g_unix_socket_address_new")
+ (is-constructor-of "GUnixSocketAddress")
+ (return-type "GSocketAddress*")
(parameters
- '("char**" "iconnames")
- '("int" "len")
+ '("const-gchar*" "path")
)
)
-(define-method prepend_name
- (of-object "GThemedIcon")
- (c-name "g_themed_icon_prepend_name")
- (return-type "none")
+(define-function g_unix_socket_address_new_abstract
+ (c-name "g_unix_socket_address_new_abstract")
+ (return-type "GSocketAddress*")
(parameters
- '("const-char*" "iconname")
+ '("const-gchar*" "path")
+ '("gint" "path_len")
)
)
-(define-method append_name
- (of-object "GThemedIcon")
- (c-name "g_themed_icon_append_name")
- (return-type "none")
+(define-function g_unix_socket_address_new_with_type
+ (c-name "g_unix_socket_address_new_with_type")
+ (return-type "GSocketAddress*")
(parameters
- '("const-char*" "iconname")
+ '("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")
+)
-;; From gthreadedsocketservice.h
+(define-method get_address_type
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_address_type")
+ (return-type "GUnixSocketAddressType")
+)
-(define-function g_threaded_socket_service_get_type
- (c-name "g_threaded_socket_service_get_type")
- (return-type "GType")
+(define-method get_is_abstract
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_is_abstract")
+ (return-type "gboolean")
)
-(define-function g_threaded_socket_service_new
- (c-name "g_threaded_socket_service_new")
- (is-constructor-of "GThreadedSocketService")
- (return-type "GSocketService*")
- (parameters
- '("int" "max_threads")
- )
+(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
@@ -11653,6 +14427,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_methods.defs.patch b/gio/src/gio_methods.defs.patch
new file mode 100644
index 0000000..4c6711f
--- /dev/null
+++ b/gio/src/gio_methods.defs.patch
@@ -0,0 +1,66 @@
+--- gio_methods.defs 2011-06-19 18:23:06.000000000 -0400
++++ gio_methods_new.defs 2011-06-19 18:21:21.000000000 -0400
+@@ -867,8 +867,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")
+ )
+ )
+
+@@ -888,7 +888,7 @@
+ (c-name "GMountMountFlags")
+ (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
+ (values
+- '("e" "G_MOUNT_MOUNT_NONE")
++ '("none" "G_MOUNT_MOUNT_NONE")
+ )
+ )
+
+@@ -907,7 +907,7 @@
+ (c-name "GDriveStartFlags")
+ (gtype-id "G_TYPE_DRIVE_START_FLAGS")
+ (values
+- '("e" "G_DRIVE_START_NONE")
++ '("none" "G_DRIVE_START_NONE")
+ )
+ )
+
+@@ -1321,8 +1321,8 @@
+ (c-name "GDBusCallFlags")
+ (gtype-id "G_TYPE_D_BUS_CALL_FLAGS")
+ (values
+- '("ne" "G_DBUS_CALL_FLAGS_NONE")
+- '("-auto-start" "G_DBUS_CALL_FLAGS_NO_AUTO_START")
++ '("none" "G_DBUS_CALL_FLAGS_NONE")
++ '("no-auto-start" "G_DBUS_CALL_FLAGS_NO_AUTO_START")
+ )
+ )
+
+@@ -1344,9 +1344,9 @@
+ (c-name "GDBusMessageFlags")
+ (gtype-id "G_TYPE_D_BUS_MESSAGE_FLAGS")
+ (values
+- '("ne" "G_DBUS_MESSAGE_FLAGS_NONE")
+- '("-reply-expected" "G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED")
+- '("-auto-start" "G_DBUS_MESSAGE_FLAGS_NO_AUTO_START")
++ '("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")
+ )
+ )
+
+@@ -1405,8 +1405,8 @@
+ (c-name "GDBusSignalFlags")
+ (gtype-id "G_TYPE_D_BUS_SIGNAL_FLAGS")
+ (values
+- '("ne" "G_DBUS_SIGNAL_FLAGS_NONE")
+- '("-match-rule" "G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE")
++ '("none" "G_DBUS_SIGNAL_FLAGS_NONE")
++ '("no-match-rule" "G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE")
+ )
+ )
+
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs
index 7b45139..97ceb95 100644
--- a/gio/src/gio_signals.defs
+++ b/gio/src/gio_signals.defs
@@ -113,7 +113,7 @@
(define-property inactivity-timeout
(of-object "GApplication")
(prop-type "GParamUInt")
- (docs "Iime (ms) to stay alive after becoming idle")
+ (docs "Time (ms) to stay alive after becoming idle")
(readable #t)
(writable #t)
(construct-only #f)
@@ -138,24 +138,6 @@
;; From GBufferedInputStream
-(define-property base-stream
- (of-object "GBufferedInputStream")
- (prop-type "GParamObject")
- (docs "The underlying base stream on which the io ops will be done.")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property close-base-stream
- (of-object "GBufferedInputStream")
- (prop-type "GParamBoolean")
- (docs "If the base stream should be closed when the filter stream is closed.")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
(define-property buffer-size
(of-object "GBufferedInputStream")
(prop-type "GParamUInt")
@@ -167,24 +149,6 @@
;; From GBufferedOutputStream
-(define-property base-stream
- (of-object "GBufferedOutputStream")
- (prop-type "GParamObject")
- (docs "The underlying base stream on which the io ops will be done.")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property close-base-stream
- (of-object "GBufferedOutputStream")
- (prop-type "GParamBoolean")
- (docs "If the base stream should be closed when the filter stream is closed.")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
(define-property buffer-size
(of-object "GBufferedOutputStream")
(prop-type "GParamUInt")
@@ -205,33 +169,6 @@
;; From GDataInputStream
-(define-property base-stream
- (of-object "GDataInputStream")
- (prop-type "GParamObject")
- (docs "The underlying base stream on which the io ops will be done.")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property close-base-stream
- (of-object "GDataInputStream")
- (prop-type "GParamBoolean")
- (docs "If the base stream should be closed when the filter stream is closed.")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property buffer-size
- (of-object "GDataInputStream")
- (prop-type "GParamUInt")
- (docs "The size of the backend buffer")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
(define-property byte-order
(of-object "GDataInputStream")
(prop-type "GParamEnum")
@@ -252,24 +189,6 @@
;; From GDataOutputStream
-(define-property base-stream
- (of-object "GDataOutputStream")
- (prop-type "GParamObject")
- (docs "The underlying base stream on which the io ops will be done.")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property close-base-stream
- (of-object "GDataOutputStream")
- (prop-type "GParamBoolean")
- (docs "If the base stream should be closed when the filter stream is closed.")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
(define-property byte-order
(of-object "GDataOutputStream")
(prop-type "GParamEnum")
@@ -391,7 +310,7 @@
(docs "If the base stream should be closed when the filter stream is closed.")
(readable #t)
(writable #t)
- (construct-only #t)
+ (construct-only #f)
)
;; From GFilterOutputStream
@@ -478,15 +397,6 @@
;; From GUnixSocketAddress
-(define-property family
- (of-object "GUnixSocketAddress")
- (prop-type "GParamEnum")
- (docs "The family of the socket address")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
(define-property path
(of-object "GUnixSocketAddress")
(prop-type "GParamString")
@@ -610,10 +520,6 @@
)
)
-;; p1 is actually a gchar**,
-;; but that is equivalent (by typedef) to gchar**,
-;; and the declaration in gmountoperation.h adds a const.
-;; murrayc
(define-signal ask-question
(of-object "GMountOperation")
(return-type "void")
@@ -708,33 +614,6 @@
;; From GProxyAddress
-(define-property family
- (of-object "GProxyAddress")
- (prop-type "GParamEnum")
- (docs "The family of the socket address")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property address
- (of-object "GProxyAddress")
- (prop-type "GParamObject")
- (docs "The address")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property port
- (of-object "GProxyAddress")
- (prop-type "GParamUInt")
- (docs "The port")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
(define-property protocol
(of-object "GProxyAddress")
(prop-type "GParamString")
@@ -921,6 +800,14 @@
(construct-only #t)
)
+;; From GTimeZoneMonitor
+
+(define-signal changed
+ (of-object "GTimeZoneMonitor")
+ (return-type "void")
+ (when "first")
+)
+
;; From GVolume
(define-signal changed
@@ -1157,15 +1044,6 @@
;; From GInetSocketAddress
-(define-property family
- (of-object "GInetSocketAddress")
- (prop-type "GParamEnum")
- (docs "The family of the socket address")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
(define-property address
(of-object "GInetSocketAddress")
(prop-type "GParamObject")
@@ -1528,33 +1406,6 @@
;; From GSocketConnection
-(define-property input-stream
- (of-object "GSocketConnection")
- (prop-type "GParamObject")
- (docs "The GInputStream to read from")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property output-stream
- (of-object "GSocketConnection")
- (prop-type "GParamObject")
- (docs "The GOutputStream to write to")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property closed
- (of-object "GSocketConnection")
- (prop-type "GParamBoolean")
- (docs "Is the stream closed")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
(define-property socket
(of-object "GSocketConnection")
(prop-type "GParamObject")
@@ -1566,42 +1417,6 @@
;; From GTcpConnection
-(define-property input-stream
- (of-object "GTcpConnection")
- (prop-type "GParamObject")
- (docs "The GInputStream to read from")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property output-stream
- (of-object "GTcpConnection")
- (prop-type "GParamObject")
- (docs "The GOutputStream to write to")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property closed
- (of-object "GTcpConnection")
- (prop-type "GParamBoolean")
- (docs "Is the stream closed")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property socket
- (of-object "GTcpConnection")
- (prop-type "GParamObject")
- (docs "The underlying GSocket")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
(define-property graceful-disconnect
(of-object "GTcpConnection")
(prop-type "GParamBoolean")
@@ -1613,42 +1428,6 @@
;; From GUnixConnection
-(define-property input-stream
- (of-object "GUnixConnection")
- (prop-type "GParamObject")
- (docs "The GInputStream to read from")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property output-stream
- (of-object "GUnixConnection")
- (prop-type "GParamObject")
- (docs "The GOutputStream to write to")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property closed
- (of-object "GUnixConnection")
- (prop-type "GParamBoolean")
- (docs "Is the stream closed")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property socket
- (of-object "GUnixConnection")
- (prop-type "GParamObject")
- (docs "The underlying GSocket")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
;; From GSocketListener
(define-property listen-backlog
@@ -1672,15 +1451,6 @@
)
)
-(define-property listen-backlog
- (of-object "GSocketService")
- (prop-type "GParamInt")
- (docs "outstanding connections in the listen queue")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
;; From GThreadedSocketService
(define-signal run
@@ -1693,15 +1463,6 @@
)
)
-(define-property listen-backlog
- (of-object "GThreadedSocketService")
- (prop-type "GParamInt")
- (docs "outstanding connections in the listen queue")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
(define-property max-threads
(of-object "GThreadedSocketService")
(prop-type "GParamInt")
@@ -1843,14 +1604,10 @@
(construct-only #f)
)
-+;; From GDBusMethodInvocation
+;; From GDBusMethodInvocation
;; From GDBusProxy
-;; p1 is actually a GStrv,
-;; but that is equivalent (by typedef) to gchar**,
-;; and the declaration in gdbusproxy.h add consts.
-;; yannickg
(define-signal g-properties-changed
(of-object "GDBusProxy")
(return-type "void")
diff --git a/gio/src/gio_signals.defs.patch b/gio/src/gio_signals.defs.patch
new file mode 100644
index 0000000..9a630c4
--- /dev/null
+++ b/gio/src/gio_signals.defs.patch
@@ -0,0 +1,40 @@
+--- gio_signals.defs 2011-06-19 18:11:11.000000000 -0400
++++ gio_signals_new.defs 2011-06-19 17:18:06.000000000 -0400
+@@ -36,7 +36,7 @@
+ (when "last")
+ (parameters
+ '("const-gchar*" "p0")
+- '("GVariant" "p1")
++ '("GVariant*" "p1")
+ )
+ )
+
+@@ -526,7 +526,7 @@
+ (when "last")
+ (parameters
+ '("const-gchar*" "p0")
+- '("GStrv*" "p1")
++ '("const-gchar**" "p1")
+ )
+ )
+
+@@ -1613,8 +1613,8 @@
+ (return-type "void")
+ (when "last")
+ (parameters
+- '("GVariant" "p0")
+- '("GStrv*" "p1")
++ '("GVariant*" "p0")
++ '("const-gchar*const*" "p1")
+ )
+ )
+
+@@ -1625,7 +1625,7 @@
+ (parameters
+ '("const-gchar*" "p0")
+ '("const-gchar*" "p1")
+- '("GVariant" "p2")
++ '("GVariant*" "p2")
+ )
+ )
+
diff --git a/gio/src/timezonemonitor.ccg b/gio/src/timezonemonitor.ccg
new file mode 100644
index 0000000..eaf0b62
--- /dev/null
+++ b/gio/src/timezonemonitor.ccg
@@ -0,0 +1,23 @@
+/* Copyright (C) 2011 The giomm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gio/gio.h>
+
+namespace Gio
+{
+
+}// namespace Gio
diff --git a/gio/src/timezonemonitor.hg b/gio/src/timezonemonitor.hg
new file mode 100644
index 0000000..600a66b
--- /dev/null
+++ b/gio/src/timezonemonitor.hg
@@ -0,0 +1,50 @@
+/* Copyright (C) 2011 The giomm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <glibmm/object.h>
+
+_DEFS(giomm,gio)
+_PINCLUDE(glibmm/private/object_p.h)
+
+namespace Gio
+{
+
+/** TimeZoneMonitor - Monitor the local timezone.
+ * TimeZoneMonitor is a utility class to monitor the local timezone for changes
+ * (ie: in response to the user manually changing the timezone to that of a
+ * different locale).
+ *
+ * You must use this class in order for your program to notice changes to the
+ * local timezone. It works by monitoring the /etc/localtime file. When the
+ * timezone is found to have changed, the "changed" signal is emitted on the
+ * TimeZoneMonitor.
+ *
+ * See the C API docs for more information.
+ *
+ * @newin{2,30}
+ */
+class TimeZoneMonitor : public Glib::Object
+{
+ _CLASS_GOBJECT(TimeZoneMonitor, GTimeZoneMonitor, G_TIME_ZONE_MONITOR, Glib::Object, GObject)
+
+public:
+ _WRAP_METHOD(static Glib::RefPtr<TimeZoneMonitor> get(), g_time_zone_monitor_get)
+
+ _WRAP_SIGNAL(void changed(), "changed", no_default_handler)
+};
+
+} // namespace Gio
diff --git a/tools/extra_defs_gen/generate_defs_gio.cc b/tools/extra_defs_gen/generate_defs_gio.cc
index cdd8734..8c09acf 100644
--- a/tools/extra_defs_gen/generate_defs_gio.cc
+++ b/tools/extra_defs_gen/generate_defs_gio.cc
@@ -82,6 +82,7 @@ int main(int, char**)
<< get_defs(G_TYPE_SETTINGS_BACKEND)
<< get_defs(G_TYPE_SIMPLE_ASYNC_RESULT)
<< get_defs(G_TYPE_THEMED_ICON)
+ << get_defs(G_TYPE_TIME_ZONE_MONITOR)
//TODO: This causes a g_warning:
//GLib-GObject-CRITICAL **: g_param_spec_pool_list: assertion `pool != NULL' failed"
diff --git a/tools/m4/convert_gio.m4 b/tools/m4/convert_gio.m4
index 6da976b..cc1e59f 100644
--- a/tools/m4/convert_gio.m4
+++ b/tools/m4/convert_gio.m4
@@ -214,6 +214,9 @@ _CONVERSION(`const Glib::RefPtr<SocketConnection>&',`GSocketConnection*',__CONVE
#SocketControlMessage
_CONVERSION(`GSocketControlMessage*',`Glib::RefPtr<SocketControlMessage>',`Glib::wrap($3)')
+#TimeZoneMonitor
+_CONVERSION(`GTimeZoneMonitor*',`Glib::RefPtr<TimeZoneMonitor>',`Glib::wrap($3)')
+
#UnixFDList
_CONVERSION(`GUnixFDList*',`Glib::RefPtr<UnixFDList>',`Glib::wrap($3)')
_CONVERSION(`const Glib::RefPtr<UnixFDList>&',`GUnixFDList*',`Glib::unwrap($3)')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]