GtkSharp/gio/Gio.metadata
Bertrand Lorentz 0f13a66762 gio: Enable the GSocketFamily enum with hardcoded values
The values found by the parser for the GSocketFamily enum are in fact
constants defined in another header file, so the generated code would be
invalid.

We now hardcode the values through fix-ups. They probably don't
change, and they are also hardcoded in the gir file anyway, so it should
be OK.

Also fix-up a GInetAddress constructor that now gets generated.
2012-11-12 20:25:42 +01:00

165 lines
20 KiB
XML

<?xml version="1.0"?>
<metadata>
<attr path="/api/namespace/*/*/parameters/parameter[@type='GAsyncReadyCallback']" name="scope">async</attr>
<attr path="/api/namespace/*/*/parameters/parameter[@type='GFileProgressCallback']" name="scope">call</attr>
<attr path="/api/namespace/*/*/parameters/parameter[@type='GSettingsGetMapping']" name="scope">call</attr>
<attr path="/api/namespace" name="name">GLib</attr>
<attr path="/api/namespace/struct[@cname='GIOExtensionPoint']/method[@name='GetExtensions']/return-type" name="element_type">GIOExtension*</attr>
<attr path="/api/namespace/boxed[@cname='GFileAttributeInfoList']/field" name="access">private</attr>
<attr path="/api/namespace/boxed[@cname='GFileAttributeInfoList']/field[@name='Infos']" name="array">1</attr>
<attr path="/api/namespace/boxed[@cname='GSrvTarget']/method[@name='ListSort']/return-type" name="element_type">GSrvTarget*</attr>
<attr path="/api/namespace/class[@name='Content']" name="name">ContentType</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeCanBeExecutable']" name="name">CanBeExecutable</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeEquals']" name="name">Equals</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeFromMimeType']" name="name">FromMimeType</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGetDescription']" name="name">GetDescription</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGetIcon']" name="name">GetIcon</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGetMimeType']" name="name">GetMimeType</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGuess']" name="name">Guess</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeGuessForTree']" name="name">GuessForTree</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeIsA']" name="name">IsA</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypeIsUnknown']" name="name">IsUnknown</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='TypesGetRegistered']" name="name">GetRegistered</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="element_type">gchar*</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="owned">true</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/class[@cname='GIo_']" name="name">IOError</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='ErrorFromErrno']" name="name">FromErrno</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='ErrorFromWin32Error']" name="name">FromWin32Error</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='ModulesLoadAllInDirectory']" name="name">LoadAllInDirectory</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='LoadAllInDirectory']/return-type" name="element_type">GIOModule*</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='LoadAllInDirectory']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='LoadAllInDirectory']/return-type" name="owned">true</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='ModulesScanAllInDirectory']" name="name">ScanAllInDirectory</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='SchedulerCancelAllJobs']" name="name">CancelAllJobs</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='SchedulerPushJob']" name="name">PushJob</attr>
<attr path="/api/namespace/class[@name='Global']" name="name">GioGlobal</attr>
<attr path="/api/namespace/enum[@cname='GSocketFamily']/member[@name='Invalid']" name="value">0</attr>
<attr path="/api/namespace/enum[@cname='GSocketFamily']/member[@name='Unix']" name="value">1</attr>
<attr path="/api/namespace/enum[@cname='GSocketFamily']/member[@name='Ipv4']" name="value">2</attr>
<attr path="/api/namespace/enum[@cname='GSocketFamily']/member[@name='Ipv6']" name="value">10</attr>
<attr path="/api/namespace/interface[@cname='GAction']/property[@cname='enabled']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GAction']/property[@cname='name']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GAction']/property[@cname='parameter-type']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GAction']/property[@cname='state-type']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GActionGroup']/method[@name='ActionAdded']" name="name">EmitActionAdded</attr>
<attr path="/api/namespace/interface[@cname='GActionGroup']/method[@name='ActionEnabledChanged']" name="name">EmitActionEnabledChanged</attr>
<attr path="/api/namespace/interface[@cname='GActionGroup']/method[@name='ActionRemoved']" name="name">EmitActionRemoved</attr>
<attr path="/api/namespace/interface[@cname='GActionGroup']/method[@name='ActionStateChanged']" name="name">EmitActionStateChanged</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='CanRemoveSupportsType']" name="name">GetCanRemoveSupportsType</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='GetAll']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='GetAllForType']/return-type" name="element_type">GAppInfo*</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='GetAllForType']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='GetFallbackForType']/return-type" name="element_type">GAppInfo*</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='GetFallbackForType']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='GetFallbackForType']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='GetRecommendedForType']/return-type" name="element_type">GAppInfo*</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='GetRecommendedForType']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='GetRecommendedForType']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='ShouldShow']" name="name">GetShouldShow</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='SupportsFiles']" name="name">GetSupportsFiles</attr>
<attr path="/api/namespace/interface[@cname='GAppInfo']/method[@name='SupportsUris']" name="name">GetSupportsUris</attr>
<attr path="/api/namespace/interface[@cname='GDrive']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GDrive']/*[@name='GetVolumes']/return-type" name="element_type">GVolume*</attr>
<attr path="/api/namespace/interface[@cname='GDrive']/*[@name='GetVolumes']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GDrive']/*[@name='GetVolumes']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/interface[@cname='GFile']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GFile']/method[@name='GetParseName']" name="name">GetParsedName</attr>
<attr path="/api/namespace/interface[@cname='GFile']/method[@name='GetUri']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GFile']/*[@name='QueryInfo']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GFile']/*[@name='QueryInfoFinish']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GIcon']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GMount']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GMount']/method[@name='CanUnmount']" name="name">GetCanUnmount</attr>
<attr path="/api/namespace/interface[@cname='GMount']/method[@name='GuessContentTypeFinish']/return-type" name="null_term_array">1</attr>
<attr path="/api/namespace/interface[@cname='GMount']/method[@name='GuessContentTypeSync']/return-type" name="null_term_array">1</attr>
<attr path="/api/namespace/interface[@cname='GSeekable']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GSeekable']/method[@cname='g_seekable_can_seek']" name="name">GetCanSeek</attr>
<attr path="/api/namespace/interface[@cname='GSeekable']/method[@cname='g_seekable_tell']" name="name">GetPosition</attr>
<attr path="/api/namespace/interface[@cname='GTlsClientConnection']/method[@name='GetAcceptedCas']/return-type" name="element_type">GByteArray*</attr>
<attr path="/api/namespace/interface[@cname='GTlsClientConnection']/method[@name='GetAcceptedCas']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/interface[@cname='GTlsClientConnection']/method[@name='GetAcceptedCas']/return-type" name="owned">true</attr>
<attr path="/api/namespace/interface[@cname='GTlsServerConnection']/property[@cname='authentication-mode']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GVolume']" name="consume_only">1</attr>
<attr path="/api/namespace/interface[@cname='GVolume']/method[@name='GetMount']" name="name">GetMountInstance</attr>
<attr path="/api/namespace/object/property[@type='GDbusAuthObserver']" name="type">GDBusAuthObserver</attr>
<attr path="/api/namespace/object/property[@type='GDbusCapabilityFlags']" name="type">GDBusCapabilityFlags</attr>
<attr path="/api/namespace/object/property[@type='GDbusConnection']" name="type">GDBusConnection</attr>
<attr path="/api/namespace/object/property[@type='GDbusConnectionFlags']" name="type">GDBusConnectionFlags</attr>
<attr path="/api/namespace/object/property[@type='GDbusInterfaceInfo']" name="type">GDBusInterfaceInfo</attr>
<attr path="/api/namespace/object/property[@type='GDbusProxyFlags']" name="type">GDBusProxyFlags</attr>
<attr path="/api/namespace/object/property[@type='GDbusServerFlags']" name="type">GDBusServerFlags</attr>
<attr path="/api/namespace/object/property[@type='GIoStream']" name="type">GIOStream</attr>
<attr path="/api/namespace/object/property[@type='GUnixFdList']" name="type">GUnixFDList</attr>
<attr path="/api/namespace/object[@cname='GApplication']/signal[@cname='activate']" name="name">Activated</attr>
<attr path="/api/namespace/object[@cname='GApplication']/signal[@cname='open']" name="name">Opened</attr>
<attr path="/api/namespace/object[@cname='GDBusAuthObserver']/signal[@cname='authorize-authenticated-peer']" name="name">AuthenticatedPeerAuthorized</attr>
<attr path="/api/namespace/object[@cname='GDBusConnection']/property[@cname='closed']" name="name">IsClosed</attr>
<attr path="/api/namespace/object[@cname='GDBusConnection']/method[@cname='g_dbus_connection_is_closed']" name="name">GetIsClosed</attr>
<attr path="/api/namespace/object[@cname='GEmblemedIcon']/method[@name='GetEmblems']/return-type" name="element_type">GEmblem*</attr>
<attr path="/api/namespace/object[@cname='GFileEnumerator']/*[@name='NextFilesFinish']/return-type" name="element_type">GFileInfo*</attr>
<attr path="/api/namespace/object[@cname='GFileEnumerator']/*[@name='NextFilesFinish']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GFileEnumerator']/*[@name='NextFilesFinish']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/object[@cname='GFileInfo']/method[@cname='g_file_info_get_attribute_int64']" name="name">GetAttributeLong</attr>
<attr path="/api/namespace/object[@cname='GFileInfo']/method[@cname='g_file_info_set_attribute_int64']" name="name">SetAttributeLong</attr>
<attr path="/api/namespace/object[@cname='GFileInfo']/method[@cname='g_file_info_get_attribute_uint64']" name="name">GetAttributeULong</attr>
<attr path="/api/namespace/object[@cname='GFileInfo']/method[@cname='g_file_info_set_attribute_uint64']" name="name">SetAttributeULong</attr>
<attr path="/api/namespace/object[@cname='GFileInfo']/method[@cname='g_file_info_get_attribute_int32']" name="name">GetAttributeInt</attr>
<attr path="/api/namespace/object[@cname='GFileInfo']/method[@cname='g_file_info_set_attribute_int32']" name="name">SetAttributeInt</attr>
<attr path="/api/namespace/object[@cname='GFileInfo']/method[@cname='g_file_info_get_attribute_uint32']" name="name">GetAttributeUInt</attr>
<attr path="/api/namespace/object[@cname='GFileInfo']/method[@cname='g_file_info_set_attribute_uint32']" name="name">SetAttributeUInt</attr>
<attr path="/api/namespace/object[@cname='GInetAddress']/constructor[@cname='g_inet_address_new_from_bytes']/parameters/parameter[@name='bytes']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GInputStream']/method[@cname='g_input_stream_read']/parameters/parameter[@name='buffer']" name="type">guchar*</attr>
<attr path="/api/namespace/object[@cname='GInputStream']/method[@cname='g_input_stream_read']/parameters/parameter[@name='buffer']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GInputStream']/method[@cname='g_input_stream_read_all']/parameters/parameter[@name='buffer']" name="type">guchar*</attr>
<attr path="/api/namespace/object[@cname='GInputStream']/method[@cname='g_input_stream_read_all']/parameters/parameter[@name='buffer']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GInputStream']/method[@cname='g_input_stream_read_async']/parameters/parameter[@name='buffer']" name="type">guchar*</attr>
<attr path="/api/namespace/object[@cname='GInputStream']/method[@cname='g_input_stream_read_async']/parameters/parameter[@name='buffer']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GMemoryOutputStream']/method[@name='GetData']" name="new_flag">1</attr>
<attr path="/api/namespace/object[@cname='GMountOperation']/method[@name='Reply']" name="name">EmitReply</attr>
<attr path="/api/namespace/object[@cname='GOutputStream']/method[@cname='g_output_stream_write']/parameters/parameter[@name='buffer']" name="type">guchar*</attr>
<attr path="/api/namespace/object[@cname='GOutputStream']/method[@cname='g_output_stream_write']/parameters/parameter[@name='buffer']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GOutputStream']/method[@cname='g_output_stream_write_all']/parameters/parameter[@name='buffer']" name="type">guchar*</attr>
<attr path="/api/namespace/object[@cname='GOutputStream']/method[@cname='g_output_stream_write_all']/parameters/parameter[@name='buffer']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GOutputStream']/method[@cname='g_output_stream_write_async']/parameters/parameter[@name='buffer']" name="type">guchar*</attr>
<attr path="/api/namespace/object[@cname='GOutputStream']/method[@cname='g_output_stream_write_async']/parameters/parameter[@name='buffer']" name="array">1</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupByName']/return-type" name="element_type">GInetAddress*</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupByName']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupByName']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupByNameFinish']/return-type" name="element_type">GInetAddress*</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupByNameFinish']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupByNameFinish']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupService']/return-type" name="element_type">GSrvTarget*</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupService']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupService']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupServiceFinish']/return-type" name="element_type">GSrvTarget*</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupServiceFinish']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GResolver']/*[@name='LookupServiceFinish']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/object[@cname='GSimpleAction']/signal[@cname='activate']" name="name">Activated</attr>
<attr path="/api/namespace/object[@cname='GSimpleAsyncResult']/constructor[@cname='g_simple_async_result_new_error']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GSimpleAsyncResult']/method[@name='SetError']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GThemedIcon']/method[@name='GetNames']/return-type" name="null_term_array">1</attr>
<attr path="/api/namespace/object[@cname='GTlsCertificate']/method[@name='ListNewFromFile']/return-type" name="element_type">GTlsCertificate*</attr>
<attr path="/api/namespace/object[@cname='GTlsCertificate']/method[@name='ListNewFromFile']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/object[@cname='GTlsCertificate']/method[@name='ListNewFromFile']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/method[@name='Get']" name="name">GetDefault</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetMounts']/return-type" name="element_type">GMount*</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetMounts']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetMounts']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetVolumes']/return-type" name="element_type">GVolume*</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetVolumes']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetVolumes']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetConnectedDrives']/return-type" name="element_type">GDrive*</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetConnectedDrives']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetConnectedDrives']/return-type" name="elements_owned">true</attr>
<move-node path="/api/namespace/class[@cname='GIo_']/method[@name='ErrorQuark']">/api/namespace/class[@cname='GGlobal']</move-node>
<move-node path="/api/namespace/class[@cname='GIo_']/method[@name='LoadAllInDirectory']">/api/namespace/object[@cname='GIOModule']</move-node>
<move-node path="/api/namespace/class[@cname='GIo_']/method[@name='ScanAllInDirectory']">/api/namespace/object[@cname='GIOModule']</move-node>
<move-node path="/api/namespace/class[@cname='GIo_']/method[@name='CancelAllJobs']">/api/namespace/struct[@cname='GIOSchedulerJob']</move-node>
<move-node path="/api/namespace/class[@cname='GIo_']/method[@name='PushJob']">/api/namespace/struct[@cname='GIOSchedulerJob']</move-node>
<remove-node path="/api/namespace/class[@cname='GDbus_']/method[@name='ErrorSetDbusErrorValist']" />
<remove-node path="/api/namespace/enum[@cname='GSocketMsgFlags']" />
<remove-node path="/api/namespace/interface[@cname='GDesktopAppInfoLookup']" />
<remove-node path="/api/namespace/interface[@cname='GTlsBackend']" />
</metadata>