diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2011-06-19 18:38:54 -0400 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2011-06-19 18:38:54 -0400 |
commit | 49ab09c643d38885658e5979f2fdb0b51d5fb0e8 (patch) | |
tree | ae803f0912af4648ae3e93ef448ded6a1a8f2f30 | |
parent | a56a1c0855c22b3618586734131b282a1d813d88 (diff) | |
download | glibmm-49ab09c643d38885658e5979f2fdb0b51d5fb0e8.tar.gz |
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.
-rw-r--r-- | ChangeLog | 20 | ||||
-rw-r--r-- | gio/src/filelist.am | 3 | ||||
-rw-r--r-- | gio/src/gio_methods.defs | 3058 | ||||
-rw-r--r-- | gio/src/gio_methods.defs.patch | 66 | ||||
-rw-r--r-- | gio/src/gio_signals.defs | 265 | ||||
-rw-r--r-- | gio/src/gio_signals.defs.patch | 40 | ||||
-rw-r--r-- | gio/src/timezonemonitor.ccg | 23 | ||||
-rw-r--r-- | gio/src/timezonemonitor.hg | 50 | ||||
-rw-r--r-- | tools/extra_defs_gen/generate_defs_gio.cc | 1 | ||||
-rw-r--r-- | tools/m4/convert_gio.m4 | 3 |
10 files changed, 3185 insertions, 344 deletions
@@ -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 dd5996be..b5db4ede 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 9552ab24..c3e7e0ab 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,6 +3913,554 @@ +;; From gdbus-example-objectmanager-generated.h + +(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 + '("GObjectClass*" "klass") + '("guint" "property_id_begin") + ) +) + +(define-method complete_poke + (of-object "ExampleAnimal") + (c-name "example_animal_complete_poke") + (return-type "none") + (parameters + '("GDBusMethodInvocation*" "invocation") + ) +) + +(define-method emit_jumped + (of-object "ExampleAnimal") + (c-name "example_animal_emit_jumped") + (return-type "none") + (parameters + '("gdouble" "height") + ) +) + +(define-method call_poke + (of-object "ExampleAnimal") + (c-name "example_animal_call_poke") + (return-type "none") + (parameters + '("gboolean" "make_sad") + '("gboolean" "make_happy") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-method call_poke_finish + (of-object "ExampleAnimal") + (c-name "example_animal_call_poke_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "res") + '("GError**" "error") + ) +) + +(define-method call_poke_sync + (of-object "ExampleAnimal") + (c-name "example_animal_call_poke_sync") + (return-type "gboolean") + (parameters + '("gboolean" "make_sad") + '("gboolean" "make_happy") + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + +(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*" "value") + ) +) + +(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 + '("GDBusConnection*" "connection") + '("GDBusProxyFlags" "flags") + '("const-gchar*" "name") + '("const-gchar*" "object_path") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-function example_animal_proxy_new_finish + (c-name "example_animal_proxy_new_finish") + (return-type "ExampleAnimal*") + (parameters + '("GAsyncResult*" "res") + '("GError**" "error") + ) +) + +(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-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-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-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-function example_animal_skeleton_get_type + (c-name "example_animal_skeleton_get_type") + (return-type "GType") +) + +(define-function example_animal_skeleton_new + (c-name "example_animal_skeleton_new") + (is-constructor-of "ExampleAnimalSkeleton") + (return-type "ExampleAnimal*") +) + +(define-function example_cat_get_type + (c-name "example_cat_get_type") + (return-type "GType") +) + +(define-function example_cat_interface_info + (c-name "example_cat_interface_info") + (return-type "GDBusInterfaceInfo*") +) + +(define-function example_cat_proxy_get_type + (c-name "example_cat_proxy_get_type") + (return-type "GType") +) + +(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-function example_cat_proxy_new_finish + (c-name "example_cat_proxy_new_finish") + (return-type "ExampleCat*") + (parameters + '("GAsyncResult*" "res") + '("GError**" "error") + ) +) + +(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-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 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 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 example_cat_skeleton_get_type + (c-name "example_cat_skeleton_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 example_object_get_type + (c-name "example_object_get_type") + (return-type "GType") +) + +(define-method get_animal + (of-object "ExampleObject") + (c-name "example_object_get_animal") + (return-type "ExampleAnimal*") +) + +(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*") +) + +(define-function example_object_proxy_get_type + (c-name "example_object_proxy_get_type") + (return-type "GType") +) + +(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 example_object_skeleton_new + (c-name "example_object_skeleton_new") + (is-constructor-of "ExampleObjectSkeleton") + (return-type "ExampleObjectSkeleton*") + (parameters + '("const-gchar*" "object_path") + ) +) + +(define-method set_animal + (of-object "ExampleObjectSkeleton") + (c-name "example_object_skeleton_set_animal") + (return-type "none") + (parameters + '("ExampleAnimal*" "interface_") + ) +) + +(define-method set_cat + (of-object "ExampleObjectSkeleton") + (c-name "example_object_skeleton_set_cat") + (return-type "none") + (parameters + '("ExampleCat*" "interface_") + ) +) + +(define-function example_object_manager_client_get_type + (c-name "example_object_manager_client_get_type") + (return-type "GType") +) + +(define-function example_object_manager_client_get_proxy_type + (c-name "example_object_manager_client_get_proxy_type") + (return-type "GType") + (parameters + '("GDBusObjectManagerClient*" "manager") + '("const-gchar*" "object_path") + '("const-gchar*" "interface_name") + '("gpointer" "user_data") + ) +) + +(define-function example_object_manager_client_new + (c-name "example_object_manager_client_new") + (return-type "none") + (parameters + '("GDBusConnection*" "connection") + '("GDBusObjectManagerClientFlags" "flags") + '("const-gchar*" "name") + '("const-gchar*" "object_path") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-function example_object_manager_client_new_finish + (c-name "example_object_manager_client_new_finish") + (return-type "GDBusObjectManager*") + (parameters + '("GAsyncResult*" "res") + '("GError**" "error") + ) +) + +(define-function example_object_manager_client_new_sync + (c-name "example_object_manager_client_new_sync") + (return-type "GDBusObjectManager*") + (parameters + '("GDBusConnection*" "connection") + '("GDBusObjectManagerClientFlags" "flags") + '("const-gchar*" "name") + '("const-gchar*" "object_path") + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + +(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-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-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") + ) +) + + + +;; From gdbusinterface.h + +(define-function g_dbus_interface_get_type + (c-name "g_dbus_interface_get_type") + (return-type "GType") +) + +(define-method get_info + (of-object "GDBusInterface") + (c-name "g_dbus_interface_get_info") + (return-type "GDBusInterfaceInfo*") +) + +(define-method get_object + (of-object "GDBusInterface") + (c-name "g_dbus_interface_get_object") + (return-type "GDBusObject*") +) + +(define-method set_object + (of-object "GDBusInterface") + (c-name "g_dbus_interface_set_object") + (return-type "none") + (parameters + '("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 "GDBusInterfaceSkeleton") + (c-name "g_dbus_interface_skeleton_get_flags") + (return-type "GDBusInterfaceSkeletonFlags") +) + +(define-method set_flags + (of-object "GDBusInterfaceSkeleton") + (c-name "g_dbus_interface_skeleton_set_flags") + (return-type "none") + (parameters + '("GDBusInterfaceSkeletonFlags" "flags") + ) +) + +(define-method get_info + (of-object "GDBusInterfaceSkeleton") + (c-name "g_dbus_interface_skeleton_get_info") + (return-type "GDBusInterfaceInfo*") +) + +(define-method get_vtable + (of-object "GDBusInterfaceSkeleton") + (c-name "g_dbus_interface_skeleton_get_vtable") + (return-type "GDBusInterfaceVTable*") +) + +(define-method get_properties + (of-object "GDBusInterfaceSkeleton") + (c-name "g_dbus_interface_skeleton_get_properties") + (return-type "GVariant*") +) + +(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 + '("GDBusConnection*" "connection") + '("const-gchar*" "object_path") + '("GError**" "error") + ) +) + +(define-method unexport + (of-object "GDBusInterfaceSkeleton") + (c-name "g_dbus_interface_skeleton_unexport") + (return-type "none") +) + +(define-method get_connection + (of-object "GDBusInterfaceSkeleton") + (c-name "g_dbus_interface_skeleton_get_connection") + (return-type "GDBusConnection*") +) + +(define-method get_object_path + (of-object "GDBusInterfaceSkeleton") + (c-name "g_dbus_interface_skeleton_get_object_path") + (return-type "const-gchar*") +) + + + ;; From gdbusintrospection.h (define-function g_dbus_annotation_info_lookup @@ -3466,6 +4499,18 @@ ) ) +(define-method cache_build + (of-object "GDBusInterfaceInfo") + (c-name "g_dbus_interface_info_cache_build") + (return-type "none") +) + +(define-method cache_release + (of-object "GDBusInterfaceInfo") + (c-name "g_dbus_interface_info_cache_release") + (return-type "none") +) + (define-method generate_xml (of-object "GDBusInterfaceInfo") (c-name "g_dbus_interface_info_generate_xml") @@ -4140,6 +5185,15 @@ ) ) +(define-method take_error + (of-object "GDBusMethodInvocation") + (c-name "g_dbus_method_invocation_take_error") + (return-type "none") + (parameters + '("GError*" "error") + ) +) + (define-method return_dbus_error (of-object "GDBusMethodInvocation") (c-name "g_dbus_method_invocation_return_dbus_error") @@ -4282,6 +5336,342 @@ +;; From gdbusobject.h + +(define-function g_dbus_object_get_type + (c-name "g_dbus_object_get_type") + (return-type "GType") +) + +(define-method get_object_path + (of-object "GDBusObject") + (c-name "g_dbus_object_get_object_path") + (return-type "const-gchar*") +) + +(define-method get_interfaces + (of-object "GDBusObject") + (c-name "g_dbus_object_get_interfaces") + (return-type "GList*") +) + +(define-method get_interface + (of-object "GDBusObject") + (c-name "g_dbus_object_get_interface") + (return-type "GDBusInterface*") + (parameters + '("const-gchar*" "interface_name") + ) +) + + + +;; 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 + '("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-function g_dbus_object_manager_client_new_finish + (c-name "g_dbus_object_manager_client_new_finish") + (return-type "GDBusObjectManager*") + (parameters + '("GAsyncResult*" "res") + '("GError**" "error") + ) +) + +(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-function g_dbus_object_manager_client_new_for_bus + (c-name "g_dbus_object_manager_client_new_for_bus") + (return-type "none") + (parameters + '("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-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*" "res") + '("GError**" "error") + ) +) + +(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 + '("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") + '("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*") +) + +(define-method get_name_owner + (of-object "GDBusObjectManagerClient") + (c-name "g_dbus_object_manager_client_get_name_owner") + (return-type "gchar*") +) + + + +;; From gdbusobjectmanager.h + +(define-function g_dbus_object_manager_get_type + (c-name "g_dbus_object_manager_get_type") + (return-type "GType") +) + +(define-method get_object_path + (of-object "GDBusObjectManager") + (c-name "g_dbus_object_manager_get_object_path") + (return-type "const-gchar*") +) + +(define-method get_objects + (of-object "GDBusObjectManager") + (c-name "g_dbus_object_manager_get_objects") + (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 get_interface + (of-object "GDBusObjectManager") + (c-name "g_dbus_object_manager_get_interface") + (return-type "GDBusInterface*") + (parameters + '("const-gchar*" "object_path") + '("const-gchar*" "interface_name") + ) +) + + + +;; From gdbusobjectmanagerserver.h + +(define-function g_dbus_object_manager_server_get_type + (c-name "g_dbus_object_manager_server_get_type") + (return-type "GType") +) + +(define-function g_dbus_object_manager_server_new + (c-name "g_dbus_object_manager_server_new") + (is-constructor-of "GDbusObjectManagerServer") + (return-type "GDBusObjectManagerServer*") + (parameters + '("const-gchar*" "object_path") + ) +) + +(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 + '("GDBusConnection*" "connection") + ) +) + +(define-method export + (of-object "GDBusObjectManagerServer") + (c-name "g_dbus_object_manager_server_export") + (return-type "none") + (parameters + '("GDBusObjectSkeleton*" "object") + ) +) + +(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 gdbusobjectproxy.h + +(define-function g_dbus_object_proxy_get_type + (c-name "g_dbus_object_proxy_get_type") + (return-type "GType") +) + +(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 get_connection + (of-object "GDBusObjectProxy") + (c-name "g_dbus_object_proxy_get_connection") + (return-type "GDBusConnection*") +) + + + +;; 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 add_interface + (of-object "GDBusObjectSkeleton") + (c-name "g_dbus_object_skeleton_add_interface") + (return-type "none") + (parameters + '("GDBusInterfaceSkeleton*" "interface_") + ) +) + +(define-method remove_interface + (of-object "GDBusObjectSkeleton") + (c-name "g_dbus_object_skeleton_remove_interface") + (return-type "none") + (parameters + '("GDBusInterfaceSkeleton*" "interface_") + ) +) + +(define-method remove_interface_by_name + (of-object "GDBusObjectSkeleton") + (c-name "g_dbus_object_skeleton_remove_interface_by_name") + (return-type "none") + (parameters + '("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 gdbusprivate.h + + + ;; From gdbusproxy.h (define-function g_dbus_proxy_get_type @@ -4606,6 +5996,130 @@ ) ) +(define-function g_dbus_gvariant_to_gvalue + (c-name "g_dbus_gvariant_to_gvalue") + (return-type "none") + (parameters + '("GVariant*" "value") + '("GValue*" "out_gvalue") + ) +) + +(define-function g_dbus_gvalue_to_gvariant + (c-name "g_dbus_gvalue_to_gvariant") + (return-type "GVariant*") + (parameters + '("const-GValue*" "gvalue") + '("const-GVariantType*" "type") + ) +) + + + +;; From gdelayedsettingsbackend.h + + + +;; From gdesktopappinfo.h + +(define-function g_desktop_app_info_get_type + (c-name "g_desktop_app_info_get_type") + (return-type "GType") +) + +(define-function g_desktop_app_info_new_from_filename + (c-name "g_desktop_app_info_new_from_filename") + (return-type "GDesktopAppInfo*") + (parameters + '("const-char*" "filename") + ) +) + +(define-function g_desktop_app_info_new_from_keyfile + (c-name "g_desktop_app_info_new_from_keyfile") + (return-type "GDesktopAppInfo*") + (parameters + '("GKeyFile*" "key_file") + ) +) + +(define-method get_filename + (of-object "GDesktopAppInfo") + (c-name "g_desktop_app_info_get_filename") + (return-type "const-char*") +) + +(define-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 + '("const-char*" "desktop_id") + ) +) + +(define-method get_is_hidden + (of-object "GDesktopAppInfo") + (c-name "g_desktop_app_info_get_is_hidden") + (return-type "gboolean") +) + +(define-function g_desktop_app_info_set_desktop_env + (c-name "g_desktop_app_info_set_desktop_env") + (return-type "none") + (parameters + '("const-char*" "desktop_env") + ) +) + +(define-function g_desktop_app_info_lookup_get_type + (c-name "g_desktop_app_info_lookup_get_type") + (return-type "GType") +) + +(define-method get_default_for_uri_scheme + (of-object "GDesktopAppInfoLookup") + (c-name "g_desktop_app_info_lookup_get_default_for_uri_scheme") + (return-type "GAppInfo*") + (parameters + '("const-char*" "uri_scheme") + ) +) + +(define-method launch_uris_as_manager + (of-object "GDesktopAppInfo") + (c-name "g_desktop_app_info_launch_uris_as_manager") + (return-type "gboolean") + (parameters + '("GList*" "uris") + '("GAppLaunchContext*" "launch_context") + '("GSpawnFlags" "spawn_flags") + '("GSpawnChildSetupFunc" "user_setup") + '("gpointer" "user_setup_data") + '("GDesktopAppLaunchCallback" "pid_callback") + '("gpointer" "pid_callback_data") + '("GError**" "error") + ) +) + ;; From gdrive.h @@ -4822,6 +6336,18 @@ +;; From gdummyfile.h + + + +;; From gdummyproxyresolver.h + + + +;; From gdummytlsbackend.h + + + ;; From gemblemedicon.h (define-function g_emblemed_icon_get_type @@ -4860,6 +6386,12 @@ ) ) +(define-method clear_emblems + (of-object "GEmblemedIcon") + (c-name "g_emblemed_icon_clear_emblems") + (return-type "none") +) + ;; From gemblem.h @@ -4954,6 +6486,25 @@ +;; From gfileattribute-priv.h + + + +;; From gfiledescriptorbased.h + +(define-function g_file_descriptor_based_get_type + (c-name "g_file_descriptor_based_get_type") + (return-type "GType") +) + +(define-method get_fd + (of-object "GFileDescriptorBased") + (c-name "g_file_descriptor_based_get_fd") + (return-type "int") +) + + + ;; From gfileenumerator.h (define-function g_file_enumerator_get_type @@ -6874,6 +8425,10 @@ +;; From gfileinfo-priv.h + + + ;; From gfileinputstream.h (define-function g_file_input_stream_get_type @@ -6990,7 +8545,7 @@ (c-name "g_file_monitor_set_rate_limit") (return-type "none") (parameters - '("int" "limit_msecs") + '("gint" "limit_msecs") ) ) @@ -7239,6 +8794,15 @@ ) ) +(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") @@ -7688,6 +9252,11 @@ (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") @@ -7823,6 +9392,36 @@ (return-type "GType") ) +(define-function g_tls_error_get_type + (c-name "g_tls_error_get_type") + (return-type "GType") +) + +(define-function g_tls_certificate_flags_get_type + (c-name "g_tls_certificate_flags_get_type") + (return-type "GType") +) + +(define-function g_tls_authentication_mode_get_type + (c-name "g_tls_authentication_mode_get_type") + (return-type "GType") +) + +(define-function g_tls_rehandshake_mode_get_type + (c-name "g_tls_rehandshake_mode_get_type") + (return-type "GType") +) + +(define-function g_dbus_interface_skeleton_flags_get_type + (c-name "g_dbus_interface_skeleton_flags_get_type") + (return-type "GType") +) + +(define-function g_dbus_object_manager_client_flags_get_type + (c-name "g_dbus_object_manager_client_flags_get_type") + (return-type "GType") +) + (define-function g_settings_bind_flags_get_type (c-name "g_settings_bind_flags_get_type") (return-type "GType") @@ -7859,6 +9458,10 @@ +;; From gio-marshal.h + + + ;; From giomodule.h (define-function g_io_module_get_type @@ -7991,6 +9594,10 @@ +;; From giomodule-priv.h + + + ;; From gioscheduler.h (define-function g_io_scheduler_push_job @@ -8053,6 +9660,29 @@ (return-type "GOutputStream*") ) +(define-method splice_async + (of-object "GIOStream") + (c-name "g_io_stream_splice_async") + (return-type "none") + (parameters + '("GIOStream*" "stream2") + '("GIOStreamSpliceFlags" "flags") + '("int" "io_priority") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-function g_io_stream_splice_finish + (c-name "g_io_stream_splice_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "result") + '("GError**" "error") + ) +) + (define-method close (of-object "GIOStream") (c-name "g_io_stream_close") @@ -8162,6 +9792,52 @@ +;; From glocaldirectorymonitor.h + +(define-function g_local_directory_monitor_get_type + (c-name "g_local_directory_monitor_get_type") + (return-type "GType") +) + + + +;; From glocalfileenumerator.h + + + +;; From glocalfile.h + + + +;; From glocalfileinfo.h + + + +;; From glocalfileinputstream.h + + + +;; From glocalfileiostream.h + + + +;; From glocalfilemonitor.h + +(define-function g_local_file_monitor_get_type + (c-name "g_local_file_monitor_get_type") + (return-type "GType") +) + + + +;; From glocalfileoutputstream.h + + + +;; From glocalvfs.h + + + ;; From gmemoryinputstream.h (define-function g_memory_input_stream_get_type @@ -8584,6 +10260,10 @@ +;; From gmountprivate.h + + + ;; From gnativevolumemonitor.h (define-function g_native_volume_monitor_get_type @@ -8650,6 +10330,10 @@ +;; From gnetworkingprivate.h + + + ;; From gnetworkservice.h (define-function g_network_service_get_type @@ -8894,85 +10578,6 @@ -;; From gperiodic.h - -(define-function g_periodic_get_type - (c-name "g_periodic_get_type") - (return-type "GType") -) - -(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 get_hz - (of-object "GPeriodic") - (c-name "g_periodic_get_hz") - (return-type "guint") -) - -(define-method get_high_priority - (of-object "GPeriodic") - (c-name "g_periodic_get_high_priority") - (return-type "gint") -) - -(define-method get_low_priority - (of-object "GPeriodic") - (c-name "g_periodic_get_low_priority") - (return-type "gint") -) - -(define-method add - (of-object "GPeriodic") - (c-name "g_periodic_add") - (return-type "guint") - (parameters - '("GPeriodicTickFunc" "callback") - '("gpointer" "user_data") - '("GDestroyNotify" "notify") - ) -) - -(define-method remove - (of-object "GPeriodic") - (c-name "g_periodic_remove") - (return-type "none") - (parameters - '("guint" "tag") - ) -) - -(define-method block - (of-object "GPeriodic") - (c-name "g_periodic_block") - (return-type "none") -) - -(define-method unblock - (of-object "GPeriodic") - (c-name "g_periodic_unblock") - (return-type "none") - (parameters - '("gint64" "unblock_time") - ) -) - -(define-method damaged - (of-object "GPeriodic") - (c-name "g_periodic_damaged") - (return-type "none") -) - - - ;; From gpermission.h (define-function g_permission_get_type @@ -9073,6 +10678,103 @@ +;; 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-function g_pollable_source_new + (c-name "g_pollable_source_new") + (is-constructor-of "GPollableSource") + (return-type "GSource*") + (parameters + '("GObject*" "pollable_stream") + ) +) + + + +;; From gpollableoutputstream.h + +(define-function g_pollable_output_stream_get_type + (c-name "g_pollable_output_stream_get_type") + (return-type "GType") +) + +(define-method can_poll + (of-object "GPollableOutputStream") + (c-name "g_pollable_output_stream_can_poll") + (return-type "gboolean") +) + +(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 + '("GCancellable*" "cancellable") + ) +) + +(define-method write_nonblocking + (of-object "GPollableOutputStream") + (c-name "g_pollable_output_stream_write_nonblocking") + (return-type "gssize") + (parameters + '("const-void*" "buffer") + '("gsize" "size") + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + + + +;; From gpollfilemonitor.h + + + ;; From gproxyaddressenumerator.h (define-function g_proxy_address_enumerator_get_type @@ -9247,6 +10949,10 @@ +;; From gregistrysettingsbackend.h + + + ;; From gresolver.h (define-function g_resolver_get_type @@ -9518,6 +11224,11 @@ ) ) +(define-function g_settings_backend_get_default + (c-name "g_settings_backend_get_default") + (return-type "GSettingsBackend*") +) + (define-function g_keyfile_settings_backend_new (c-name "g_keyfile_settings_backend_new") (is-constructor-of "GKeyfileSettingsBackend") @@ -9529,6 +11240,22 @@ ) ) +(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 gsettingsbackendinternal.h + ;; From gsettings.h @@ -9675,6 +11402,25 @@ ) ) +(define-method get_uint + (of-object "GSettings") + (c-name "g_settings_get_uint") + (return-type "guint") + (parameters + '("const-gchar*" "key") + ) +) + +(define-method set_uint + (of-object "GSettings") + (c-name "g_settings_set_uint") + (return-type "gboolean") + (parameters + '("const-gchar*" "key") + '("guint" "value") + ) +) + (define-method get_string (of-object "GSettings") (c-name "g_settings_get_string") @@ -9898,6 +11644,14 @@ +;; From gsettings-mapping.h + + + +;; From gsettingsschema.h + + + ;; From gsimpleactiongroup.h (define-function g_simple_action_group_get_type @@ -10418,6 +12172,36 @@ ) ) +(define-method get_tls + (of-object "GSocketClient") + (c-name "g_socket_client_get_tls") + (return-type "gboolean") +) + +(define-method set_tls + (of-object "GSocketClient") + (c-name "g_socket_client_set_tls") + (return-type "none") + (parameters + '("gboolean" "tls") + ) +) + +(define-method get_tls_validation_flags + (of-object "GSocketClient") + (c-name "g_socket_client_get_tls_validation_flags") + (return-type "GTlsCertificateFlags") +) + +(define-method set_tls_validation_flags + (of-object "GSocketClient") + (c-name "g_socket_client_set_tls_validation_flags") + (return-type "none") + (parameters + '("GTlsCertificateFlags" "flags") + ) +) + (define-method connect (of-object "GSocketClient") (c-name "g_socket_client_connect") @@ -11062,6 +12846,10 @@ +;; From gsocketinputstream.h + + + ;; From gsocketlistener.h (define-function g_socket_listener_get_type @@ -11204,6 +12992,10 @@ +;; From gsocketoutputstream.h + + + ;; From gsocketservice.h (define-function g_socket_service_get_type @@ -11237,6 +13029,18 @@ +;; From gsocks4aproxy.h + + + +;; From gsocks4proxy.h + + + +;; From gsocks5proxy.h + + + ;; From gsrvtarget.h (define-function g_srv_target_get_type @@ -11326,6 +13130,31 @@ +;; From gtcpwrapperconnection.h + +(define-function g_tcp_wrapper_connection_get_type + (c-name "g_tcp_wrapper_connection_get_type") + (return-type "GType") +) + +(define-function g_tcp_wrapper_connection_new + (c-name "g_tcp_wrapper_connection_new") + (is-constructor-of "GTcpWrapperConnection") + (return-type "GSocketConnection*") + (parameters + '("GIOStream*" "base_io_stream") + '("GSocket*" "socket") + ) +) + +(define-method get_base_io_stream + (of-object "GTcpWrapperConnection") + (c-name "g_tcp_wrapper_connection_get_base_io_stream") + (return-type "GIOStream*") +) + + + ;; From gthemedicon.h (define-function g_themed_icon_get_type @@ -11379,6 +13208,15 @@ +;; From gthreadedresolver.h + +(define-function g_threaded_resolver_get_type + (c-name "g_threaded_resolver_get_type") + (return-type "GType") +) + + + ;; From gthreadedsocketservice.h (define-function g_threaded_socket_service_get_type @@ -11397,6 +13235,942 @@ +;; From gtimezonemonitor.h + +(define-function g_time_zone_monitor_get_type + (c-name "g_time_zone_monitor_get_type") + (return-type "GType") +) + +(define-function g_time_zone_monitor_get + (c-name "g_time_zone_monitor_get") + (return-type "GTimeZoneMonitor*") +) + + + +;; From gtlsbackend.h + +(define-function g_tls_backend_get_type + (c-name "g_tls_backend_get_type") + (return-type "GType") +) + +(define-function g_tls_backend_get_default + (c-name "g_tls_backend_get_default") + (return-type "GTlsBackend*") +) + +(define-method supports_tls + (of-object "GTlsBackend") + (c-name "g_tls_backend_supports_tls") + (return-type "gboolean") +) + +(define-method get_certificate_type + (of-object "GTlsBackend") + (c-name "g_tls_backend_get_certificate_type") + (return-type "GType") +) + +(define-method get_client_connection_type + (of-object "GTlsBackend") + (c-name "g_tls_backend_get_client_connection_type") + (return-type "GType") +) + +(define-method get_server_connection_type + (of-object "GTlsBackend") + (c-name "g_tls_backend_get_server_connection_type") + (return-type "GType") +) + + + +;; From gtlscertificate.h + +(define-function g_tls_certificate_get_type + (c-name "g_tls_certificate_get_type") + (return-type "GType") +) + +(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-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-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-function g_tls_certificate_list_new_from_file + (c-name "g_tls_certificate_list_new_from_file") + (return-type "GList*") + (parameters + '("const-gchar*" "file") + '("GError**" "error") + ) +) + +(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 + '("GSocketConnectable*" "identity") + '("GTlsCertificate*" "trusted_ca") + ) +) + + + +;; From gtlsclientconnection.h + +(define-function g_tls_client_connection_get_type + (c-name "g_tls_client_connection_get_type") + (return-type "GType") +) + +(define-function g_tls_client_connection_new + (c-name "g_tls_client_connection_new") + (is-constructor-of "GTlsClientConnection") + (return-type "GIOStream*") + (parameters + '("GIOStream*" "base_io_stream") + '("GSocketConnectable*" "server_identity") + '("GError**" "error") + ) +) + +(define-method get_validation_flags + (of-object "GTlsClientConnection") + (c-name "g_tls_client_connection_get_validation_flags") + (return-type "GTlsCertificateFlags") +) + +(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_server_identity + (of-object "GTlsClientConnection") + (c-name "g_tls_client_connection_get_server_identity") + (return-type "GSocketConnectable*") +) + +(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_use_ssl3 + (of-object "GTlsClientConnection") + (c-name "g_tls_client_connection_get_use_ssl3") + (return-type "gboolean") +) + +(define-method set_use_ssl3 + (of-object "GTlsClientConnection") + (c-name "g_tls_client_connection_set_use_ssl3") + (return-type "none") + (parameters + '("gboolean" "use_ssl3") + ) +) + +(define-method get_accepted_cas + (of-object "GTlsClientConnection") + (c-name "g_tls_client_connection_get_accepted_cas") + (return-type "GList*") +) + + + +;; 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" "use_system_certdb") + ) +) + +(define-method get_use_system_certdb + (of-object "GTlsConnection") + (c-name "g_tls_connection_get_use_system_certdb") + (return-type "gboolean") +) + +(define-method set_certificate + (of-object "GTlsConnection") + (c-name "g_tls_connection_set_certificate") + (return-type "none") + (parameters + '("GTlsCertificate*" "certificate") + ) +) + +(define-method get_certificate + (of-object "GTlsConnection") + (c-name "g_tls_connection_get_certificate") + (return-type "GTlsCertificate*") +) + +(define-method get_peer_certificate + (of-object "GTlsConnection") + (c-name "g_tls_connection_get_peer_certificate") + (return-type "GTlsCertificate*") +) + +(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 + '("gboolean" "require_close_notify") + ) +) + +(define-method get_require_close_notify + (of-object "GTlsConnection") + (c-name "g_tls_connection_get_require_close_notify") + (return-type "gboolean") +) + +(define-method set_rehandshake_mode + (of-object "GTlsConnection") + (c-name "g_tls_connection_set_rehandshake_mode") + (return-type "none") + (parameters + '("GTlsRehandshakeMode" "mode") + ) +) + +(define-method get_rehandshake_mode + (of-object "GTlsConnection") + (c-name "g_tls_connection_get_rehandshake_mode") + (return-type "GTlsRehandshakeMode") +) + +(define-method handshake + (of-object "GTlsConnection") + (c-name "g_tls_connection_handshake") + (return-type "gboolean") + (parameters + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + +(define-method handshake_async + (of-object "GTlsConnection") + (c-name "g_tls_connection_handshake_async") + (return-type "none") + (parameters + '("int" "io_priority") + '("GCancellable*" "cancellable") + '("GAsyncReadyCallback" "callback") + '("gpointer" "user_data") + ) +) + +(define-method handshake_finish + (of-object "GTlsConnection") + (c-name "g_tls_connection_handshake_finish") + (return-type "gboolean") + (parameters + '("GAsyncResult*" "result") + '("GError**" "error") + ) +) + +(define-function g_tls_error_quark + (c-name "g_tls_error_quark") + (return-type "GQuark") +) + +(define-method emit_accept_certificate + (of-object "GTlsConnection") + (c-name "g_tls_connection_emit_accept_certificate") + (return-type "gboolean") + (parameters + '("GTlsCertificate*" "peer_cert") + '("GTlsCertificateFlags" "errors") + ) +) + + + +;; From gtlsserverconnection.h + +(define-function g_tls_server_connection_get_type + (c-name "g_tls_server_connection_get_type") + (return-type "GType") +) + +(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") + ) +) + + + +;; From gunionvolumemonitor.h + + + +;; From gunixconnection.h + +(define-function g_unix_connection_get_type + (c-name "g_unix_connection_get_type") + (return-type "GType") +) + +(define-method send_fd + (of-object "GUnixConnection") + (c-name "g_unix_connection_send_fd") + (return-type "gboolean") + (parameters + '("gint" "fd") + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + +(define-method receive_fd + (of-object "GUnixConnection") + (c-name "g_unix_connection_receive_fd") + (return-type "gint") + (parameters + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + +(define-method send_credentials + (of-object "GUnixConnection") + (c-name "g_unix_connection_send_credentials") + (return-type "gboolean") + (parameters + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + +(define-method receive_credentials + (of-object "GUnixConnection") + (c-name "g_unix_connection_receive_credentials") + (return-type "GCredentials*") + (parameters + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + + + +;; From gunixcredentialsmessage.h + +(define-function g_unix_credentials_message_get_type + (c-name "g_unix_credentials_message_get_type") + (return-type "GType") +) + +(define-function g_unix_credentials_message_new + (c-name "g_unix_credentials_message_new") + (is-constructor-of "GUnixCredentialsMessage") + (return-type "GSocketControlMessage*") +) + +(define-function g_unix_credentials_message_new_with_credentials + (c-name "g_unix_credentials_message_new_with_credentials") + (return-type "GSocketControlMessage*") + (parameters + '("GCredentials*" "credentials") + ) +) + +(define-method get_credentials + (of-object "GUnixCredentialsMessage") + (c-name "g_unix_credentials_message_get_credentials") + (return-type "GCredentials*") +) + +(define-function g_unix_credentials_message_is_supported + (c-name "g_unix_credentials_message_is_supported") + (return-type "gboolean") +) + + + +;; From gunixfdlist.h + +(define-function g_unix_fd_list_get_type + (c-name "g_unix_fd_list_get_type") + (return-type "GType") +) + +(define-function g_unix_fd_list_new + (c-name "g_unix_fd_list_new") + (is-constructor-of "GUnixFdList") + (return-type "GUnixFDList*") +) + +(define-function g_unix_fd_list_new_from_array + (c-name "g_unix_fd_list_new_from_array") + (return-type "GUnixFDList*") + (parameters + '("const-gint*" "fds") + '("gint" "n_fds") + ) +) + +(define-method append + (of-object "GUnixFDList") + (c-name "g_unix_fd_list_append") + (return-type "gint") + (parameters + '("gint" "fd") + '("GError**" "error") + ) +) + +(define-method get_length + (of-object "GUnixFDList") + (c-name "g_unix_fd_list_get_length") + (return-type "gint") +) + +(define-method get + (of-object "GUnixFDList") + (c-name "g_unix_fd_list_get") + (return-type "gint") + (parameters + '("gint" "index_") + '("GError**" "error") + ) +) + +(define-method peek_fds + (of-object "GUnixFDList") + (c-name "g_unix_fd_list_peek_fds") + (return-type "const-gint*") + (parameters + '("gint*" "length") + ) +) + +(define-method steal_fds + (of-object "GUnixFDList") + (c-name "g_unix_fd_list_steal_fds") + (return-type "gint*") + (parameters + '("gint*" "length") + ) +) + + + +;; From gunixfdmessage.h + +(define-function g_unix_fd_message_get_type + (c-name "g_unix_fd_message_get_type") + (return-type "GType") +) + +(define-function g_unix_fd_message_new_with_fd_list + (c-name "g_unix_fd_message_new_with_fd_list") + (return-type "GSocketControlMessage*") + (parameters + '("GUnixFDList*" "fd_list") + ) +) + +(define-function g_unix_fd_message_new + (c-name "g_unix_fd_message_new") + (is-constructor-of "GUnixFdMessage") + (return-type "GSocketControlMessage*") +) + +(define-method get_fd_list + (of-object "GUnixFDMessage") + (c-name "g_unix_fd_message_get_fd_list") + (return-type "GUnixFDList*") +) + +(define-method steal_fds + (of-object "GUnixFDMessage") + (c-name "g_unix_fd_message_steal_fds") + (return-type "gint*") + (parameters + '("gint*" "length") + ) +) + +(define-method append_fd + (of-object "GUnixFDMessage") + (c-name "g_unix_fd_message_append_fd") + (return-type "gboolean") + (parameters + '("gint" "fd") + '("GError**" "error") + ) +) + + + +;; From gunixinputstream.h + +(define-function g_unix_input_stream_get_type + (c-name "g_unix_input_stream_get_type") + (return-type "GType") +) + +(define-function g_unix_input_stream_new + (c-name "g_unix_input_stream_new") + (is-constructor-of "GUnixInputStream") + (return-type "GInputStream*") + (parameters + '("gint" "fd") + '("gboolean" "close_fd") + ) +) + +(define-method set_close_fd + (of-object "GUnixInputStream") + (c-name "g_unix_input_stream_set_close_fd") + (return-type "none") + (parameters + '("gboolean" "close_fd") + ) +) + +(define-method get_close_fd + (of-object "GUnixInputStream") + (c-name "g_unix_input_stream_get_close_fd") + (return-type "gboolean") +) + +(define-method get_fd + (of-object "GUnixInputStream") + (c-name "g_unix_input_stream_get_fd") + (return-type "gint") +) + + + +;; From gunixmount.h + + + +;; From gunixmounts.h + +(define-function g_unix_mount_free + (c-name "g_unix_mount_free") + (return-type "none") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-method free + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_free") + (return-type "none") +) + +(define-function g_unix_mount_compare + (c-name "g_unix_mount_compare") + (return-type "gint") + (parameters + '("GUnixMountEntry*" "mount1") + '("GUnixMountEntry*" "mount2") + ) +) + +(define-function g_unix_mount_get_mount_path + (c-name "g_unix_mount_get_mount_path") + (return-type "const-char*") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-function g_unix_mount_get_device_path + (c-name "g_unix_mount_get_device_path") + (return-type "const-char*") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-function g_unix_mount_get_fs_type + (c-name "g_unix_mount_get_fs_type") + (return-type "const-char*") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-function g_unix_mount_is_readonly + (c-name "g_unix_mount_is_readonly") + (return-type "gboolean") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-function g_unix_mount_is_system_internal + (c-name "g_unix_mount_is_system_internal") + (return-type "gboolean") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-function g_unix_mount_guess_can_eject + (c-name "g_unix_mount_guess_can_eject") + (return-type "gboolean") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-function g_unix_mount_guess_should_display + (c-name "g_unix_mount_guess_should_display") + (return-type "gboolean") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-function g_unix_mount_guess_name + (c-name "g_unix_mount_guess_name") + (return-type "char*") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-function g_unix_mount_guess_icon + (c-name "g_unix_mount_guess_icon") + (return-type "GIcon*") + (parameters + '("GUnixMountEntry*" "mount_entry") + ) +) + +(define-method compare + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_compare") + (return-type "gint") + (parameters + '("GUnixMountPoint*" "mount2") + ) +) + +(define-method get_mount_path + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_get_mount_path") + (return-type "const-char*") +) + +(define-method get_device_path + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_get_device_path") + (return-type "const-char*") +) + +(define-method get_fs_type + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_get_fs_type") + (return-type "const-char*") +) + +(define-method is_readonly + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_is_readonly") + (return-type "gboolean") +) + +(define-method is_user_mountable + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_is_user_mountable") + (return-type "gboolean") +) + +(define-method is_loopback + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_is_loopback") + (return-type "gboolean") +) + +(define-method guess_can_eject + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_guess_can_eject") + (return-type "gboolean") +) + +(define-method guess_name + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_guess_name") + (return-type "char*") +) + +(define-method guess_icon + (of-object "GUnixMountPoint") + (c-name "g_unix_mount_point_guess_icon") + (return-type "GIcon*") +) + +(define-function g_unix_mount_points_get + (c-name "g_unix_mount_points_get") + (return-type "GList*") + (parameters + '("guint64*" "time_read") + ) +) + +(define-function g_unix_mounts_get + (c-name "g_unix_mounts_get") + (return-type "GList*") + (parameters + '("guint64*" "time_read") + ) +) + +(define-function g_unix_mount_at + (c-name "g_unix_mount_at") + (return-type "GUnixMountEntry*") + (parameters + '("const-char*" "mount_path") + '("guint64*" "time_read") + ) +) + +(define-function g_unix_mounts_changed_since + (c-name "g_unix_mounts_changed_since") + (return-type "gboolean") + (parameters + '("guint64" "time") + ) +) + +(define-function g_unix_mount_points_changed_since + (c-name "g_unix_mount_points_changed_since") + (return-type "gboolean") + (parameters + '("guint64" "time") + ) +) + +(define-function g_unix_mount_monitor_get_type + (c-name "g_unix_mount_monitor_get_type") + (return-type "GType") +) + +(define-function g_unix_mount_monitor_new + (c-name "g_unix_mount_monitor_new") + (is-constructor-of "GUnixMountMonitor") + (return-type "GUnixMountMonitor*") +) + +(define-method set_rate_limit + (of-object "GUnixMountMonitor") + (c-name "g_unix_mount_monitor_set_rate_limit") + (return-type "none") + (parameters + '("int" "limit_msec") + ) +) + +(define-function g_unix_is_mount_path_system_internal + (c-name "g_unix_is_mount_path_system_internal") + (return-type "gboolean") + (parameters + '("const-char*" "mount_path") + ) +) + + + +;; From gunixoutputstream.h + +(define-function g_unix_output_stream_get_type + (c-name "g_unix_output_stream_get_type") + (return-type "GType") +) + +(define-function g_unix_output_stream_new + (c-name "g_unix_output_stream_new") + (is-constructor-of "GUnixOutputStream") + (return-type "GOutputStream*") + (parameters + '("gint" "fd") + '("gboolean" "close_fd") + ) +) + +(define-method set_close_fd + (of-object "GUnixOutputStream") + (c-name "g_unix_output_stream_set_close_fd") + (return-type "none") + (parameters + '("gboolean" "close_fd") + ) +) + +(define-method get_close_fd + (of-object "GUnixOutputStream") + (c-name "g_unix_output_stream_get_close_fd") + (return-type "gboolean") +) + +(define-method get_fd + (of-object "GUnixOutputStream") + (c-name "g_unix_output_stream_get_fd") + (return-type "gint") +) + + + +;; From gunixresolver.h + +(define-function g_unix_resolver_get_type + (c-name "g_unix_resolver_get_type") + (return-type "GType") +) + + + +;; From gunixsocketaddress.h + +(define-function g_unix_socket_address_get_type + (c-name "g_unix_socket_address_get_type") + (return-type "GType") +) + +(define-function g_unix_socket_address_new + (c-name "g_unix_socket_address_new") + (is-constructor-of "GUnixSocketAddress") + (return-type "GSocketAddress*") + (parameters + '("const-gchar*" "path") + ) +) + +(define-function g_unix_socket_address_new_abstract + (c-name "g_unix_socket_address_new_abstract") + (return-type "GSocketAddress*") + (parameters + '("const-gchar*" "path") + '("gint" "path_len") + ) +) + +(define-function g_unix_socket_address_new_with_type + (c-name "g_unix_socket_address_new_with_type") + (return-type "GSocketAddress*") + (parameters + '("const-gchar*" "path") + '("gint" "path_len") + '("GUnixSocketAddressType" "type") + ) +) + +(define-method get_path + (of-object "GUnixSocketAddress") + (c-name "g_unix_socket_address_get_path") + (return-type "const-char*") +) + +(define-method get_path_len + (of-object "GUnixSocketAddress") + (c-name "g_unix_socket_address_get_path_len") + (return-type "gsize") +) + +(define-method get_address_type + (of-object "GUnixSocketAddress") + (c-name "g_unix_socket_address_get_address_type") + (return-type "GUnixSocketAddressType") +) + +(define-method get_is_abstract + (of-object "GUnixSocketAddress") + (c-name "g_unix_socket_address_get_is_abstract") + (return-type "gboolean") +) + +(define-function g_unix_socket_address_abstract_names_supported + (c-name "g_unix_socket_address_abstract_names_supported") + (return-type "gboolean") +) + + + +;; From gunixvolume.h + + + +;; From gunixvolumemonitor.h + + + ;; From gvfs.h (define-function g_vfs_get_type @@ -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 00000000..4c6711fd --- /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 7b45139c..97ceb95b 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 00000000..9a630c45 --- /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 00000000..eaf0b625 --- /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 00000000..600a66b5 --- /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 cdd87349..8c09acfd 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 6da976b3..cc1e59f7 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)') |