@girs/cloudproviders-0.3 0.3.0-3.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2309 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * CloudProviders-0.3
10
+ */
11
+
12
+ import type Gio from '@girs/gio-2.0';
13
+ import type GObject from '@girs/gobject-2.0';
14
+ import type GLib from '@girs/glib-2.0';
15
+
16
+ export namespace CloudProviders {
17
+
18
+ enum AccountStatus {
19
+ INVALID,
20
+ IDLE,
21
+ SYNCING,
22
+ ERROR,
23
+ }
24
+ const ACCOUNT_DBUS_IFACE: string | null
25
+ const PROVIDER_DBUS_IFACE: string | null
26
+ /**
27
+ * Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> D-Bus interface.
28
+ * @returns A #GDBusInterfaceInfo. Do not free.
29
+ */
30
+ function dbus_account_interface_info(): Gio.DBusInterfaceInfo
31
+ /**
32
+ * Overrides all #GObject properties in the #CloudProvidersDbusAccount interface for a concrete class.
33
+ * The properties are overridden in the order they are defined.
34
+ * @param klass The class structure for a #GObject derived class.
35
+ * @param property_id_begin The property id to assign to the first overridden property.
36
+ * @returns The last property id.
37
+ */
38
+ function dbus_account_override_properties(klass: GObject.ObjectClass, property_id_begin: number): number
39
+ /**
40
+ * Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link> D-Bus interface.
41
+ * @returns A #GDBusInterfaceInfo. Do not free.
42
+ */
43
+ function dbus_provider_interface_info(): Gio.DBusInterfaceInfo
44
+ /**
45
+ * Overrides all #GObject properties in the #CloudProvidersDbusProvider interface for a concrete class.
46
+ * The properties are overridden in the order they are defined.
47
+ * @param klass The class structure for a #GObject derived class.
48
+ * @param property_id_begin The property id to assign to the first overridden property.
49
+ * @returns The last property id.
50
+ */
51
+ function dbus_provider_override_properties(klass: GObject.ObjectClass, property_id_begin: number): number
52
+ module DbusAccount {
53
+
54
+ // Constructor properties interface
55
+
56
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
57
+
58
+ // Own constructor properties of CloudProviders-0.3.CloudProviders.DbusAccount
59
+
60
+ /**
61
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Icon">"Icon"</link>.
62
+ *
63
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
64
+ */
65
+ icon?: string | null
66
+ /**
67
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Name">"Name"</link>.
68
+ *
69
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
70
+ */
71
+ name?: string | null
72
+ /**
73
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Path">"Path"</link>.
74
+ *
75
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
76
+ */
77
+ path?: string | null
78
+ /**
79
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Status">"Status"</link>.
80
+ *
81
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
82
+ */
83
+ status?: number | null
84
+ /**
85
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
86
+ *
87
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
88
+ */
89
+ status_details?: string | null
90
+ }
91
+
92
+ }
93
+
94
+ interface DbusAccount {
95
+
96
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusAccount
97
+
98
+ /**
99
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Icon">"Icon"</link>.
100
+ *
101
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
102
+ */
103
+ icon: string | null
104
+ /**
105
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Name">"Name"</link>.
106
+ *
107
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
108
+ */
109
+ name: string | null
110
+ /**
111
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Path">"Path"</link>.
112
+ *
113
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
114
+ */
115
+ path: string | null
116
+ /**
117
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.Status">"Status"</link>.
118
+ *
119
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
120
+ */
121
+ status: number
122
+ /**
123
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Account.StatusDetails">"StatusDetails"</link>.
124
+ *
125
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
126
+ */
127
+ status_details: string | null
128
+
129
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusAccount
130
+
131
+ connect(sigName: "notify::icon", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
132
+ connect_after(sigName: "notify::icon", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
133
+ emit(sigName: "notify::icon", ...args: any[]): void
134
+ connect(sigName: "notify::name", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
135
+ connect_after(sigName: "notify::name", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
136
+ emit(sigName: "notify::name", ...args: any[]): void
137
+ connect(sigName: "notify::path", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
138
+ connect_after(sigName: "notify::path", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
139
+ emit(sigName: "notify::path", ...args: any[]): void
140
+ connect(sigName: "notify::status", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
141
+ connect_after(sigName: "notify::status", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
142
+ emit(sigName: "notify::status", ...args: any[]): void
143
+ connect(sigName: "notify::status-details", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
144
+ connect_after(sigName: "notify::status-details", callback: (($obj: DbusAccount, pspec: GObject.ParamSpec) => void)): number
145
+ emit(sigName: "notify::status-details", ...args: any[]): void
146
+ connect(sigName: string, callback: (...args: any[]) => void): number
147
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
148
+ emit(sigName: string, ...args: any[]): void
149
+ disconnect(id: number): void
150
+ }
151
+
152
+ /**
153
+ * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>.
154
+ * @interface
155
+ */
156
+ class DbusAccount extends GObject.Object {
157
+
158
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusAccount
159
+
160
+ static name: string
161
+ static $gtype: GObject.GType<DbusAccount>
162
+
163
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusAccount
164
+
165
+ constructor(config?: DbusAccount.ConstructorProperties)
166
+ _init(config?: DbusAccount.ConstructorProperties): void
167
+ /**
168
+ * Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> D-Bus interface.
169
+ * @returns A #GDBusInterfaceInfo. Do not free.
170
+ */
171
+ static interface_info(): Gio.DBusInterfaceInfo
172
+ /**
173
+ * Overrides all #GObject properties in the #CloudProvidersDbusAccount interface for a concrete class.
174
+ * The properties are overridden in the order they are defined.
175
+ * @param klass The class structure for a #GObject derived class.
176
+ * @param property_id_begin The property id to assign to the first overridden property.
177
+ * @returns The last property id.
178
+ */
179
+ static override_properties(klass: GObject.ObjectClass, property_id_begin: number): number
180
+ }
181
+
182
+ module DbusObject {
183
+
184
+ // Constructor properties interface
185
+
186
+ interface ConstructorProperties extends Gio.DBusObject.ConstructorProperties, GObject.Object.ConstructorProperties {
187
+
188
+ // Own constructor properties of CloudProviders-0.3.CloudProviders.DbusObject
189
+
190
+ /**
191
+ * The #CloudProvidersDbusAccount instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>, if any.
192
+ *
193
+ * Connect to the #GObject::notify signal to get informed of property changes.
194
+ */
195
+ account?: DbusAccount | null
196
+ /**
197
+ * The #CloudProvidersDbusProvider instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>, if any.
198
+ *
199
+ * Connect to the #GObject::notify signal to get informed of property changes.
200
+ */
201
+ provider?: DbusProvider | null
202
+ }
203
+
204
+ }
205
+
206
+ interface DbusObject extends Gio.DBusObject {
207
+
208
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObject
209
+
210
+ /**
211
+ * The #CloudProvidersDbusAccount instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>, if any.
212
+ *
213
+ * Connect to the #GObject::notify signal to get informed of property changes.
214
+ */
215
+ account: DbusAccount
216
+ /**
217
+ * The #CloudProvidersDbusProvider instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>, if any.
218
+ *
219
+ * Connect to the #GObject::notify signal to get informed of property changes.
220
+ */
221
+ provider: DbusProvider
222
+
223
+ // Owm methods of CloudProviders-0.3.CloudProviders.DbusObject
224
+
225
+ /**
226
+ * Gets the #CloudProvidersDbusAccount instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> on `object,` if any.
227
+ * @returns A #CloudProvidersDbusAccount that must be freed with g_object_unref() or %NULL if @object does not implement the interface.
228
+ */
229
+ get_account(): DbusAccount | null
230
+ /**
231
+ * Gets the #CloudProvidersDbusProvider instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link> on `object,` if any.
232
+ * @returns A #CloudProvidersDbusProvider that must be freed with g_object_unref() or %NULL if @object does not implement the interface.
233
+ */
234
+ get_provider(): DbusProvider | null
235
+
236
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusObject
237
+
238
+ connect(sigName: "notify::account", callback: (($obj: DbusObject, pspec: GObject.ParamSpec) => void)): number
239
+ connect_after(sigName: "notify::account", callback: (($obj: DbusObject, pspec: GObject.ParamSpec) => void)): number
240
+ emit(sigName: "notify::account", ...args: any[]): void
241
+ connect(sigName: "notify::provider", callback: (($obj: DbusObject, pspec: GObject.ParamSpec) => void)): number
242
+ connect_after(sigName: "notify::provider", callback: (($obj: DbusObject, pspec: GObject.ParamSpec) => void)): number
243
+ emit(sigName: "notify::provider", ...args: any[]): void
244
+ connect(sigName: string, callback: (...args: any[]) => void): number
245
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
246
+ emit(sigName: string, ...args: any[]): void
247
+ disconnect(id: number): void
248
+ }
249
+
250
+ /**
251
+ * The #CloudProvidersDbusObject type is a specialized container of interfaces.
252
+ * @interface
253
+ */
254
+ class DbusObject extends GObject.Object {
255
+
256
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObject
257
+
258
+ static name: string
259
+ static $gtype: GObject.GType<DbusObject>
260
+
261
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusObject
262
+
263
+ constructor(config?: DbusObject.ConstructorProperties)
264
+ _init(config?: DbusObject.ConstructorProperties): void
265
+ }
266
+
267
+ module DbusProvider {
268
+
269
+ // Constructor properties interface
270
+
271
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
272
+
273
+ // Own constructor properties of CloudProviders-0.3.CloudProviders.DbusProvider
274
+
275
+ /**
276
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Provider.Name">"Name"</link>.
277
+ *
278
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
279
+ */
280
+ name?: string | null
281
+ }
282
+
283
+ }
284
+
285
+ interface DbusProvider {
286
+
287
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusProvider
288
+
289
+ /**
290
+ * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-CloudProviders-Provider.Name">"Name"</link>.
291
+ *
292
+ * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
293
+ */
294
+ name: string | null
295
+
296
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusProvider
297
+
298
+ connect(sigName: "notify::name", callback: (($obj: DbusProvider, pspec: GObject.ParamSpec) => void)): number
299
+ connect_after(sigName: "notify::name", callback: (($obj: DbusProvider, pspec: GObject.ParamSpec) => void)): number
300
+ emit(sigName: "notify::name", ...args: any[]): void
301
+ connect(sigName: string, callback: (...args: any[]) => void): number
302
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
303
+ emit(sigName: string, ...args: any[]): void
304
+ disconnect(id: number): void
305
+ }
306
+
307
+ /**
308
+ * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>.
309
+ * @interface
310
+ */
311
+ class DbusProvider extends GObject.Object {
312
+
313
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusProvider
314
+
315
+ static name: string
316
+ static $gtype: GObject.GType<DbusProvider>
317
+
318
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusProvider
319
+
320
+ constructor(config?: DbusProvider.ConstructorProperties)
321
+ _init(config?: DbusProvider.ConstructorProperties): void
322
+ /**
323
+ * Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link> D-Bus interface.
324
+ * @returns A #GDBusInterfaceInfo. Do not free.
325
+ */
326
+ static interface_info(): Gio.DBusInterfaceInfo
327
+ /**
328
+ * Overrides all #GObject properties in the #CloudProvidersDbusProvider interface for a concrete class.
329
+ * The properties are overridden in the order they are defined.
330
+ * @param klass The class structure for a #GObject derived class.
331
+ * @param property_id_begin The property id to assign to the first overridden property.
332
+ * @returns The last property id.
333
+ */
334
+ static override_properties(klass: GObject.ObjectClass, property_id_begin: number): number
335
+ }
336
+
337
+ module Account {
338
+
339
+ // Constructor properties interface
340
+
341
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
342
+ }
343
+
344
+ }
345
+
346
+ interface Account {
347
+
348
+ // Own properties of CloudProviders-0.3.CloudProviders.Account
349
+
350
+ readonly action_group: Gio.ActionGroup
351
+ readonly icon: Gio.Icon
352
+ readonly menu_model: Gio.MenuModel
353
+ readonly name: string | null
354
+ readonly path: string | null
355
+ readonly status_details: string | null
356
+
357
+ // Owm methods of CloudProviders-0.3.CloudProviders.Account
358
+
359
+ /**
360
+ * Get the action group exported in addition to the #GMenuModel from
361
+ * cloud_providers_account_get_menu_model()
362
+ * @returns The action group exported by the cloud provider account
363
+ */
364
+ get_action_group(): Gio.ActionGroup
365
+ /**
366
+ * Get the icon of the account
367
+ * @returns The icon of the cloud provider account
368
+ */
369
+ get_icon(): Gio.Icon
370
+ /**
371
+ * Get the menu model exported for the account
372
+ * @returns The menu model exported by the cloud provider account
373
+ */
374
+ get_menu_model(): Gio.MenuModel
375
+ /**
376
+ * Get the name of the account
377
+ * @returns The name of the cloud provider account
378
+ */
379
+ get_name(): string | null
380
+ /**
381
+ * Get the directory path of the account
382
+ * @returns The directory path of the cloud provider account
383
+ */
384
+ get_path(): string | null
385
+ /**
386
+ * Get the status of the account
387
+ * @returns The status of the cloud provider account
388
+ */
389
+ get_status(): AccountStatus
390
+ /**
391
+ * Get the status details of the account
392
+ * @returns The status detail description of the cloud provider account
393
+ */
394
+ get_status_details(): string | null
395
+
396
+ // Class property signals of CloudProviders-0.3.CloudProviders.Account
397
+
398
+ connect(sigName: "notify::action-group", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
399
+ connect_after(sigName: "notify::action-group", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
400
+ emit(sigName: "notify::action-group", ...args: any[]): void
401
+ connect(sigName: "notify::icon", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
402
+ connect_after(sigName: "notify::icon", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
403
+ emit(sigName: "notify::icon", ...args: any[]): void
404
+ connect(sigName: "notify::menu-model", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
405
+ connect_after(sigName: "notify::menu-model", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
406
+ emit(sigName: "notify::menu-model", ...args: any[]): void
407
+ connect(sigName: "notify::name", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
408
+ connect_after(sigName: "notify::name", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
409
+ emit(sigName: "notify::name", ...args: any[]): void
410
+ connect(sigName: "notify::path", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
411
+ connect_after(sigName: "notify::path", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
412
+ emit(sigName: "notify::path", ...args: any[]): void
413
+ connect(sigName: "notify::status-details", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
414
+ connect_after(sigName: "notify::status-details", callback: (($obj: Account, pspec: GObject.ParamSpec) => void)): number
415
+ emit(sigName: "notify::status-details", ...args: any[]): void
416
+ connect(sigName: string, callback: (...args: any[]) => void): number
417
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
418
+ emit(sigName: string, ...args: any[]): void
419
+ disconnect(id: number): void
420
+ }
421
+
422
+ /**
423
+ * #CloudProvidersAccount is the basic object used to construct the integrator UI
424
+ * and actions that a provider will present to the user, from the client side.
425
+ * Integrators of the cloud providers can use this object to poll the
426
+ * #CloudProvider menus, status and actions.
427
+ * @class
428
+ */
429
+ class Account extends GObject.Object {
430
+
431
+ // Own properties of CloudProviders-0.3.CloudProviders.Account
432
+
433
+ static name: string
434
+ static $gtype: GObject.GType<Account>
435
+
436
+ // Constructors of CloudProviders-0.3.CloudProviders.Account
437
+
438
+ constructor(config?: Account.ConstructorProperties)
439
+ /**
440
+ * A #CloudProvidersAccount object are used to fetch details about cloud providers from DBus.
441
+ * Object are usually fetched from cloud_providers_get_providers() as a list.
442
+ * @constructor
443
+ * @param proxy DBus proxy
444
+ */
445
+ constructor(proxy: Gio.DBusProxy)
446
+ /**
447
+ * A #CloudProvidersAccount object are used to fetch details about cloud providers from DBus.
448
+ * Object are usually fetched from cloud_providers_get_providers() as a list.
449
+ * @constructor
450
+ * @param proxy DBus proxy
451
+ */
452
+ static new(proxy: Gio.DBusProxy): Account
453
+ _init(config?: Account.ConstructorProperties): void
454
+ }
455
+
456
+ module AccountExporter {
457
+
458
+ // Constructor properties interface
459
+
460
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
461
+
462
+ // Own constructor properties of CloudProviders-0.3.CloudProviders.AccountExporter
463
+
464
+ action_group?: Gio.ActionGroup | null
465
+ bus_name?: string | null
466
+ icon?: Gio.Icon | null
467
+ menu_model?: Gio.MenuModel | null
468
+ name?: string | null
469
+ path?: string | null
470
+ provider?: ProviderExporter | null
471
+ status_details?: string | null
472
+ }
473
+
474
+ }
475
+
476
+ interface AccountExporter {
477
+
478
+ // Own properties of CloudProviders-0.3.CloudProviders.AccountExporter
479
+
480
+ action_group: Gio.ActionGroup
481
+ readonly bus_name: string | null
482
+ icon: Gio.Icon
483
+ menu_model: Gio.MenuModel
484
+ name: string | null
485
+ path: string | null
486
+ readonly provider: ProviderExporter
487
+ status_details: string | null
488
+
489
+ // Owm methods of CloudProviders-0.3.CloudProviders.AccountExporter
490
+
491
+ /**
492
+ * In order for a menu exported with cloud_providers_account_exporter_export_menu to receive events
493
+ * that will eventually call your callbacks, it needs the corresponding GAcionGroup.
494
+ * Use this function to export it.
495
+ * @param action_group The GActionGroup to be used by the menu exported by cloud_providers_account_exporter_export_menu
496
+ */
497
+ set_action_group(action_group: Gio.ActionGroup): void
498
+ set_icon(icon: Gio.Icon): void
499
+ /**
500
+ * One of the benefits of the integration is to display a menu with available
501
+ * options for an account. Use this function to export a GMenuModel menu to be
502
+ * displayed by the choosen integration by the desktop environment or application.
503
+ * @param menu_model The menu model to export
504
+ */
505
+ set_menu_model(menu_model: Gio.MenuModel): void
506
+ set_name(name: string | null): void
507
+ set_path(path: string | null): void
508
+ set_status(status: AccountStatus): void
509
+ set_status_details(status_details: string | null): void
510
+
511
+ // Class property signals of CloudProviders-0.3.CloudProviders.AccountExporter
512
+
513
+ connect(sigName: "notify::action-group", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
514
+ connect_after(sigName: "notify::action-group", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
515
+ emit(sigName: "notify::action-group", ...args: any[]): void
516
+ connect(sigName: "notify::bus-name", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
517
+ connect_after(sigName: "notify::bus-name", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
518
+ emit(sigName: "notify::bus-name", ...args: any[]): void
519
+ connect(sigName: "notify::icon", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
520
+ connect_after(sigName: "notify::icon", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
521
+ emit(sigName: "notify::icon", ...args: any[]): void
522
+ connect(sigName: "notify::menu-model", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
523
+ connect_after(sigName: "notify::menu-model", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
524
+ emit(sigName: "notify::menu-model", ...args: any[]): void
525
+ connect(sigName: "notify::name", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
526
+ connect_after(sigName: "notify::name", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
527
+ emit(sigName: "notify::name", ...args: any[]): void
528
+ connect(sigName: "notify::path", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
529
+ connect_after(sigName: "notify::path", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
530
+ emit(sigName: "notify::path", ...args: any[]): void
531
+ connect(sigName: "notify::provider", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
532
+ connect_after(sigName: "notify::provider", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
533
+ emit(sigName: "notify::provider", ...args: any[]): void
534
+ connect(sigName: "notify::status-details", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
535
+ connect_after(sigName: "notify::status-details", callback: (($obj: AccountExporter, pspec: GObject.ParamSpec) => void)): number
536
+ emit(sigName: "notify::status-details", ...args: any[]): void
537
+ connect(sigName: string, callback: (...args: any[]) => void): number
538
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
539
+ emit(sigName: string, ...args: any[]): void
540
+ disconnect(id: number): void
541
+ }
542
+
543
+ class AccountExporter extends GObject.Object {
544
+
545
+ // Own properties of CloudProviders-0.3.CloudProviders.AccountExporter
546
+
547
+ static name: string
548
+ static $gtype: GObject.GType<AccountExporter>
549
+
550
+ // Constructors of CloudProviders-0.3.CloudProviders.AccountExporter
551
+
552
+ constructor(config?: AccountExporter.ConstructorProperties)
553
+ /**
554
+ * Create a new #CloudProvidersAccountExporter object
555
+ * @constructor
556
+ * @param provider The provider to which it will be associated.
557
+ * @param bus_name A unique name for the account must be a valid DBus object name
558
+ */
559
+ constructor(provider: ProviderExporter, bus_name: string | null)
560
+ /**
561
+ * Create a new #CloudProvidersAccountExporter object
562
+ * @constructor
563
+ * @param provider The provider to which it will be associated.
564
+ * @param bus_name A unique name for the account must be a valid DBus object name
565
+ */
566
+ static new(provider: ProviderExporter, bus_name: string | null): AccountExporter
567
+ _init(config?: AccountExporter.ConstructorProperties): void
568
+ }
569
+
570
+ module Collector {
571
+
572
+ // Signal callback interfaces
573
+
574
+ /**
575
+ * Signal callback interface for `providers-changed`
576
+ */
577
+ interface ProvidersChangedSignalCallback {
578
+ ($obj: Collector): void
579
+ }
580
+
581
+
582
+ // Constructor properties interface
583
+
584
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
585
+ }
586
+
587
+ }
588
+
589
+ interface Collector {
590
+
591
+ // Owm methods of CloudProviders-0.3.CloudProviders.Collector
592
+
593
+ get_providers(): Provider[]
594
+ update(): void
595
+
596
+ // Own signals of CloudProviders-0.3.CloudProviders.Collector
597
+
598
+ connect(sigName: "providers-changed", callback: Collector.ProvidersChangedSignalCallback): number
599
+ connect_after(sigName: "providers-changed", callback: Collector.ProvidersChangedSignalCallback): number
600
+ emit(sigName: "providers-changed", ...args: any[]): void
601
+
602
+ // Class property signals of CloudProviders-0.3.CloudProviders.Collector
603
+
604
+ connect(sigName: string, callback: (...args: any[]) => void): number
605
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
606
+ emit(sigName: string, ...args: any[]): void
607
+ disconnect(id: number): void
608
+ }
609
+
610
+ /**
611
+ * #CloudProvidersCollector is a singleton to track all the changes in all providers.
612
+ * Using a #CloudProvidersCollector you can implement integration for all of them at once
613
+ * and represent them in the UI, track new providers added or removed and their
614
+ * status.
615
+ * @class
616
+ */
617
+ class Collector extends GObject.Object {
618
+
619
+ // Own properties of CloudProviders-0.3.CloudProviders.Collector
620
+
621
+ static name: string
622
+ static $gtype: GObject.GType<Collector>
623
+
624
+ // Constructors of CloudProviders-0.3.CloudProviders.Collector
625
+
626
+ constructor(config?: Collector.ConstructorProperties)
627
+ _init(config?: Collector.ConstructorProperties): void
628
+ /**
629
+ * Main object to track changes in all providers.
630
+ * @returns A manager singleton
631
+ */
632
+ static dup_singleton(): Collector
633
+ }
634
+
635
+ module DbusAccountProxy {
636
+
637
+ // Constructor properties interface
638
+
639
+ interface ConstructorProperties extends DbusAccount.ConstructorProperties, Gio.AsyncInitable.ConstructorProperties, Gio.DBusInterface.ConstructorProperties, Gio.Initable.ConstructorProperties, Gio.DBusProxy.ConstructorProperties {
640
+ }
641
+
642
+ }
643
+
644
+ interface DbusAccountProxy extends DbusAccount, Gio.AsyncInitable, Gio.DBusInterface, Gio.Initable {
645
+
646
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusAccountProxy
647
+
648
+ connect(sigName: "notify::g-bus-type", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
649
+ connect_after(sigName: "notify::g-bus-type", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
650
+ emit(sigName: "notify::g-bus-type", ...args: any[]): void
651
+ connect(sigName: "notify::g-connection", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
652
+ connect_after(sigName: "notify::g-connection", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
653
+ emit(sigName: "notify::g-connection", ...args: any[]): void
654
+ connect(sigName: "notify::g-default-timeout", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
655
+ connect_after(sigName: "notify::g-default-timeout", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
656
+ emit(sigName: "notify::g-default-timeout", ...args: any[]): void
657
+ connect(sigName: "notify::g-flags", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
658
+ connect_after(sigName: "notify::g-flags", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
659
+ emit(sigName: "notify::g-flags", ...args: any[]): void
660
+ connect(sigName: "notify::g-interface-info", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
661
+ connect_after(sigName: "notify::g-interface-info", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
662
+ emit(sigName: "notify::g-interface-info", ...args: any[]): void
663
+ connect(sigName: "notify::g-interface-name", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
664
+ connect_after(sigName: "notify::g-interface-name", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
665
+ emit(sigName: "notify::g-interface-name", ...args: any[]): void
666
+ connect(sigName: "notify::g-name", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
667
+ connect_after(sigName: "notify::g-name", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
668
+ emit(sigName: "notify::g-name", ...args: any[]): void
669
+ connect(sigName: "notify::g-name-owner", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
670
+ connect_after(sigName: "notify::g-name-owner", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
671
+ emit(sigName: "notify::g-name-owner", ...args: any[]): void
672
+ connect(sigName: "notify::g-object-path", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
673
+ connect_after(sigName: "notify::g-object-path", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
674
+ emit(sigName: "notify::g-object-path", ...args: any[]): void
675
+ connect(sigName: "notify::icon", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
676
+ connect_after(sigName: "notify::icon", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
677
+ emit(sigName: "notify::icon", ...args: any[]): void
678
+ connect(sigName: "notify::name", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
679
+ connect_after(sigName: "notify::name", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
680
+ emit(sigName: "notify::name", ...args: any[]): void
681
+ connect(sigName: "notify::path", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
682
+ connect_after(sigName: "notify::path", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
683
+ emit(sigName: "notify::path", ...args: any[]): void
684
+ connect(sigName: "notify::status", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
685
+ connect_after(sigName: "notify::status", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
686
+ emit(sigName: "notify::status", ...args: any[]): void
687
+ connect(sigName: "notify::status-details", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
688
+ connect_after(sigName: "notify::status-details", callback: (($obj: DbusAccountProxy, pspec: GObject.ParamSpec) => void)): number
689
+ emit(sigName: "notify::status-details", ...args: any[]): void
690
+ connect(sigName: string, callback: (...args: any[]) => void): number
691
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
692
+ emit(sigName: string, ...args: any[]): void
693
+ disconnect(id: number): void
694
+ }
695
+
696
+ /**
697
+ * The #CloudProvidersDbusAccountProxy structure contains only private data and should only be accessed using the provided API.
698
+ * @class
699
+ */
700
+ class DbusAccountProxy extends Gio.DBusProxy {
701
+
702
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusAccountProxy
703
+
704
+ static name: string
705
+ static $gtype: GObject.GType<DbusAccountProxy>
706
+
707
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusAccountProxy
708
+
709
+ constructor(config?: DbusAccountProxy.ConstructorProperties)
710
+ /**
711
+ * Finishes an operation started with cloud_providers_dbus_account_proxy_new().
712
+ * @constructor
713
+ * @param res The #GAsyncResult obtained from the #GAsyncReadyCallback passed to cloud_providers_dbus_account_proxy_new().
714
+ * @returns The constructed proxy object or %NULL if @error is set.
715
+ */
716
+ static new_finish(res: Gio.AsyncResult): DbusAccountProxy
717
+
718
+ // Overloads of new_finish
719
+
720
+ /**
721
+ * Finishes creating a #GDBusProxy.
722
+ * @constructor
723
+ * @param res A #GAsyncResult obtained from the #GAsyncReadyCallback function passed to g_dbus_proxy_new().
724
+ * @returns A #GDBusProxy or %NULL if @error is set. Free with g_object_unref().
725
+ */
726
+ static new_finish(res: Gio.AsyncResult): Gio.DBusProxy
727
+ /**
728
+ * Finishes an operation started with cloud_providers_dbus_account_proxy_new_for_bus().
729
+ * @constructor
730
+ * @param res The #GAsyncResult obtained from the #GAsyncReadyCallback passed to cloud_providers_dbus_account_proxy_new_for_bus().
731
+ * @returns The constructed proxy object or %NULL if @error is set.
732
+ */
733
+ static new_for_bus_finish(res: Gio.AsyncResult): DbusAccountProxy
734
+
735
+ // Overloads of new_for_bus_finish
736
+
737
+ /**
738
+ * Finishes creating a #GDBusProxy.
739
+ * @constructor
740
+ * @param res A #GAsyncResult obtained from the #GAsyncReadyCallback function passed to g_dbus_proxy_new_for_bus().
741
+ * @returns A #GDBusProxy or %NULL if @error is set. Free with g_object_unref().
742
+ */
743
+ static new_for_bus_finish(res: Gio.AsyncResult): Gio.DBusProxy
744
+ /**
745
+ * Like cloud_providers_dbus_account_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
746
+ *
747
+ * The calling thread is blocked until a reply is received.
748
+ *
749
+ * See cloud_providers_dbus_account_proxy_new_for_bus() for the asynchronous version of this constructor.
750
+ * @constructor
751
+ * @param bus_type A #GBusType.
752
+ * @param flags Flags from the #GDBusProxyFlags enumeration.
753
+ * @param name A bus name (well-known or unique).
754
+ * @param object_path An object path.
755
+ * @param cancellable A #GCancellable or %NULL.
756
+ * @returns The constructed proxy object or %NULL if @error is set.
757
+ */
758
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusAccountProxy
759
+
760
+ // Overloads of new_for_bus_sync
761
+
762
+ /**
763
+ * Like g_dbus_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
764
+ *
765
+ * #GDBusProxy is used in this [example][gdbus-wellknown-proxy].
766
+ * @constructor
767
+ * @param bus_type A #GBusType.
768
+ * @param flags Flags used when constructing the proxy.
769
+ * @param info A #GDBusInterfaceInfo specifying the minimal interface that `proxy` conforms to or %NULL.
770
+ * @param name A bus name (well-known or unique).
771
+ * @param object_path An object path.
772
+ * @param interface_name A D-Bus interface name.
773
+ * @param cancellable A #GCancellable or %NULL.
774
+ * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
775
+ */
776
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
777
+ /**
778
+ * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>. See g_dbus_proxy_new_sync() for more details.
779
+ *
780
+ * The calling thread is blocked until a reply is received.
781
+ *
782
+ * See cloud_providers_dbus_account_proxy_new() for the asynchronous version of this constructor.
783
+ * @constructor
784
+ * @param connection A #GDBusConnection.
785
+ * @param flags Flags from the #GDBusProxyFlags enumeration.
786
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
787
+ * @param object_path An object path.
788
+ * @param cancellable A #GCancellable or %NULL.
789
+ * @returns The constructed proxy object or %NULL if @error is set.
790
+ */
791
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusAccountProxy
792
+
793
+ // Overloads of new_sync
794
+
795
+ /**
796
+ * Creates a proxy for accessing `interface_name` on the remote object
797
+ * at `object_path` owned by `name` at `connection` and synchronously
798
+ * loads D-Bus properties unless the
799
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag is used.
800
+ *
801
+ * If the %G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS flag is not set, also sets up
802
+ * match rules for signals. Connect to the #GDBusProxy::g-signal signal
803
+ * to handle signals from the remote object.
804
+ *
805
+ * If both %G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES and
806
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS are set, this constructor is
807
+ * guaranteed to return immediately without blocking.
808
+ *
809
+ * If `name` is a well-known name and the
810
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START and %G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION
811
+ * flags aren't set and no name owner currently exists, the message bus
812
+ * will be requested to launch a name owner for the name.
813
+ *
814
+ * This is a synchronous failable constructor. See g_dbus_proxy_new()
815
+ * and g_dbus_proxy_new_finish() for the asynchronous version.
816
+ *
817
+ * #GDBusProxy is used in this [example][gdbus-wellknown-proxy].
818
+ * @constructor
819
+ * @param connection A #GDBusConnection.
820
+ * @param flags Flags used when constructing the proxy.
821
+ * @param info A #GDBusInterfaceInfo specifying the minimal interface that `proxy` conforms to or %NULL.
822
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
823
+ * @param object_path An object path.
824
+ * @param interface_name A D-Bus interface name.
825
+ * @param cancellable A #GCancellable or %NULL.
826
+ * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
827
+ */
828
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
829
+ _init(config?: DbusAccountProxy.ConstructorProperties): void
830
+ /**
831
+ * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>. See g_dbus_proxy_new() for more details.
832
+ *
833
+ * When the operation is finished, `callback` will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
834
+ * You can then call cloud_providers_dbus_account_proxy_new_finish() to get the result of the operation.
835
+ *
836
+ * See cloud_providers_dbus_account_proxy_new_sync() for the synchronous, blocking version of this constructor.
837
+ * @param connection A #GDBusConnection.
838
+ * @param flags Flags from the #GDBusProxyFlags enumeration.
839
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
840
+ * @param object_path An object path.
841
+ * @param cancellable A #GCancellable or %NULL.
842
+ * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
843
+ */
844
+ static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void
845
+
846
+ // Overloads of new
847
+
848
+ /**
849
+ * Creates a proxy for accessing `interface_name` on the remote object
850
+ * at `object_path` owned by `name` at `connection` and asynchronously
851
+ * loads D-Bus properties unless the
852
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag is used. Connect to
853
+ * the #GDBusProxy::g-properties-changed signal to get notified about
854
+ * property changes.
855
+ *
856
+ * If the %G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS flag is not set, also sets up
857
+ * match rules for signals. Connect to the #GDBusProxy::g-signal signal
858
+ * to handle signals from the remote object.
859
+ *
860
+ * If both %G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES and
861
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS are set, this constructor is
862
+ * guaranteed to complete immediately without blocking.
863
+ *
864
+ * If `name` is a well-known name and the
865
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START and %G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION
866
+ * flags aren't set and no name owner currently exists, the message bus
867
+ * will be requested to launch a name owner for the name.
868
+ *
869
+ * This is a failable asynchronous constructor - when the proxy is
870
+ * ready, `callback` will be invoked and you can use
871
+ * g_dbus_proxy_new_finish() to get the result.
872
+ *
873
+ * See g_dbus_proxy_new_sync() and for a synchronous version of this constructor.
874
+ *
875
+ * #GDBusProxy is used in this [example][gdbus-wellknown-proxy].
876
+ * @param connection A #GDBusConnection.
877
+ * @param flags Flags used when constructing the proxy.
878
+ * @param info A #GDBusInterfaceInfo specifying the minimal interface that `proxy` conforms to or %NULL.
879
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
880
+ * @param object_path An object path.
881
+ * @param interface_name A D-Bus interface name.
882
+ * @param cancellable A #GCancellable or %NULL.
883
+ * @param callback Callback function to invoke when the proxy is ready.
884
+ */
885
+ static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
886
+ /**
887
+ * Like cloud_providers_dbus_account_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
888
+ *
889
+ * When the operation is finished, `callback` will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
890
+ * You can then call cloud_providers_dbus_account_proxy_new_for_bus_finish() to get the result of the operation.
891
+ *
892
+ * See cloud_providers_dbus_account_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
893
+ * @param bus_type A #GBusType.
894
+ * @param flags Flags from the #GDBusProxyFlags enumeration.
895
+ * @param name A bus name (well-known or unique).
896
+ * @param object_path An object path.
897
+ * @param cancellable A #GCancellable or %NULL.
898
+ * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
899
+ */
900
+ static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusAccountProxy> | null): void
901
+
902
+ // Overloads of new_for_bus
903
+
904
+ /**
905
+ * Like g_dbus_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
906
+ *
907
+ * #GDBusProxy is used in this [example][gdbus-wellknown-proxy].
908
+ * @param bus_type A #GBusType.
909
+ * @param flags Flags used when constructing the proxy.
910
+ * @param info A #GDBusInterfaceInfo specifying the minimal interface that `proxy` conforms to or %NULL.
911
+ * @param name A bus name (well-known or unique).
912
+ * @param object_path An object path.
913
+ * @param interface_name A D-Bus interface name.
914
+ * @param cancellable A #GCancellable or %NULL.
915
+ * @param callback Callback function to invoke when the proxy is ready.
916
+ */
917
+ static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
918
+ }
919
+
920
+ module DbusAccountSkeleton {
921
+
922
+ // Constructor properties interface
923
+
924
+ interface ConstructorProperties extends DbusAccount.ConstructorProperties, Gio.DBusInterface.ConstructorProperties, Gio.DBusInterfaceSkeleton.ConstructorProperties {
925
+ }
926
+
927
+ }
928
+
929
+ interface DbusAccountSkeleton extends DbusAccount, Gio.DBusInterface {
930
+
931
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusAccountSkeleton
932
+
933
+ connect(sigName: "notify::g-flags", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
934
+ connect_after(sigName: "notify::g-flags", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
935
+ emit(sigName: "notify::g-flags", ...args: any[]): void
936
+ connect(sigName: "notify::icon", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
937
+ connect_after(sigName: "notify::icon", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
938
+ emit(sigName: "notify::icon", ...args: any[]): void
939
+ connect(sigName: "notify::name", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
940
+ connect_after(sigName: "notify::name", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
941
+ emit(sigName: "notify::name", ...args: any[]): void
942
+ connect(sigName: "notify::path", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
943
+ connect_after(sigName: "notify::path", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
944
+ emit(sigName: "notify::path", ...args: any[]): void
945
+ connect(sigName: "notify::status", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
946
+ connect_after(sigName: "notify::status", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
947
+ emit(sigName: "notify::status", ...args: any[]): void
948
+ connect(sigName: "notify::status-details", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
949
+ connect_after(sigName: "notify::status-details", callback: (($obj: DbusAccountSkeleton, pspec: GObject.ParamSpec) => void)): number
950
+ emit(sigName: "notify::status-details", ...args: any[]): void
951
+ connect(sigName: string, callback: (...args: any[]) => void): number
952
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
953
+ emit(sigName: string, ...args: any[]): void
954
+ disconnect(id: number): void
955
+ }
956
+
957
+ /**
958
+ * The #CloudProvidersDbusAccountSkeleton structure contains only private data and should only be accessed using the provided API.
959
+ * @class
960
+ */
961
+ class DbusAccountSkeleton extends Gio.DBusInterfaceSkeleton {
962
+
963
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusAccountSkeleton
964
+
965
+ static name: string
966
+ static $gtype: GObject.GType<DbusAccountSkeleton>
967
+
968
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusAccountSkeleton
969
+
970
+ constructor(config?: DbusAccountSkeleton.ConstructorProperties)
971
+ /**
972
+ * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>.
973
+ * @constructor
974
+ * @returns The skeleton object.
975
+ */
976
+ constructor()
977
+ /**
978
+ * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>.
979
+ * @constructor
980
+ * @returns The skeleton object.
981
+ */
982
+ static new(): DbusAccountSkeleton
983
+ _init(config?: DbusAccountSkeleton.ConstructorProperties): void
984
+ }
985
+
986
+ module DbusObjectManagerClient {
987
+
988
+ // Constructor properties interface
989
+
990
+ interface ConstructorProperties extends Gio.AsyncInitable.ConstructorProperties, Gio.DBusObjectManager.ConstructorProperties, Gio.Initable.ConstructorProperties, Gio.DBusObjectManagerClient.ConstructorProperties {
991
+ }
992
+
993
+ }
994
+
995
+ interface DbusObjectManagerClient extends Gio.AsyncInitable, Gio.DBusObjectManager, Gio.Initable {
996
+
997
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusObjectManagerClient
998
+
999
+ connect(sigName: "notify::bus-type", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1000
+ connect_after(sigName: "notify::bus-type", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1001
+ emit(sigName: "notify::bus-type", ...args: any[]): void
1002
+ connect(sigName: "notify::connection", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1003
+ connect_after(sigName: "notify::connection", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1004
+ emit(sigName: "notify::connection", ...args: any[]): void
1005
+ connect(sigName: "notify::flags", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1006
+ connect_after(sigName: "notify::flags", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1007
+ emit(sigName: "notify::flags", ...args: any[]): void
1008
+ connect(sigName: "notify::get-proxy-type-destroy-notify", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1009
+ connect_after(sigName: "notify::get-proxy-type-destroy-notify", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1010
+ emit(sigName: "notify::get-proxy-type-destroy-notify", ...args: any[]): void
1011
+ connect(sigName: "notify::get-proxy-type-func", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1012
+ connect_after(sigName: "notify::get-proxy-type-func", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1013
+ emit(sigName: "notify::get-proxy-type-func", ...args: any[]): void
1014
+ connect(sigName: "notify::get-proxy-type-user-data", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1015
+ connect_after(sigName: "notify::get-proxy-type-user-data", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1016
+ emit(sigName: "notify::get-proxy-type-user-data", ...args: any[]): void
1017
+ connect(sigName: "notify::name", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1018
+ connect_after(sigName: "notify::name", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1019
+ emit(sigName: "notify::name", ...args: any[]): void
1020
+ connect(sigName: "notify::name-owner", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1021
+ connect_after(sigName: "notify::name-owner", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1022
+ emit(sigName: "notify::name-owner", ...args: any[]): void
1023
+ connect(sigName: "notify::object-path", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1024
+ connect_after(sigName: "notify::object-path", callback: (($obj: DbusObjectManagerClient, pspec: GObject.ParamSpec) => void)): number
1025
+ emit(sigName: "notify::object-path", ...args: any[]): void
1026
+ connect(sigName: string, callback: (...args: any[]) => void): number
1027
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1028
+ emit(sigName: string, ...args: any[]): void
1029
+ disconnect(id: number): void
1030
+ }
1031
+
1032
+ /**
1033
+ * The #CloudProvidersDbusObjectManagerClient structure contains only private data and should only be accessed using the provided API.
1034
+ * @class
1035
+ */
1036
+ class DbusObjectManagerClient extends Gio.DBusObjectManagerClient {
1037
+
1038
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectManagerClient
1039
+
1040
+ static name: string
1041
+ static $gtype: GObject.GType<DbusObjectManagerClient>
1042
+
1043
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusObjectManagerClient
1044
+
1045
+ constructor(config?: DbusObjectManagerClient.ConstructorProperties)
1046
+ /**
1047
+ * Finishes an operation started with cloud_providers_dbus_object_manager_client_new().
1048
+ * @constructor
1049
+ * @param res The #GAsyncResult obtained from the #GAsyncReadyCallback passed to cloud_providers_dbus_object_manager_client_new().
1050
+ * @returns The constructed object manager client or %NULL if @error is set.
1051
+ */
1052
+ static new_finish(res: Gio.AsyncResult): DbusObjectManagerClient
1053
+
1054
+ // Overloads of new_finish
1055
+
1056
+ /**
1057
+ * Finishes an operation started with g_dbus_object_manager_client_new().
1058
+ * @constructor
1059
+ * @param res A #GAsyncResult obtained from the #GAsyncReadyCallback passed to g_dbus_object_manager_client_new().
1060
+ * @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
1061
+ */
1062
+ static new_finish(res: Gio.AsyncResult): Gio.DBusObjectManagerClient
1063
+ /**
1064
+ * Finishes an operation started with cloud_providers_dbus_object_manager_client_new_for_bus().
1065
+ * @constructor
1066
+ * @param res The #GAsyncResult obtained from the #GAsyncReadyCallback passed to cloud_providers_dbus_object_manager_client_new_for_bus().
1067
+ * @returns The constructed object manager client or %NULL if @error is set.
1068
+ */
1069
+ static new_for_bus_finish(res: Gio.AsyncResult): DbusObjectManagerClient
1070
+
1071
+ // Overloads of new_for_bus_finish
1072
+
1073
+ /**
1074
+ * Finishes an operation started with g_dbus_object_manager_client_new_for_bus().
1075
+ * @constructor
1076
+ * @param res A #GAsyncResult obtained from the #GAsyncReadyCallback passed to g_dbus_object_manager_client_new_for_bus().
1077
+ * @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
1078
+ */
1079
+ static new_for_bus_finish(res: Gio.AsyncResult): Gio.DBusObjectManagerClient
1080
+ /**
1081
+ * Like cloud_providers_dbus_object_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1082
+ *
1083
+ * The calling thread is blocked until a reply is received.
1084
+ *
1085
+ * See cloud_providers_dbus_object_manager_client_new_for_bus() for the asynchronous version of this constructor.
1086
+ * @constructor
1087
+ * @param bus_type A #GBusType.
1088
+ * @param flags Flags from the #GDBusObjectManagerClientFlags enumeration.
1089
+ * @param name A bus name (well-known or unique).
1090
+ * @param object_path An object path.
1091
+ * @param cancellable A #GCancellable or %NULL.
1092
+ * @returns The constructed object manager client or %NULL if @error is set.
1093
+ */
1094
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1095
+
1096
+ // Overloads of new_for_bus_sync
1097
+
1098
+ /**
1099
+ * Like g_dbus_object_manager_client_new_sync() but takes a #GBusType instead
1100
+ * of a #GDBusConnection.
1101
+ *
1102
+ * This is a synchronous failable constructor - the calling thread is
1103
+ * blocked until a reply is received. See g_dbus_object_manager_client_new_for_bus()
1104
+ * for the asynchronous version.
1105
+ * @constructor
1106
+ * @param bus_type A #GBusType.
1107
+ * @param flags Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.
1108
+ * @param name The owner of the control object (unique or well-known name).
1109
+ * @param object_path The object path of the control object.
1110
+ * @param get_proxy_type_func A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
1111
+ * @param cancellable A #GCancellable or %NULL
1112
+ * @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
1113
+ */
1114
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
1115
+ /**
1116
+ * Synchronously creates #GDBusObjectManagerClient using cloud_providers_dbus_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details.
1117
+ *
1118
+ * The calling thread is blocked until a reply is received.
1119
+ *
1120
+ * See cloud_providers_dbus_object_manager_client_new() for the asynchronous version of this constructor.
1121
+ * @constructor
1122
+ * @param connection A #GDBusConnection.
1123
+ * @param flags Flags from the #GDBusObjectManagerClientFlags enumeration.
1124
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
1125
+ * @param object_path An object path.
1126
+ * @param cancellable A #GCancellable or %NULL.
1127
+ * @returns The constructed object manager client or %NULL if @error is set.
1128
+ */
1129
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusObjectManagerClient
1130
+
1131
+ // Overloads of new_sync
1132
+
1133
+ /**
1134
+ * Creates a new #GDBusObjectManagerClient object.
1135
+ *
1136
+ * This is a synchronous failable constructor - the calling thread is
1137
+ * blocked until a reply is received. See g_dbus_object_manager_client_new()
1138
+ * for the asynchronous version.
1139
+ * @constructor
1140
+ * @param connection A #GDBusConnection.
1141
+ * @param flags Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.
1142
+ * @param name The owner of the control object (unique or well-known name), or %NULL when not using a message bus connection.
1143
+ * @param object_path The object path of the control object.
1144
+ * @param get_proxy_type_func A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
1145
+ * @param cancellable A #GCancellable or %NULL
1146
+ * @returns A #GDBusObjectManagerClient object or %NULL if @error is set. Free with g_object_unref().
1147
+ */
1148
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null): Gio.DBusObjectManagerClient
1149
+ _init(config?: DbusObjectManagerClient.ConstructorProperties): void
1150
+ /**
1151
+ * Asynchronously creates #GDBusObjectManagerClient using cloud_providers_dbus_object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details.
1152
+ *
1153
+ * When the operation is finished, `callback` will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1154
+ * You can then call cloud_providers_dbus_object_manager_client_new_finish() to get the result of the operation.
1155
+ *
1156
+ * See cloud_providers_dbus_object_manager_client_new_sync() for the synchronous, blocking version of this constructor.
1157
+ * @param connection A #GDBusConnection.
1158
+ * @param flags Flags from the #GDBusObjectManagerClientFlags enumeration.
1159
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
1160
+ * @param object_path An object path.
1161
+ * @param cancellable A #GCancellable or %NULL.
1162
+ * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1163
+ */
1164
+ static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void
1165
+
1166
+ // Overloads of new
1167
+
1168
+ /**
1169
+ * Asynchronously creates a new #GDBusObjectManagerClient object.
1170
+ *
1171
+ * This is an asynchronous failable constructor. When the result is
1172
+ * ready, `callback` will be invoked in the
1173
+ * [thread-default main context][g-main-context-push-thread-default]
1174
+ * of the thread you are calling this method from. You can
1175
+ * then call g_dbus_object_manager_client_new_finish() to get the result. See
1176
+ * g_dbus_object_manager_client_new_sync() for the synchronous version.
1177
+ * @param connection A #GDBusConnection.
1178
+ * @param flags Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.
1179
+ * @param name The owner of the control object (unique or well-known name).
1180
+ * @param object_path The object path of the control object.
1181
+ * @param get_proxy_type_func A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
1182
+ * @param cancellable A #GCancellable or %NULL
1183
+ * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1184
+ */
1185
+ static new(connection: Gio.DBusConnection, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
1186
+ /**
1187
+ * Like cloud_providers_dbus_object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection.
1188
+ *
1189
+ * When the operation is finished, `callback` will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1190
+ * You can then call cloud_providers_dbus_object_manager_client_new_for_bus_finish() to get the result of the operation.
1191
+ *
1192
+ * See cloud_providers_dbus_object_manager_client_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1193
+ * @param bus_type A #GBusType.
1194
+ * @param flags Flags from the #GDBusObjectManagerClientFlags enumeration.
1195
+ * @param name A bus name (well-known or unique).
1196
+ * @param object_path An object path.
1197
+ * @param cancellable A #GCancellable or %NULL.
1198
+ * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1199
+ */
1200
+ static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusObjectManagerClient> | null): void
1201
+
1202
+ // Overloads of new_for_bus
1203
+
1204
+ /**
1205
+ * Like g_dbus_object_manager_client_new() but takes a #GBusType instead of a
1206
+ * #GDBusConnection.
1207
+ *
1208
+ * This is an asynchronous failable constructor. When the result is
1209
+ * ready, `callback` will be invoked in the
1210
+ * [thread-default main loop][g-main-context-push-thread-default]
1211
+ * of the thread you are calling this method from. You can
1212
+ * then call g_dbus_object_manager_client_new_for_bus_finish() to get the result. See
1213
+ * g_dbus_object_manager_client_new_for_bus_sync() for the synchronous version.
1214
+ * @param bus_type A #GBusType.
1215
+ * @param flags Zero or more flags from the #GDBusObjectManagerClientFlags enumeration.
1216
+ * @param name The owner of the control object (unique or well-known name).
1217
+ * @param object_path The object path of the control object.
1218
+ * @param get_proxy_type_func A #GDBusProxyTypeFunc function or %NULL to always construct #GDBusProxy proxies.
1219
+ * @param cancellable A #GCancellable or %NULL
1220
+ * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1221
+ */
1222
+ static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusObjectManagerClientFlags, name: string | null, object_path: string | null, get_proxy_type_func: Gio.DBusProxyTypeFunc | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusObjectManagerClient> | null): void
1223
+ /**
1224
+ * A #GDBusProxyTypeFunc that maps `interface_name` to the generated #GDBusObjectProxy derived and #GDBusProxy derived types.
1225
+ * @param manager A #GDBusObjectManagerClient.
1226
+ * @param object_path The object path of the remote object (unused).
1227
+ * @param interface_name Interface name of the remote object or %NULL to get the object proxy #GType.
1228
+ * @param user_data User data (unused).
1229
+ * @returns A #GDBusProxy derived #GType if @interface_name is not %NULL, otherwise the #GType for #CloudProvidersDbusObjectProxy.
1230
+ */
1231
+ static get_proxy_type(manager: Gio.DBusObjectManagerClient, object_path: string | null, interface_name: string | null, user_data: any | null): GObject.GType
1232
+ }
1233
+
1234
+ module DbusObjectProxy {
1235
+
1236
+ // Constructor properties interface
1237
+
1238
+ interface ConstructorProperties extends DbusObject.ConstructorProperties, Gio.DBusObject.ConstructorProperties, Gio.DBusObjectProxy.ConstructorProperties {
1239
+ }
1240
+
1241
+ }
1242
+
1243
+ interface DbusObjectProxy extends DbusObject, Gio.DBusObject {
1244
+
1245
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusObjectProxy
1246
+
1247
+ connect(sigName: "notify::g-connection", callback: (($obj: DbusObjectProxy, pspec: GObject.ParamSpec) => void)): number
1248
+ connect_after(sigName: "notify::g-connection", callback: (($obj: DbusObjectProxy, pspec: GObject.ParamSpec) => void)): number
1249
+ emit(sigName: "notify::g-connection", ...args: any[]): void
1250
+ connect(sigName: "notify::g-object-path", callback: (($obj: DbusObjectProxy, pspec: GObject.ParamSpec) => void)): number
1251
+ connect_after(sigName: "notify::g-object-path", callback: (($obj: DbusObjectProxy, pspec: GObject.ParamSpec) => void)): number
1252
+ emit(sigName: "notify::g-object-path", ...args: any[]): void
1253
+ connect(sigName: "notify::account", callback: (($obj: DbusObjectProxy, pspec: GObject.ParamSpec) => void)): number
1254
+ connect_after(sigName: "notify::account", callback: (($obj: DbusObjectProxy, pspec: GObject.ParamSpec) => void)): number
1255
+ emit(sigName: "notify::account", ...args: any[]): void
1256
+ connect(sigName: "notify::provider", callback: (($obj: DbusObjectProxy, pspec: GObject.ParamSpec) => void)): number
1257
+ connect_after(sigName: "notify::provider", callback: (($obj: DbusObjectProxy, pspec: GObject.ParamSpec) => void)): number
1258
+ emit(sigName: "notify::provider", ...args: any[]): void
1259
+ connect(sigName: string, callback: (...args: any[]) => void): number
1260
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1261
+ emit(sigName: string, ...args: any[]): void
1262
+ disconnect(id: number): void
1263
+ }
1264
+
1265
+ /**
1266
+ * The #CloudProvidersDbusObjectProxy structure contains only private data and should only be accessed using the provided API.
1267
+ * @class
1268
+ */
1269
+ class DbusObjectProxy extends Gio.DBusObjectProxy {
1270
+
1271
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectProxy
1272
+
1273
+ static name: string
1274
+ static $gtype: GObject.GType<DbusObjectProxy>
1275
+
1276
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusObjectProxy
1277
+
1278
+ constructor(config?: DbusObjectProxy.ConstructorProperties)
1279
+ /**
1280
+ * Creates a new proxy object.
1281
+ * @constructor
1282
+ * @param connection A #GDBusConnection.
1283
+ * @param object_path An object path.
1284
+ * @returns The proxy object.
1285
+ */
1286
+ constructor(connection: Gio.DBusConnection, object_path: string | null)
1287
+ /**
1288
+ * Creates a new proxy object.
1289
+ * @constructor
1290
+ * @param connection A #GDBusConnection.
1291
+ * @param object_path An object path.
1292
+ * @returns The proxy object.
1293
+ */
1294
+ static new(connection: Gio.DBusConnection, object_path: string | null): DbusObjectProxy
1295
+
1296
+ // Overloads of new
1297
+
1298
+ /**
1299
+ * Creates a new #GDBusObjectProxy for the given connection and
1300
+ * object path.
1301
+ * @constructor
1302
+ * @param connection a #GDBusConnection
1303
+ * @param object_path the object path
1304
+ * @returns a new #GDBusObjectProxy
1305
+ */
1306
+ static new(connection: Gio.DBusConnection, object_path: string | null): Gio.DBusObjectProxy
1307
+ _init(config?: DbusObjectProxy.ConstructorProperties): void
1308
+ }
1309
+
1310
+ module DbusObjectSkeleton {
1311
+
1312
+ // Constructor properties interface
1313
+
1314
+ interface ConstructorProperties extends DbusObject.ConstructorProperties, Gio.DBusObject.ConstructorProperties, Gio.DBusObjectSkeleton.ConstructorProperties {
1315
+ }
1316
+
1317
+ }
1318
+
1319
+ interface DbusObjectSkeleton extends DbusObject, Gio.DBusObject {
1320
+
1321
+ // Owm methods of CloudProviders-0.3.CloudProviders.DbusObjectSkeleton
1322
+
1323
+ /**
1324
+ * Sets the #CloudProvidersDbusAccount instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link> on `object`.
1325
+ * @param interface_ A #CloudProvidersDbusAccount or %NULL to clear the interface.
1326
+ */
1327
+ set_account(interface_: DbusAccount | null): void
1328
+ /**
1329
+ * Sets the #CloudProvidersDbusProvider instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link> on `object`.
1330
+ * @param interface_ A #CloudProvidersDbusProvider or %NULL to clear the interface.
1331
+ */
1332
+ set_provider(interface_: DbusProvider | null): void
1333
+
1334
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusObjectSkeleton
1335
+
1336
+ connect(sigName: "notify::g-object-path", callback: (($obj: DbusObjectSkeleton, pspec: GObject.ParamSpec) => void)): number
1337
+ connect_after(sigName: "notify::g-object-path", callback: (($obj: DbusObjectSkeleton, pspec: GObject.ParamSpec) => void)): number
1338
+ emit(sigName: "notify::g-object-path", ...args: any[]): void
1339
+ connect(sigName: "notify::account", callback: (($obj: DbusObjectSkeleton, pspec: GObject.ParamSpec) => void)): number
1340
+ connect_after(sigName: "notify::account", callback: (($obj: DbusObjectSkeleton, pspec: GObject.ParamSpec) => void)): number
1341
+ emit(sigName: "notify::account", ...args: any[]): void
1342
+ connect(sigName: "notify::provider", callback: (($obj: DbusObjectSkeleton, pspec: GObject.ParamSpec) => void)): number
1343
+ connect_after(sigName: "notify::provider", callback: (($obj: DbusObjectSkeleton, pspec: GObject.ParamSpec) => void)): number
1344
+ emit(sigName: "notify::provider", ...args: any[]): void
1345
+ connect(sigName: string, callback: (...args: any[]) => void): number
1346
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1347
+ emit(sigName: string, ...args: any[]): void
1348
+ disconnect(id: number): void
1349
+ }
1350
+
1351
+ /**
1352
+ * The #CloudProvidersDbusObjectSkeleton structure contains only private data and should only be accessed using the provided API.
1353
+ * @class
1354
+ */
1355
+ class DbusObjectSkeleton extends Gio.DBusObjectSkeleton {
1356
+
1357
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectSkeleton
1358
+
1359
+ static name: string
1360
+ static $gtype: GObject.GType<DbusObjectSkeleton>
1361
+
1362
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusObjectSkeleton
1363
+
1364
+ constructor(config?: DbusObjectSkeleton.ConstructorProperties)
1365
+ /**
1366
+ * Creates a new skeleton object.
1367
+ * @constructor
1368
+ * @param object_path An object path.
1369
+ * @returns The skeleton object.
1370
+ */
1371
+ constructor(object_path: string | null)
1372
+ /**
1373
+ * Creates a new skeleton object.
1374
+ * @constructor
1375
+ * @param object_path An object path.
1376
+ * @returns The skeleton object.
1377
+ */
1378
+ static new(object_path: string | null): DbusObjectSkeleton
1379
+
1380
+ // Overloads of new
1381
+
1382
+ /**
1383
+ * Creates a new #GDBusObjectSkeleton.
1384
+ * @constructor
1385
+ * @param object_path An object path.
1386
+ * @returns A #GDBusObjectSkeleton. Free with g_object_unref().
1387
+ */
1388
+ static new(object_path: string | null): Gio.DBusObjectSkeleton
1389
+ _init(config?: DbusObjectSkeleton.ConstructorProperties): void
1390
+ }
1391
+
1392
+ module DbusProviderProxy {
1393
+
1394
+ // Constructor properties interface
1395
+
1396
+ interface ConstructorProperties extends DbusProvider.ConstructorProperties, Gio.AsyncInitable.ConstructorProperties, Gio.DBusInterface.ConstructorProperties, Gio.Initable.ConstructorProperties, Gio.DBusProxy.ConstructorProperties {
1397
+ }
1398
+
1399
+ }
1400
+
1401
+ interface DbusProviderProxy extends DbusProvider, Gio.AsyncInitable, Gio.DBusInterface, Gio.Initable {
1402
+
1403
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusProviderProxy
1404
+
1405
+ connect(sigName: "notify::g-bus-type", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1406
+ connect_after(sigName: "notify::g-bus-type", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1407
+ emit(sigName: "notify::g-bus-type", ...args: any[]): void
1408
+ connect(sigName: "notify::g-connection", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1409
+ connect_after(sigName: "notify::g-connection", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1410
+ emit(sigName: "notify::g-connection", ...args: any[]): void
1411
+ connect(sigName: "notify::g-default-timeout", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1412
+ connect_after(sigName: "notify::g-default-timeout", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1413
+ emit(sigName: "notify::g-default-timeout", ...args: any[]): void
1414
+ connect(sigName: "notify::g-flags", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1415
+ connect_after(sigName: "notify::g-flags", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1416
+ emit(sigName: "notify::g-flags", ...args: any[]): void
1417
+ connect(sigName: "notify::g-interface-info", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1418
+ connect_after(sigName: "notify::g-interface-info", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1419
+ emit(sigName: "notify::g-interface-info", ...args: any[]): void
1420
+ connect(sigName: "notify::g-interface-name", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1421
+ connect_after(sigName: "notify::g-interface-name", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1422
+ emit(sigName: "notify::g-interface-name", ...args: any[]): void
1423
+ connect(sigName: "notify::g-name", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1424
+ connect_after(sigName: "notify::g-name", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1425
+ emit(sigName: "notify::g-name", ...args: any[]): void
1426
+ connect(sigName: "notify::g-name-owner", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1427
+ connect_after(sigName: "notify::g-name-owner", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1428
+ emit(sigName: "notify::g-name-owner", ...args: any[]): void
1429
+ connect(sigName: "notify::g-object-path", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1430
+ connect_after(sigName: "notify::g-object-path", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1431
+ emit(sigName: "notify::g-object-path", ...args: any[]): void
1432
+ connect(sigName: "notify::name", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1433
+ connect_after(sigName: "notify::name", callback: (($obj: DbusProviderProxy, pspec: GObject.ParamSpec) => void)): number
1434
+ emit(sigName: "notify::name", ...args: any[]): void
1435
+ connect(sigName: string, callback: (...args: any[]) => void): number
1436
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1437
+ emit(sigName: string, ...args: any[]): void
1438
+ disconnect(id: number): void
1439
+ }
1440
+
1441
+ /**
1442
+ * The #CloudProvidersDbusProviderProxy structure contains only private data and should only be accessed using the provided API.
1443
+ * @class
1444
+ */
1445
+ class DbusProviderProxy extends Gio.DBusProxy {
1446
+
1447
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusProviderProxy
1448
+
1449
+ static name: string
1450
+ static $gtype: GObject.GType<DbusProviderProxy>
1451
+
1452
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusProviderProxy
1453
+
1454
+ constructor(config?: DbusProviderProxy.ConstructorProperties)
1455
+ /**
1456
+ * Finishes an operation started with cloud_providers_dbus_provider_proxy_new().
1457
+ * @constructor
1458
+ * @param res The #GAsyncResult obtained from the #GAsyncReadyCallback passed to cloud_providers_dbus_provider_proxy_new().
1459
+ * @returns The constructed proxy object or %NULL if @error is set.
1460
+ */
1461
+ static new_finish(res: Gio.AsyncResult): DbusProviderProxy
1462
+
1463
+ // Overloads of new_finish
1464
+
1465
+ /**
1466
+ * Finishes creating a #GDBusProxy.
1467
+ * @constructor
1468
+ * @param res A #GAsyncResult obtained from the #GAsyncReadyCallback function passed to g_dbus_proxy_new().
1469
+ * @returns A #GDBusProxy or %NULL if @error is set. Free with g_object_unref().
1470
+ */
1471
+ static new_finish(res: Gio.AsyncResult): Gio.DBusProxy
1472
+ /**
1473
+ * Finishes an operation started with cloud_providers_dbus_provider_proxy_new_for_bus().
1474
+ * @constructor
1475
+ * @param res The #GAsyncResult obtained from the #GAsyncReadyCallback passed to cloud_providers_dbus_provider_proxy_new_for_bus().
1476
+ * @returns The constructed proxy object or %NULL if @error is set.
1477
+ */
1478
+ static new_for_bus_finish(res: Gio.AsyncResult): DbusProviderProxy
1479
+
1480
+ // Overloads of new_for_bus_finish
1481
+
1482
+ /**
1483
+ * Finishes creating a #GDBusProxy.
1484
+ * @constructor
1485
+ * @param res A #GAsyncResult obtained from the #GAsyncReadyCallback function passed to g_dbus_proxy_new_for_bus().
1486
+ * @returns A #GDBusProxy or %NULL if @error is set. Free with g_object_unref().
1487
+ */
1488
+ static new_for_bus_finish(res: Gio.AsyncResult): Gio.DBusProxy
1489
+ /**
1490
+ * Like cloud_providers_dbus_provider_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1491
+ *
1492
+ * The calling thread is blocked until a reply is received.
1493
+ *
1494
+ * See cloud_providers_dbus_provider_proxy_new_for_bus() for the asynchronous version of this constructor.
1495
+ * @constructor
1496
+ * @param bus_type A #GBusType.
1497
+ * @param flags Flags from the #GDBusProxyFlags enumeration.
1498
+ * @param name A bus name (well-known or unique).
1499
+ * @param object_path An object path.
1500
+ * @param cancellable A #GCancellable or %NULL.
1501
+ * @returns The constructed proxy object or %NULL if @error is set.
1502
+ */
1503
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusProviderProxy
1504
+
1505
+ // Overloads of new_for_bus_sync
1506
+
1507
+ /**
1508
+ * Like g_dbus_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1509
+ *
1510
+ * #GDBusProxy is used in this [example][gdbus-wellknown-proxy].
1511
+ * @constructor
1512
+ * @param bus_type A #GBusType.
1513
+ * @param flags Flags used when constructing the proxy.
1514
+ * @param info A #GDBusInterfaceInfo specifying the minimal interface that `proxy` conforms to or %NULL.
1515
+ * @param name A bus name (well-known or unique).
1516
+ * @param object_path An object path.
1517
+ * @param interface_name A D-Bus interface name.
1518
+ * @param cancellable A #GCancellable or %NULL.
1519
+ * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
1520
+ */
1521
+ static new_for_bus_sync(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
1522
+ /**
1523
+ * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>. See g_dbus_proxy_new_sync() for more details.
1524
+ *
1525
+ * The calling thread is blocked until a reply is received.
1526
+ *
1527
+ * See cloud_providers_dbus_provider_proxy_new() for the asynchronous version of this constructor.
1528
+ * @constructor
1529
+ * @param connection A #GDBusConnection.
1530
+ * @param flags Flags from the #GDBusProxyFlags enumeration.
1531
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
1532
+ * @param object_path An object path.
1533
+ * @param cancellable A #GCancellable or %NULL.
1534
+ * @returns The constructed proxy object or %NULL if @error is set.
1535
+ */
1536
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null): DbusProviderProxy
1537
+
1538
+ // Overloads of new_sync
1539
+
1540
+ /**
1541
+ * Creates a proxy for accessing `interface_name` on the remote object
1542
+ * at `object_path` owned by `name` at `connection` and synchronously
1543
+ * loads D-Bus properties unless the
1544
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag is used.
1545
+ *
1546
+ * If the %G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS flag is not set, also sets up
1547
+ * match rules for signals. Connect to the #GDBusProxy::g-signal signal
1548
+ * to handle signals from the remote object.
1549
+ *
1550
+ * If both %G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES and
1551
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS are set, this constructor is
1552
+ * guaranteed to return immediately without blocking.
1553
+ *
1554
+ * If `name` is a well-known name and the
1555
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START and %G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION
1556
+ * flags aren't set and no name owner currently exists, the message bus
1557
+ * will be requested to launch a name owner for the name.
1558
+ *
1559
+ * This is a synchronous failable constructor. See g_dbus_proxy_new()
1560
+ * and g_dbus_proxy_new_finish() for the asynchronous version.
1561
+ *
1562
+ * #GDBusProxy is used in this [example][gdbus-wellknown-proxy].
1563
+ * @constructor
1564
+ * @param connection A #GDBusConnection.
1565
+ * @param flags Flags used when constructing the proxy.
1566
+ * @param info A #GDBusInterfaceInfo specifying the minimal interface that `proxy` conforms to or %NULL.
1567
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
1568
+ * @param object_path An object path.
1569
+ * @param interface_name A D-Bus interface name.
1570
+ * @param cancellable A #GCancellable or %NULL.
1571
+ * @returns A #GDBusProxy or %NULL if error is set. Free with g_object_unref().
1572
+ */
1573
+ static new_sync(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null): Gio.DBusProxy
1574
+ _init(config?: DbusProviderProxy.ConstructorProperties): void
1575
+ /**
1576
+ * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>. See g_dbus_proxy_new() for more details.
1577
+ *
1578
+ * When the operation is finished, `callback` will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1579
+ * You can then call cloud_providers_dbus_provider_proxy_new_finish() to get the result of the operation.
1580
+ *
1581
+ * See cloud_providers_dbus_provider_proxy_new_sync() for the synchronous, blocking version of this constructor.
1582
+ * @param connection A #GDBusConnection.
1583
+ * @param flags Flags from the #GDBusProxyFlags enumeration.
1584
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
1585
+ * @param object_path An object path.
1586
+ * @param cancellable A #GCancellable or %NULL.
1587
+ * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1588
+ */
1589
+ static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void
1590
+
1591
+ // Overloads of new
1592
+
1593
+ /**
1594
+ * Creates a proxy for accessing `interface_name` on the remote object
1595
+ * at `object_path` owned by `name` at `connection` and asynchronously
1596
+ * loads D-Bus properties unless the
1597
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag is used. Connect to
1598
+ * the #GDBusProxy::g-properties-changed signal to get notified about
1599
+ * property changes.
1600
+ *
1601
+ * If the %G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS flag is not set, also sets up
1602
+ * match rules for signals. Connect to the #GDBusProxy::g-signal signal
1603
+ * to handle signals from the remote object.
1604
+ *
1605
+ * If both %G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES and
1606
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS are set, this constructor is
1607
+ * guaranteed to complete immediately without blocking.
1608
+ *
1609
+ * If `name` is a well-known name and the
1610
+ * %G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START and %G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION
1611
+ * flags aren't set and no name owner currently exists, the message bus
1612
+ * will be requested to launch a name owner for the name.
1613
+ *
1614
+ * This is a failable asynchronous constructor - when the proxy is
1615
+ * ready, `callback` will be invoked and you can use
1616
+ * g_dbus_proxy_new_finish() to get the result.
1617
+ *
1618
+ * See g_dbus_proxy_new_sync() and for a synchronous version of this constructor.
1619
+ *
1620
+ * #GDBusProxy is used in this [example][gdbus-wellknown-proxy].
1621
+ * @param connection A #GDBusConnection.
1622
+ * @param flags Flags used when constructing the proxy.
1623
+ * @param info A #GDBusInterfaceInfo specifying the minimal interface that `proxy` conforms to or %NULL.
1624
+ * @param name A bus name (well-known or unique) or %NULL if `connection` is not a message bus connection.
1625
+ * @param object_path An object path.
1626
+ * @param interface_name A D-Bus interface name.
1627
+ * @param cancellable A #GCancellable or %NULL.
1628
+ * @param callback Callback function to invoke when the proxy is ready.
1629
+ */
1630
+ static new(connection: Gio.DBusConnection, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
1631
+ /**
1632
+ * Like cloud_providers_dbus_provider_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1633
+ *
1634
+ * When the operation is finished, `callback` will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1635
+ * You can then call cloud_providers_dbus_provider_proxy_new_for_bus_finish() to get the result of the operation.
1636
+ *
1637
+ * See cloud_providers_dbus_provider_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1638
+ * @param bus_type A #GBusType.
1639
+ * @param flags Flags from the #GDBusProxyFlags enumeration.
1640
+ * @param name A bus name (well-known or unique).
1641
+ * @param object_path An object path.
1642
+ * @param cancellable A #GCancellable or %NULL.
1643
+ * @param callback A #GAsyncReadyCallback to call when the request is satisfied.
1644
+ */
1645
+ static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, name: string | null, object_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<DbusProviderProxy> | null): void
1646
+
1647
+ // Overloads of new_for_bus
1648
+
1649
+ /**
1650
+ * Like g_dbus_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1651
+ *
1652
+ * #GDBusProxy is used in this [example][gdbus-wellknown-proxy].
1653
+ * @param bus_type A #GBusType.
1654
+ * @param flags Flags used when constructing the proxy.
1655
+ * @param info A #GDBusInterfaceInfo specifying the minimal interface that `proxy` conforms to or %NULL.
1656
+ * @param name A bus name (well-known or unique).
1657
+ * @param object_path An object path.
1658
+ * @param interface_name A D-Bus interface name.
1659
+ * @param cancellable A #GCancellable or %NULL.
1660
+ * @param callback Callback function to invoke when the proxy is ready.
1661
+ */
1662
+ static new_for_bus(bus_type: Gio.BusType, flags: Gio.DBusProxyFlags, info: Gio.DBusInterfaceInfo | null, name: string | null, object_path: string | null, interface_name: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<Gio.DBusProxy> | null): void
1663
+ }
1664
+
1665
+ module DbusProviderSkeleton {
1666
+
1667
+ // Constructor properties interface
1668
+
1669
+ interface ConstructorProperties extends DbusProvider.ConstructorProperties, Gio.DBusInterface.ConstructorProperties, Gio.DBusInterfaceSkeleton.ConstructorProperties {
1670
+ }
1671
+
1672
+ }
1673
+
1674
+ interface DbusProviderSkeleton extends DbusProvider, Gio.DBusInterface {
1675
+
1676
+ // Class property signals of CloudProviders-0.3.CloudProviders.DbusProviderSkeleton
1677
+
1678
+ connect(sigName: "notify::g-flags", callback: (($obj: DbusProviderSkeleton, pspec: GObject.ParamSpec) => void)): number
1679
+ connect_after(sigName: "notify::g-flags", callback: (($obj: DbusProviderSkeleton, pspec: GObject.ParamSpec) => void)): number
1680
+ emit(sigName: "notify::g-flags", ...args: any[]): void
1681
+ connect(sigName: "notify::name", callback: (($obj: DbusProviderSkeleton, pspec: GObject.ParamSpec) => void)): number
1682
+ connect_after(sigName: "notify::name", callback: (($obj: DbusProviderSkeleton, pspec: GObject.ParamSpec) => void)): number
1683
+ emit(sigName: "notify::name", ...args: any[]): void
1684
+ connect(sigName: string, callback: (...args: any[]) => void): number
1685
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1686
+ emit(sigName: string, ...args: any[]): void
1687
+ disconnect(id: number): void
1688
+ }
1689
+
1690
+ /**
1691
+ * The #CloudProvidersDbusProviderSkeleton structure contains only private data and should only be accessed using the provided API.
1692
+ * @class
1693
+ */
1694
+ class DbusProviderSkeleton extends Gio.DBusInterfaceSkeleton {
1695
+
1696
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusProviderSkeleton
1697
+
1698
+ static name: string
1699
+ static $gtype: GObject.GType<DbusProviderSkeleton>
1700
+
1701
+ // Constructors of CloudProviders-0.3.CloudProviders.DbusProviderSkeleton
1702
+
1703
+ constructor(config?: DbusProviderSkeleton.ConstructorProperties)
1704
+ /**
1705
+ * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>.
1706
+ * @constructor
1707
+ * @returns The skeleton object.
1708
+ */
1709
+ constructor()
1710
+ /**
1711
+ * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>.
1712
+ * @constructor
1713
+ * @returns The skeleton object.
1714
+ */
1715
+ static new(): DbusProviderSkeleton
1716
+ _init(config?: DbusProviderSkeleton.ConstructorProperties): void
1717
+ }
1718
+
1719
+ module Provider {
1720
+
1721
+ // Signal callback interfaces
1722
+
1723
+ /**
1724
+ * Signal callback interface for `accounts-changed`
1725
+ */
1726
+ interface AccountsChangedSignalCallback {
1727
+ ($obj: Provider): void
1728
+ }
1729
+
1730
+ /**
1731
+ * Signal callback interface for `removed`
1732
+ */
1733
+ interface RemovedSignalCallback {
1734
+ ($obj: Provider): void
1735
+ }
1736
+
1737
+
1738
+ // Constructor properties interface
1739
+
1740
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1741
+ }
1742
+
1743
+ }
1744
+
1745
+ interface Provider {
1746
+
1747
+ // Own properties of CloudProviders-0.3.CloudProviders.Provider
1748
+
1749
+ readonly name: string | null
1750
+
1751
+ // Owm methods of CloudProviders-0.3.CloudProviders.Provider
1752
+
1753
+ get_accounts(): Account[]
1754
+ get_name(): string | null
1755
+
1756
+ // Own signals of CloudProviders-0.3.CloudProviders.Provider
1757
+
1758
+ connect(sigName: "accounts-changed", callback: Provider.AccountsChangedSignalCallback): number
1759
+ connect_after(sigName: "accounts-changed", callback: Provider.AccountsChangedSignalCallback): number
1760
+ emit(sigName: "accounts-changed", ...args: any[]): void
1761
+ connect(sigName: "removed", callback: Provider.RemovedSignalCallback): number
1762
+ connect_after(sigName: "removed", callback: Provider.RemovedSignalCallback): number
1763
+ emit(sigName: "removed", ...args: any[]): void
1764
+
1765
+ // Class property signals of CloudProviders-0.3.CloudProviders.Provider
1766
+
1767
+ connect(sigName: "notify::name", callback: (($obj: Provider, pspec: GObject.ParamSpec) => void)): number
1768
+ connect_after(sigName: "notify::name", callback: (($obj: Provider, pspec: GObject.ParamSpec) => void)): number
1769
+ emit(sigName: "notify::name", ...args: any[]): void
1770
+ connect(sigName: string, callback: (...args: any[]) => void): number
1771
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1772
+ emit(sigName: string, ...args: any[]): void
1773
+ disconnect(id: number): void
1774
+ }
1775
+
1776
+ /**
1777
+ * #CloudProvidersProvider is the basic object object for client implementators
1778
+ * that contains the properties of the provider such as name, and the accounts
1779
+ * associated with it.
1780
+ * @class
1781
+ */
1782
+ class Provider extends GObject.Object {
1783
+
1784
+ // Own properties of CloudProviders-0.3.CloudProviders.Provider
1785
+
1786
+ static name: string
1787
+ static $gtype: GObject.GType<Provider>
1788
+
1789
+ // Constructors of CloudProviders-0.3.CloudProviders.Provider
1790
+
1791
+ constructor(config?: Provider.ConstructorProperties)
1792
+ constructor(bus_name: string | null, object_path: string | null)
1793
+ static new(bus_name: string | null, object_path: string | null): Provider
1794
+ _init(config?: Provider.ConstructorProperties): void
1795
+ }
1796
+
1797
+ module ProviderExporter {
1798
+
1799
+ // Constructor properties interface
1800
+
1801
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1802
+
1803
+ // Own constructor properties of CloudProviders-0.3.CloudProviders.ProviderExporter
1804
+
1805
+ bus?: Gio.DBusConnection | null
1806
+ bus_name?: string | null
1807
+ bus_path?: string | null
1808
+ name?: string | null
1809
+ }
1810
+
1811
+ }
1812
+
1813
+ interface ProviderExporter {
1814
+
1815
+ // Own properties of CloudProviders-0.3.CloudProviders.ProviderExporter
1816
+
1817
+ readonly bus: Gio.DBusConnection
1818
+ readonly bus_name: string | null
1819
+ readonly bus_path: string | null
1820
+ name: string | null
1821
+
1822
+ // Owm methods of CloudProviders-0.3.CloudProviders.ProviderExporter
1823
+
1824
+ get_name(): string | null
1825
+ /**
1826
+ * Each cloud provider can have a variety of account associated with it. Use this
1827
+ * function to remove the accounts that were added when created by cloud_providers_account_exporter_new().
1828
+ * @param account The account object
1829
+ */
1830
+ remove_account(account: AccountExporter): void
1831
+ set_name(name: string | null): void
1832
+
1833
+ // Class property signals of CloudProviders-0.3.CloudProviders.ProviderExporter
1834
+
1835
+ connect(sigName: "notify::bus", callback: (($obj: ProviderExporter, pspec: GObject.ParamSpec) => void)): number
1836
+ connect_after(sigName: "notify::bus", callback: (($obj: ProviderExporter, pspec: GObject.ParamSpec) => void)): number
1837
+ emit(sigName: "notify::bus", ...args: any[]): void
1838
+ connect(sigName: "notify::bus-name", callback: (($obj: ProviderExporter, pspec: GObject.ParamSpec) => void)): number
1839
+ connect_after(sigName: "notify::bus-name", callback: (($obj: ProviderExporter, pspec: GObject.ParamSpec) => void)): number
1840
+ emit(sigName: "notify::bus-name", ...args: any[]): void
1841
+ connect(sigName: "notify::bus-path", callback: (($obj: ProviderExporter, pspec: GObject.ParamSpec) => void)): number
1842
+ connect_after(sigName: "notify::bus-path", callback: (($obj: ProviderExporter, pspec: GObject.ParamSpec) => void)): number
1843
+ emit(sigName: "notify::bus-path", ...args: any[]): void
1844
+ connect(sigName: "notify::name", callback: (($obj: ProviderExporter, pspec: GObject.ParamSpec) => void)): number
1845
+ connect_after(sigName: "notify::name", callback: (($obj: ProviderExporter, pspec: GObject.ParamSpec) => void)): number
1846
+ emit(sigName: "notify::name", ...args: any[]): void
1847
+ connect(sigName: string, callback: (...args: any[]) => void): number
1848
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1849
+ emit(sigName: string, ...args: any[]): void
1850
+ disconnect(id: number): void
1851
+ }
1852
+
1853
+ /**
1854
+ * #CloudProvidersProviderExporter is the base object representing a single cloud provider.
1855
+ * Multiple #CloudProvidersAccountExporter objects can be added with cloud_providers_provider_exporter_add_account()
1856
+ * After adding the initial set of accounts cloud_providers_provider_exporter_export_objects() must be called.
1857
+ * @class
1858
+ */
1859
+ class ProviderExporter extends GObject.Object {
1860
+
1861
+ // Own properties of CloudProviders-0.3.CloudProviders.ProviderExporter
1862
+
1863
+ static name: string
1864
+ static $gtype: GObject.GType<ProviderExporter>
1865
+
1866
+ // Constructors of CloudProviders-0.3.CloudProviders.ProviderExporter
1867
+
1868
+ constructor(config?: ProviderExporter.ConstructorProperties)
1869
+ constructor(bus: Gio.DBusConnection, bus_name: string | null, bus_path: string | null)
1870
+ static new(bus: Gio.DBusConnection, bus_name: string | null, bus_path: string | null): ProviderExporter
1871
+ _init(config?: ProviderExporter.ConstructorProperties): void
1872
+ }
1873
+
1874
+ interface AccountClass {
1875
+
1876
+ // Own fields of CloudProviders-0.3.CloudProviders.AccountClass
1877
+
1878
+ parent_class: GObject.ObjectClass
1879
+ }
1880
+
1881
+ abstract class AccountClass {
1882
+
1883
+ // Own properties of CloudProviders-0.3.CloudProviders.AccountClass
1884
+
1885
+ static name: string
1886
+ }
1887
+
1888
+ interface AccountExporterClass {
1889
+
1890
+ // Own fields of CloudProviders-0.3.CloudProviders.AccountExporterClass
1891
+
1892
+ parent_class: GObject.ObjectClass
1893
+ }
1894
+
1895
+ abstract class AccountExporterClass {
1896
+
1897
+ // Own properties of CloudProviders-0.3.CloudProviders.AccountExporterClass
1898
+
1899
+ static name: string
1900
+ }
1901
+
1902
+ interface CollectorClass {
1903
+
1904
+ // Own fields of CloudProviders-0.3.CloudProviders.CollectorClass
1905
+
1906
+ parent_class: GObject.ObjectClass
1907
+ }
1908
+
1909
+ abstract class CollectorClass {
1910
+
1911
+ // Own properties of CloudProviders-0.3.CloudProviders.CollectorClass
1912
+
1913
+ static name: string
1914
+ }
1915
+
1916
+ interface DbusAccountIface {
1917
+
1918
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusAccountIface
1919
+
1920
+ /**
1921
+ * The parent interface.
1922
+ * @field
1923
+ */
1924
+ parent_iface: GObject.TypeInterface
1925
+ get_icon: (object: DbusAccount) => string | null
1926
+ get_name: (object: DbusAccount) => string | null
1927
+ get_path: (object: DbusAccount) => string | null
1928
+ get_status: (object: DbusAccount) => number
1929
+ get_status_details: (object: DbusAccount) => string | null
1930
+ }
1931
+
1932
+ /**
1933
+ * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Account.top_of_page">org.freedesktop.CloudProviders.Account</link>.
1934
+ * @record
1935
+ */
1936
+ abstract class DbusAccountIface {
1937
+
1938
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusAccountIface
1939
+
1940
+ static name: string
1941
+ }
1942
+
1943
+ interface DbusAccountProxyClass {
1944
+
1945
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusAccountProxyClass
1946
+
1947
+ /**
1948
+ * The parent class.
1949
+ * @field
1950
+ */
1951
+ parent_class: Gio.DBusProxyClass
1952
+ }
1953
+
1954
+ /**
1955
+ * Class structure for #CloudProvidersDbusAccountProxy.
1956
+ * @record
1957
+ */
1958
+ abstract class DbusAccountProxyClass {
1959
+
1960
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusAccountProxyClass
1961
+
1962
+ static name: string
1963
+ }
1964
+
1965
+ interface DbusAccountProxyPrivate {
1966
+ }
1967
+
1968
+ class DbusAccountProxyPrivate {
1969
+
1970
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusAccountProxyPrivate
1971
+
1972
+ static name: string
1973
+ }
1974
+
1975
+ interface DbusAccountSkeletonClass {
1976
+
1977
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusAccountSkeletonClass
1978
+
1979
+ /**
1980
+ * The parent class.
1981
+ * @field
1982
+ */
1983
+ parent_class: Gio.DBusInterfaceSkeletonClass
1984
+ }
1985
+
1986
+ /**
1987
+ * Class structure for #CloudProvidersDbusAccountSkeleton.
1988
+ * @record
1989
+ */
1990
+ abstract class DbusAccountSkeletonClass {
1991
+
1992
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusAccountSkeletonClass
1993
+
1994
+ static name: string
1995
+ }
1996
+
1997
+ interface DbusAccountSkeletonPrivate {
1998
+ }
1999
+
2000
+ class DbusAccountSkeletonPrivate {
2001
+
2002
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusAccountSkeletonPrivate
2003
+
2004
+ static name: string
2005
+ }
2006
+
2007
+ interface DbusObjectIface {
2008
+
2009
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusObjectIface
2010
+
2011
+ /**
2012
+ * The parent interface.
2013
+ * @field
2014
+ */
2015
+ parent_iface: GObject.TypeInterface
2016
+ }
2017
+
2018
+ /**
2019
+ * Virtual table for the #CloudProvidersDbusObject interface.
2020
+ * @record
2021
+ */
2022
+ abstract class DbusObjectIface {
2023
+
2024
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectIface
2025
+
2026
+ static name: string
2027
+ }
2028
+
2029
+ interface DbusObjectManagerClientClass {
2030
+
2031
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusObjectManagerClientClass
2032
+
2033
+ /**
2034
+ * The parent class.
2035
+ * @field
2036
+ */
2037
+ parent_class: Gio.DBusObjectManagerClientClass
2038
+ }
2039
+
2040
+ /**
2041
+ * Class structure for #CloudProvidersDbusObjectManagerClient.
2042
+ * @record
2043
+ */
2044
+ abstract class DbusObjectManagerClientClass {
2045
+
2046
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectManagerClientClass
2047
+
2048
+ static name: string
2049
+ }
2050
+
2051
+ interface DbusObjectManagerClientPrivate {
2052
+ }
2053
+
2054
+ class DbusObjectManagerClientPrivate {
2055
+
2056
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectManagerClientPrivate
2057
+
2058
+ static name: string
2059
+ }
2060
+
2061
+ interface DbusObjectProxyClass {
2062
+
2063
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusObjectProxyClass
2064
+
2065
+ /**
2066
+ * The parent class.
2067
+ * @field
2068
+ */
2069
+ parent_class: Gio.DBusObjectProxyClass
2070
+ }
2071
+
2072
+ /**
2073
+ * Class structure for #CloudProvidersDbusObjectProxy.
2074
+ * @record
2075
+ */
2076
+ abstract class DbusObjectProxyClass {
2077
+
2078
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectProxyClass
2079
+
2080
+ static name: string
2081
+ }
2082
+
2083
+ interface DbusObjectProxyPrivate {
2084
+ }
2085
+
2086
+ class DbusObjectProxyPrivate {
2087
+
2088
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectProxyPrivate
2089
+
2090
+ static name: string
2091
+ }
2092
+
2093
+ interface DbusObjectSkeletonClass {
2094
+
2095
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusObjectSkeletonClass
2096
+
2097
+ /**
2098
+ * The parent class.
2099
+ * @field
2100
+ */
2101
+ parent_class: Gio.DBusObjectSkeletonClass
2102
+ }
2103
+
2104
+ /**
2105
+ * Class structure for #CloudProvidersDbusObjectSkeleton.
2106
+ * @record
2107
+ */
2108
+ abstract class DbusObjectSkeletonClass {
2109
+
2110
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectSkeletonClass
2111
+
2112
+ static name: string
2113
+ }
2114
+
2115
+ interface DbusObjectSkeletonPrivate {
2116
+ }
2117
+
2118
+ class DbusObjectSkeletonPrivate {
2119
+
2120
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusObjectSkeletonPrivate
2121
+
2122
+ static name: string
2123
+ }
2124
+
2125
+ interface DbusProviderIface {
2126
+
2127
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusProviderIface
2128
+
2129
+ /**
2130
+ * The parent interface.
2131
+ * @field
2132
+ */
2133
+ parent_iface: GObject.TypeInterface
2134
+ get_name: (object: DbusProvider) => string | null
2135
+ }
2136
+
2137
+ /**
2138
+ * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-CloudProviders-Provider.top_of_page">org.freedesktop.CloudProviders.Provider</link>.
2139
+ * @record
2140
+ */
2141
+ abstract class DbusProviderIface {
2142
+
2143
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusProviderIface
2144
+
2145
+ static name: string
2146
+ }
2147
+
2148
+ interface DbusProviderProxyClass {
2149
+
2150
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusProviderProxyClass
2151
+
2152
+ /**
2153
+ * The parent class.
2154
+ * @field
2155
+ */
2156
+ parent_class: Gio.DBusProxyClass
2157
+ }
2158
+
2159
+ /**
2160
+ * Class structure for #CloudProvidersDbusProviderProxy.
2161
+ * @record
2162
+ */
2163
+ abstract class DbusProviderProxyClass {
2164
+
2165
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusProviderProxyClass
2166
+
2167
+ static name: string
2168
+ }
2169
+
2170
+ interface DbusProviderProxyPrivate {
2171
+ }
2172
+
2173
+ class DbusProviderProxyPrivate {
2174
+
2175
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusProviderProxyPrivate
2176
+
2177
+ static name: string
2178
+ }
2179
+
2180
+ interface DbusProviderSkeletonClass {
2181
+
2182
+ // Own fields of CloudProviders-0.3.CloudProviders.DbusProviderSkeletonClass
2183
+
2184
+ /**
2185
+ * The parent class.
2186
+ * @field
2187
+ */
2188
+ parent_class: Gio.DBusInterfaceSkeletonClass
2189
+ }
2190
+
2191
+ /**
2192
+ * Class structure for #CloudProvidersDbusProviderSkeleton.
2193
+ * @record
2194
+ */
2195
+ abstract class DbusProviderSkeletonClass {
2196
+
2197
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusProviderSkeletonClass
2198
+
2199
+ static name: string
2200
+ }
2201
+
2202
+ interface DbusProviderSkeletonPrivate {
2203
+ }
2204
+
2205
+ class DbusProviderSkeletonPrivate {
2206
+
2207
+ // Own properties of CloudProviders-0.3.CloudProviders.DbusProviderSkeletonPrivate
2208
+
2209
+ static name: string
2210
+ }
2211
+
2212
+ interface ProviderClass {
2213
+
2214
+ // Own fields of CloudProviders-0.3.CloudProviders.ProviderClass
2215
+
2216
+ parent_class: GObject.ObjectClass
2217
+ }
2218
+
2219
+ abstract class ProviderClass {
2220
+
2221
+ // Own properties of CloudProviders-0.3.CloudProviders.ProviderClass
2222
+
2223
+ static name: string
2224
+ }
2225
+
2226
+ interface ProviderExporterClass {
2227
+
2228
+ // Own fields of CloudProviders-0.3.CloudProviders.ProviderExporterClass
2229
+
2230
+ parent_class: GObject.ObjectClass
2231
+ }
2232
+
2233
+ abstract class ProviderExporterClass {
2234
+
2235
+ // Own properties of CloudProviders-0.3.CloudProviders.ProviderExporterClass
2236
+
2237
+ static name: string
2238
+ }
2239
+
2240
+ interface _AccountClass {
2241
+
2242
+ // Own fields of CloudProviders-0.3.CloudProviders._AccountClass
2243
+
2244
+ parent_class: GObject.ObjectClass
2245
+ }
2246
+
2247
+ class _AccountClass {
2248
+
2249
+ // Own properties of CloudProviders-0.3.CloudProviders._AccountClass
2250
+
2251
+ static name: string
2252
+ }
2253
+
2254
+ interface _AccountExporterClass {
2255
+
2256
+ // Own fields of CloudProviders-0.3.CloudProviders._AccountExporterClass
2257
+
2258
+ parent_class: GObject.ObjectClass
2259
+ }
2260
+
2261
+ class _AccountExporterClass {
2262
+
2263
+ // Own properties of CloudProviders-0.3.CloudProviders._AccountExporterClass
2264
+
2265
+ static name: string
2266
+ }
2267
+
2268
+ interface _CollectorClass {
2269
+
2270
+ // Own fields of CloudProviders-0.3.CloudProviders._CollectorClass
2271
+
2272
+ parent_class: GObject.ObjectClass
2273
+ }
2274
+
2275
+ class _CollectorClass {
2276
+
2277
+ // Own properties of CloudProviders-0.3.CloudProviders._CollectorClass
2278
+
2279
+ static name: string
2280
+ }
2281
+
2282
+ interface _ProviderExporterClass {
2283
+
2284
+ // Own fields of CloudProviders-0.3.CloudProviders._ProviderExporterClass
2285
+
2286
+ parent_class: GObject.ObjectClass
2287
+ }
2288
+
2289
+ class _ProviderExporterClass {
2290
+
2291
+ // Own properties of CloudProviders-0.3.CloudProviders._ProviderExporterClass
2292
+
2293
+ static name: string
2294
+ }
2295
+
2296
+ /**
2297
+ * Name of the imported GIR library
2298
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
2299
+ */
2300
+ const __name__: string
2301
+ /**
2302
+ * Version of the imported GIR library
2303
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
2304
+ */
2305
+ const __version__: string
2306
+ }
2307
+
2308
+ export default CloudProviders;
2309
+ // END