/usr/share/gir-1.0/GnomeMaps-1.0.gir is in gnome-maps 3.18.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 | <?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="Champlain" version="0.12"/>
<include name="GLib" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="GeocodeGlib" version="1.0"/>
<package name="gnome-maps-1.0"/>
<namespace name="GnomeMaps"
version="1.0"
shared-library="libgnome-maps.so.0"
c:identifier-prefixes="Maps"
c:symbol-prefixes="maps">
<alias name="ContactStore_autoptr" c:type="MapsContactStore_autoptr">
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="Contact_autoptr" c:type="MapsContact_autoptr">
<type name="gpointer" c:type="gpointer"/>
</alias>
<class name="Contact"
c:symbol-prefix="contact"
c:type="MapsContact"
parent="GObject.Object"
glib:type-name="MapsContact"
glib:get-type="maps_contact_get_type"
glib:type-struct="ContactClass">
<constructor name="new" c:identifier="maps_contact_new">
<return-value transfer-ownership="full">
<type name="Contact" c:type="MapsContact*"/>
</return-value>
</constructor>
<method name="add_place" c:identifier="maps_contact_add_place">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<type name="Contact" c:type="MapsContact*"/>
</instance-parameter>
<parameter name="place" transfer-ownership="none">
<type name="GeocodeGlib.Place" c:type="GeocodePlace*"/>
</parameter>
</parameters>
</method>
<method name="geocode" c:identifier="maps_contact_geocode">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">A #MapsContact object</doc>
<type name="Contact" c:type="MapsContact*"/>
</instance-parameter>
<parameter name="callback" transfer-ownership="none" scope="async">
<doc xml:space="preserve">A #MapsContactGeocodeCallback function</doc>
<type name="ContactGeocodeCallback"
c:type="MapsContactGeocodeCallback"/>
</parameter>
</parameters>
</method>
<method name="get_places" c:identifier="maps_contact_get_places">
<return-value transfer-ownership="container">
<doc xml:space="preserve">a list of #GeocodePlace</doc>
<type name="GLib.List" c:type="GList*">
<type name="GeocodeGlib.Place"/>
</type>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">A #MapsContact object</doc>
<type name="Contact" c:type="MapsContact*"/>
</instance-parameter>
</parameters>
</method>
<property name="bounding-box" transfer-ownership="none">
<doc xml:space="preserve">The bounding box for the contact.</doc>
<type name="Champlain.BoundingBox"/>
</property>
<property name="icon" writable="1" transfer-ownership="none">
<doc xml:space="preserve">The icon of the contact.</doc>
<type name="Gio.Icon"/>
</property>
<property name="id" writable="1" transfer-ownership="none">
<doc xml:space="preserve">The unique id of the contact.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="name" writable="1" transfer-ownership="none">
<doc xml:space="preserve">The name of the contact.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="ContactPrivate" c:type="MapsContactPrivate*"/>
</field>
</class>
<record name="ContactClass"
c:type="MapsContactClass"
glib:is-gtype-struct-for="Contact">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<callback name="ContactGeocodeCallback"
c:type="MapsContactGeocodeCallback">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">A #MapsContact object</doc>
<type name="Contact" c:type="MapsContact*"/>
</parameter>
</parameters>
</callback>
<record name="ContactPrivate" c:type="MapsContactPrivate" disguised="1">
</record>
<class name="ContactStore"
c:symbol-prefix="contact_store"
c:type="MapsContactStore"
parent="GObject.Object"
glib:type-name="MapsContactStore"
glib:get-type="maps_contact_store_get_type"
glib:type-struct="ContactStoreClass">
<constructor name="new" c:identifier="maps_contact_store_new">
<return-value transfer-ownership="full">
<type name="ContactStore" c:type="MapsContactStore*"/>
</return-value>
</constructor>
<method name="get_contacts"
c:identifier="maps_contact_store_get_contacts">
<return-value transfer-ownership="container">
<doc xml:space="preserve">a list of #MapsContact,</doc>
<type name="GLib.List" c:type="GList*">
<type name="Contact"/>
</type>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">A #MapsContactStore object</doc>
<type name="ContactStore" c:type="MapsContactStore*"/>
</instance-parameter>
</parameters>
</method>
<method name="load" c:identifier="maps_contact_store_load">
<doc xml:space="preserve">Load contacts from available backends.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">A #MapsContactStore object</doc>
<type name="ContactStore" c:type="MapsContactStore*"/>
</instance-parameter>
</parameters>
</method>
<method name="lookup" c:identifier="maps_contact_store_lookup">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">A #MapsContactStore object</doc>
<type name="ContactStore" c:type="MapsContactStore*"/>
</instance-parameter>
<parameter name="id" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" scope="async">
<doc xml:space="preserve">A #MapsContactStoreLookupCallback function</doc>
<type name="ContactStoreLookupCallback"
c:type="MapsContactStoreLookupCallback"/>
</parameter>
</parameters>
</method>
<property name="state" transfer-ownership="none">
<doc xml:space="preserve">The type of the contact.</doc>
<type name="ContactStoreState"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="ContactStorePrivate" c:type="MapsContactStorePrivate*"/>
</field>
</class>
<record name="ContactStoreClass"
c:type="MapsContactStoreClass"
glib:is-gtype-struct-for="ContactStore">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<callback name="ContactStoreLookupCallback"
c:type="MapsContactStoreLookupCallback">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">A #MapsContact object</doc>
<type name="Contact" c:type="MapsContact*"/>
</parameter>
</parameters>
</callback>
<record name="ContactStorePrivate"
c:type="MapsContactStorePrivate"
disguised="1">
</record>
<enumeration name="ContactStoreState"
glib:type-name="MapsContactStoreState"
glib:get-type="maps_contact_store_state_get_type"
c:type="MapsContactStoreState">
<member name="initial"
value="0"
c:identifier="MAPS_CONTACT_STORE_STATE_INITIAL"
glib:nick="initial">
<doc xml:space="preserve">Initial state</doc>
</member>
<member name="loading"
value="1"
c:identifier="MAPS_CONTACT_STORE_STATE_LOADING"
glib:nick="loading">
<doc xml:space="preserve">Loading</doc>
</member>
<member name="loaded"
value="2"
c:identifier="MAPS_CONTACT_STORE_STATE_LOADED"
glib:nick="loaded">
<doc xml:space="preserve">Loaded</doc>
</member>
</enumeration>
<class name="FileTileSource"
c:symbol-prefix="file_tile_source"
c:type="MapsFileTileSource"
parent="Champlain.TileSource"
glib:type-name="MapsFileTileSource"
glib:get-type="maps_file_tile_source_get_type"
glib:type-struct="FileTileSourceClass">
<doc xml:space="preserve">The #MapsFileTileSource structure contains only private data
and should be accessed using the provided API</doc>
<method name="prepare"
c:identifier="maps_file_tile_source_prepare"
throws="1">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="tile_source" transfer-ownership="none">
<type name="FileTileSource" c:type="MapsFileTileSource*"/>
</instance-parameter>
</parameters>
</method>
<property name="max-zoom" transfer-ownership="none">
<doc xml:space="preserve">The maximum zoom level of the tile source.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="min-zoom" transfer-ownership="none">
<doc xml:space="preserve">The minimum zoom level of the tile source.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="path"
writable="1"
construct="1"
transfer-ownership="none">
<doc xml:space="preserve">The path to the tile source.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="world" transfer-ownership="none">
<doc xml:space="preserve">Set a bounding box to limit the world to. No tiles will be loaded
outside of this bounding box. It will not be possible to scroll outside
of this bounding box.</doc>
<type name="Champlain.BoundingBox"/>
</property>
<field name="parent_instance">
<type name="Champlain.TileSource" c:type="ChamplainTileSource"/>
</field>
<field name="priv">
<type name="FileTileSourcePrivate"
c:type="MapsFileTileSourcePrivate*"/>
</field>
</class>
<record name="FileTileSourceClass"
c:type="MapsFileTileSourceClass"
glib:is-gtype-struct-for="FileTileSource">
<field name="parent_class">
<type name="Champlain.TileSourceClass"
c:type="ChamplainTileSourceClass"/>
</field>
</record>
<record name="FileTileSourcePrivate"
c:type="MapsFileTileSourcePrivate"
disguised="1">
</record>
<record name="_ContactClass" c:type="_MapsContactClass">
<field name="parent_class" writable="1">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="_ContactStoreClass" c:type="_MapsContactStoreClass">
<field name="parent_class" writable="1">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
</namespace>
</repository>
|