File: MPID-3.0.gir

package info (click to toggle)
rhythmbox 2.97-2.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 40,820 kB
  • sloc: ansic: 117,691; xml: 28,786; sh: 11,150; python: 3,862; makefile: 2,561
file content (229 lines) | stat: -rw-r--r-- 8,937 bytes parent folder | download
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
<?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="GLib" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <package name="gobject-2.0"/>
  <c:include name="rhythmbox.h"/>
  <namespace name="MPID"
             version="3.0"
             shared-library="librhythmbox-core.so.6"
             c:identifier-prefixes="MPID"
             c:symbol-prefixes="mpid_">
    <class name="Device"
           c:symbol-prefix="device"
           c:type="MPIDDevice"
           parent="GObject.Object"
           glib:type-name="MPIDDevice"
           glib:get-type="mpid_device_get_type"
           glib:type-struct="DeviceClass">
      <doc xml:whitespace="preserve">An #MPIDDevice stores a set of information for a particular attached device,
identified by either a mount point (e.g. /media/device) or a device node
(e.g. /dev/sdb).</doc>
      <constructor name="new" c:identifier="mpid_device_new">
        <doc xml:whitespace="preserve">Creates a new #MPIDDevice and reads device information for the specified
device node path or mount point path.</doc>
        <return-value transfer-ownership="full">
          <doc xml:whitespace="preserve">new #MPIDDevice instance</doc>
          <type name="Device" c:type="MPIDDevice*"/>
        </return-value>
        <parameters>
          <parameter name="path" transfer-ownership="none">
            <doc xml:whitespace="preserve">the input path (either device node path or mount point)</doc>
            <type name="utf8" c:type="char*"/>
          </parameter>
        </parameters>
      </constructor>
      <property name="access-protocols" transfer-ownership="none">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="audio-folders" transfer-ownership="none">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="drive-type" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="error" transfer-ownership="none">
        <type name="Error"/>
      </property>
      <property name="folder-depth" transfer-ownership="none">
        <type name="gint"/>
      </property>
      <property name="fs-uuid" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="input-formats" transfer-ownership="none">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="input-path"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:whitespace="preserve">Either the device node path or the mount point path for the device.</doc>
        <type name="utf8"/>
      </property>
      <property name="model" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="output-formats" transfer-ownership="none">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="playlist-formats" transfer-ownership="none">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="playlist-path" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="requires-eject" transfer-ownership="none">
        <type name="gboolean"/>
      </property>
      <property name="serial" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <property name="source" transfer-ownership="none">
        <type name="SourceType"/>
      </property>
      <property name="vendor" transfer-ownership="none">
        <type name="utf8"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="input_path" readable="0" private="1">
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="error" readable="0" private="1">
        <type name="Error" c:type="MPIDError"/>
      </field>
      <field name="source" readable="0" private="1">
        <type name="Source" c:type="MPIDSource"/>
      </field>
      <field name="model" readable="0" private="1">
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="vendor" readable="0" private="1">
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="fs_uuid" readable="0" private="1">
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="serial" readable="0" private="1">
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="drive_type" readable="0" private="1">
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="requires_eject" readable="0" private="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="access_protocols" readable="0" private="1">
        <type name="utf8" c:type="char**"/>
      </field>
      <field name="output_formats" readable="0" private="1">
        <type name="utf8" c:type="char**"/>
      </field>
      <field name="input_formats" readable="0" private="1">
        <type name="utf8" c:type="char**"/>
      </field>
      <field name="playlist_formats" readable="0" private="1">
        <type name="utf8" c:type="char**"/>
      </field>
      <field name="playlist_path" readable="0" private="1">
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="audio_folders" readable="0" private="1">
        <type name="utf8" c:type="char**"/>
      </field>
      <field name="folder_depth" readable="0" private="1">
        <type name="gint" c:type="int"/>
      </field>
    </class>
    <record name="DeviceClass"
            c:type="MPIDDeviceClass"
            glib:is-gtype-struct-for="Device">
      <field name="parent_class" readable="0" private="1">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="Error"
                 glib:type-name="MPIDError"
                 glib:get-type="mpid_error_get_type"
                 c:type="MPIDError">
      <member name="OK"
              value="0"
              c:identifier="MPID_ERROR_NONE"
              glib:nick="OK"/>
      <member name="no_such_device"
              value="1"
              c:identifier="MPID_ERROR_NO_DEVICE_PATH"
              glib:nick="no-such-device"/>
      <member name="device_db_failed"
              value="2"
              c:identifier="MPID_ERROR_MECHANISM_FAILED"
              glib:nick="device-db-failed"/>
      <member name="not_media_player"
              value="3"
              c:identifier="MPID_ERROR_NOT_MEDIA_PLAYER"
              glib:nick="not-media-player"/>
      <member name="device_info_missing"
              value="4"
              c:identifier="MPID_ERROR_DEVICE_INFO_MISSING"
              glib:nick="device-info-missing"/>
    </enumeration>
    <constant name="PROTOCOL_GENERIC"
              value="storage"
              c:type="MPID_PROTOCOL_GENERIC">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="PROTOCOL_IPOD" value="ipod" c:type="MPID_PROTOCOL_IPOD">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <enumeration name="Source" c:type="MPIDSource">
      <member name="none" value="0" c:identifier="MPID_SOURCE_NONE"/>
      <member name="system" value="1" c:identifier="MPID_SOURCE_SYSTEM"/>
      <member name="override" value="2" c:identifier="MPID_SOURCE_OVERRIDE"/>
    </enumeration>
    <enumeration name="SourceType"
                 glib:type-name="MPIDSourceType"
                 glib:get-type="mpid_source_get_type"
                 c:type="MPIDSourceType">
      <member name="no_device_info"
              value="0"
              c:identifier="MPID_SOURCE_NONE"
              glib:nick="no-device-info"/>
      <member name="system_device_info"
              value="1"
              c:identifier="MPID_SOURCE_SYSTEM"
              glib:nick="system-device-info"/>
      <member name="override_device_info"
              value="2"
              c:identifier="MPID_SOURCE_OVERRIDE"
              glib:nick="override-device-info"/>
    </enumeration>
    <function name="enable_debug" c:identifier="mpid_enable_debug">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="debug" transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>