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