@girs/telepathyfarstream-0.6 0.6.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/package.json +58 -0
- package/telepathyfarstream-0.6.cjs +9 -0
- package/telepathyfarstream-0.6.d.cts +381 -0
- package/telepathyfarstream-0.6.d.ts +386 -0
- package/telepathyfarstream-0.6.js +8 -0
- package/tsconfig.doc.json +19 -0
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
# TelepathyFarstream-0.6
|
|
3
|
+
|
|
4
|
+
GJS TypeScript type definitions for TelepathyFarstream-0.6, generated from library version 0.6.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.12.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
To use this type definitions, install them with NPM like this:
|
|
9
|
+
```bash
|
|
10
|
+
npm install @girs/telepathyfarstream-0.6
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
You can import this package into your project like this:
|
|
16
|
+
```ts
|
|
17
|
+
import TelepathyFarstream from '@girs/telepathyfarstream-0.6';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Or if you prefer CommonJS, you can also use this:
|
|
21
|
+
```ts
|
|
22
|
+
const TelepathyFarstream = require('@girs/telepathyfarstream-0.6');
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules), you can also import this module like you would do this in JavaScript:
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import TelepathyFarstream from 'gi://TelepathyFarstream?version=0.6';
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@girs/telepathyfarstream-0.6",
|
|
3
|
+
"version": "0.6.0-3.0.0-beta.12",
|
|
4
|
+
"description": "GJS TypeScript type definitions for TelepathyFarstream-0.6, generated from library version 0.6.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "telepathyfarstream-0.6.js",
|
|
7
|
+
"main": "telepathyfarstream-0.6.js",
|
|
8
|
+
"typedoc": {
|
|
9
|
+
"entryPoint": "./telepathyfarstream-0.6.d.ts",
|
|
10
|
+
"readmeFile": "./README.md",
|
|
11
|
+
"displayName": "TelepathyFarstream-0.6",
|
|
12
|
+
"tsconfig": "./tsconfig.doc.json"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./telepathyfarstream-0.6.d.ts",
|
|
18
|
+
"default": "./telepathyfarstream-0.6.js"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"types": "./telepathyfarstream-0.6.d.cts",
|
|
22
|
+
"default": "./telepathyfarstream-0.6.cjs"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"test": "yarn test:esm && yarn test:cjs",
|
|
28
|
+
"test:esm": "tsc --noEmit telepathyfarstream-0.6.d.ts",
|
|
29
|
+
"test:cjs": "tsc --noEmit telepathyfarstream-0.6.d.cts"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@girs/farstream-0.2": "^0.2.0-3.0.0-beta.12",
|
|
33
|
+
"@girs/gio-2.0": "^2.75.1-3.0.0-beta.12",
|
|
34
|
+
"@girs/glib-2.0": "^2.75.1-3.0.0-beta.12",
|
|
35
|
+
"@girs/gmodule-2.0": "^2.0.0-3.0.0-beta.12",
|
|
36
|
+
"@girs/gobject-2.0": "^2.75.1-3.0.0-beta.12",
|
|
37
|
+
"@girs/gst-1.0": "^1.23.0-3.0.0-beta.12",
|
|
38
|
+
"@girs/telepathyglib-0.12": "^0.12.0-3.0.0-beta.12"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"typescript": "^*"
|
|
42
|
+
},
|
|
43
|
+
"keywords": [
|
|
44
|
+
"Gir",
|
|
45
|
+
"TypeScript",
|
|
46
|
+
"TelepathyFarstream-0.6"
|
|
47
|
+
],
|
|
48
|
+
"author": "ts-for-gir",
|
|
49
|
+
"license": "Apache-2.0",
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
53
|
+
},
|
|
54
|
+
"bugs": {
|
|
55
|
+
"url": "https://github.com/gjsify/ts-for-gir/issues"
|
|
56
|
+
},
|
|
57
|
+
"homepage": "https://github.com/gjsify/ts-for-gir#readme"
|
|
58
|
+
}
|
|
@@ -0,0 +1,381 @@
|
|
|
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
|
+
* TelepathyFarstream-0.6
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type TelepathyGLib from '@girs/telepathyglib-0.12';
|
|
13
|
+
import type Gio from '@girs/gio-2.0';
|
|
14
|
+
import type GObject from '@girs/gobject-2.0';
|
|
15
|
+
import type GLib from '@girs/glib-2.0';
|
|
16
|
+
import type Gst from '@girs/gst-1.0';
|
|
17
|
+
import type GModule from '@girs/gmodule-2.0';
|
|
18
|
+
import type Farstream from '@girs/farstream-0.2';
|
|
19
|
+
|
|
20
|
+
export module Channel {
|
|
21
|
+
|
|
22
|
+
// Signal callback interfaces
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Signal callback interface for `closed`
|
|
26
|
+
*/
|
|
27
|
+
export interface ClosedSignalCallback {
|
|
28
|
+
($obj: Channel): void
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Signal callback interface for `content-added`
|
|
33
|
+
*/
|
|
34
|
+
export interface ContentAddedSignalCallback {
|
|
35
|
+
($obj: Channel, content: Content): void
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Signal callback interface for `content-removed`
|
|
40
|
+
*/
|
|
41
|
+
export interface ContentRemovedSignalCallback {
|
|
42
|
+
($obj: Channel, content: Content): void
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Signal callback interface for `fs-conference-added`
|
|
47
|
+
*/
|
|
48
|
+
export interface FsConferenceAddedSignalCallback {
|
|
49
|
+
($obj: Channel, conf: Farstream.Conference): void
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Signal callback interface for `fs-conference-removed`
|
|
54
|
+
*/
|
|
55
|
+
export interface FsConferenceRemovedSignalCallback {
|
|
56
|
+
($obj: Channel, conf: Farstream.Conference): void
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
// Constructor properties interface
|
|
61
|
+
|
|
62
|
+
export interface ConstructorProperties extends Gio.AsyncInitable.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
63
|
+
|
|
64
|
+
// Own constructor properties of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
65
|
+
|
|
66
|
+
channel?: TelepathyGLib.Channel | null
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface Channel extends Gio.AsyncInitable {
|
|
72
|
+
|
|
73
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
74
|
+
|
|
75
|
+
readonly channel: TelepathyGLib.Channel
|
|
76
|
+
readonly fs_conferences: any[]
|
|
77
|
+
readonly object_path: string | null
|
|
78
|
+
|
|
79
|
+
// Owm methods of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* You must call this function on call messages received on the async bus.
|
|
83
|
+
* #GstMessages are not modified.
|
|
84
|
+
* @param message A #GstMessage received from the bus
|
|
85
|
+
* @returns %TRUE if the message has been handled, %FALSE otherwise
|
|
86
|
+
*/
|
|
87
|
+
bus_message(message: Gst.Message): boolean
|
|
88
|
+
|
|
89
|
+
// Own signals of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
90
|
+
|
|
91
|
+
connect(sigName: "closed", callback: Channel.ClosedSignalCallback): number
|
|
92
|
+
connect_after(sigName: "closed", callback: Channel.ClosedSignalCallback): number
|
|
93
|
+
emit(sigName: "closed", ...args: any[]): void
|
|
94
|
+
connect(sigName: "content-added", callback: Channel.ContentAddedSignalCallback): number
|
|
95
|
+
connect_after(sigName: "content-added", callback: Channel.ContentAddedSignalCallback): number
|
|
96
|
+
emit(sigName: "content-added", content: Content, ...args: any[]): void
|
|
97
|
+
connect(sigName: "content-removed", callback: Channel.ContentRemovedSignalCallback): number
|
|
98
|
+
connect_after(sigName: "content-removed", callback: Channel.ContentRemovedSignalCallback): number
|
|
99
|
+
emit(sigName: "content-removed", content: Content, ...args: any[]): void
|
|
100
|
+
connect(sigName: "fs-conference-added", callback: Channel.FsConferenceAddedSignalCallback): number
|
|
101
|
+
connect_after(sigName: "fs-conference-added", callback: Channel.FsConferenceAddedSignalCallback): number
|
|
102
|
+
emit(sigName: "fs-conference-added", conf: Farstream.Conference, ...args: any[]): void
|
|
103
|
+
connect(sigName: "fs-conference-removed", callback: Channel.FsConferenceRemovedSignalCallback): number
|
|
104
|
+
connect_after(sigName: "fs-conference-removed", callback: Channel.FsConferenceRemovedSignalCallback): number
|
|
105
|
+
emit(sigName: "fs-conference-removed", conf: Farstream.Conference, ...args: any[]): void
|
|
106
|
+
|
|
107
|
+
// Class property signals of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
108
|
+
|
|
109
|
+
connect(sigName: "notify::channel", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
110
|
+
connect_after(sigName: "notify::channel", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
111
|
+
emit(sigName: "notify::channel", ...args: any[]): void
|
|
112
|
+
connect(sigName: "notify::fs-conferences", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
113
|
+
connect_after(sigName: "notify::fs-conferences", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
114
|
+
emit(sigName: "notify::fs-conferences", ...args: any[]): void
|
|
115
|
+
connect(sigName: "notify::object-path", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
116
|
+
connect_after(sigName: "notify::object-path", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
117
|
+
emit(sigName: "notify::object-path", ...args: any[]): void
|
|
118
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
119
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
120
|
+
emit(sigName: string, ...args: any[]): void
|
|
121
|
+
disconnect(id: number): void
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* All members of the object are private
|
|
126
|
+
* @class
|
|
127
|
+
*/
|
|
128
|
+
export class Channel extends GObject.Object {
|
|
129
|
+
|
|
130
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
131
|
+
|
|
132
|
+
static name: string
|
|
133
|
+
static $gtype: GObject.GType<Channel>
|
|
134
|
+
|
|
135
|
+
// Constructors of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
136
|
+
|
|
137
|
+
constructor(config?: Channel.ConstructorProperties)
|
|
138
|
+
/**
|
|
139
|
+
* Completes the construction of a TfChannel.
|
|
140
|
+
* @constructor
|
|
141
|
+
* @param object The #GObject
|
|
142
|
+
* @param result a #GAsyncResult
|
|
143
|
+
* @returns a #TfChannel or %NULL if there was an error
|
|
144
|
+
*/
|
|
145
|
+
static new_finish(object: GObject.Object, result: Gio.AsyncResult): Channel
|
|
146
|
+
_init(config?: Channel.ConstructorProperties): void
|
|
147
|
+
/**
|
|
148
|
+
* Creates a new #TfChannel from an existing channel proxy, the new
|
|
149
|
+
* TfChannel object will be return in the async callback.
|
|
150
|
+
*
|
|
151
|
+
* The user must call tf_channel_new_finish() in the callback
|
|
152
|
+
* to get the finished object.
|
|
153
|
+
* @param channel_proxy a #TpChannel proxy
|
|
154
|
+
* @param callback a #GAsyncReadyCallback to call when the channel is ready
|
|
155
|
+
*/
|
|
156
|
+
static new_async(channel_proxy: TelepathyGLib.Channel, callback: Gio.AsyncReadyCallback<Channel> | null): void
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export module Content {
|
|
160
|
+
|
|
161
|
+
// Signal callback interfaces
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Signal callback interface for `restart-source`
|
|
165
|
+
*/
|
|
166
|
+
export interface RestartSourceSignalCallback {
|
|
167
|
+
($obj: Content): void
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Signal callback interface for `src-pad-added`
|
|
172
|
+
*/
|
|
173
|
+
export interface SrcPadAddedSignalCallback {
|
|
174
|
+
($obj: Content, handle: number, stream: Farstream.Stream, pad: Gst.Pad, codec: Farstream.Codec): void
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Signal callback interface for `start-receiving`
|
|
179
|
+
*/
|
|
180
|
+
export interface StartReceivingSignalCallback {
|
|
181
|
+
($obj: Content, handles: any, handle_count: number): boolean
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Signal callback interface for `start-sending`
|
|
186
|
+
*/
|
|
187
|
+
export interface StartSendingSignalCallback {
|
|
188
|
+
($obj: Content): boolean
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Signal callback interface for `stop-receiving`
|
|
193
|
+
*/
|
|
194
|
+
export interface StopReceivingSignalCallback {
|
|
195
|
+
($obj: Content, handles: any, handle_count: number): void
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Signal callback interface for `stop-sending`
|
|
200
|
+
*/
|
|
201
|
+
export interface StopSendingSignalCallback {
|
|
202
|
+
($obj: Content): void
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
// Constructor properties interface
|
|
207
|
+
|
|
208
|
+
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export interface Content {
|
|
214
|
+
|
|
215
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
216
|
+
|
|
217
|
+
readonly fs_conference: Farstream.Conference
|
|
218
|
+
readonly fs_session: Farstream.Session
|
|
219
|
+
readonly media_type: Farstream.MediaType
|
|
220
|
+
readonly object_path: string | null
|
|
221
|
+
readonly sink_pad: Gst.Pad
|
|
222
|
+
readonly tf_channel: Channel
|
|
223
|
+
|
|
224
|
+
// Owm methods of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Send a fatal streaming error to the Content to the CM, the effect is most
|
|
228
|
+
* likely that the content will be removed.
|
|
229
|
+
* @param message error Message
|
|
230
|
+
*/
|
|
231
|
+
error(message: string | null): void
|
|
232
|
+
/**
|
|
233
|
+
* Provides a iterator that can be used to iterate through all of the src
|
|
234
|
+
* pads that are are used to receive from a group of Telepathy handles.
|
|
235
|
+
* @param handles a 0 terminated array of #guint representing Telepathy handles
|
|
236
|
+
* @param handle_count the numner of handles in `handles`
|
|
237
|
+
* @returns a #GstIterator
|
|
238
|
+
*/
|
|
239
|
+
iterate_src_pads(handles: number, handle_count: number): Gst.Iterator
|
|
240
|
+
/**
|
|
241
|
+
* Informs the Connection Manager that receiving has failed for this
|
|
242
|
+
* content. This is a transient error and it may or not not end the Content
|
|
243
|
+
* and the call.
|
|
244
|
+
*
|
|
245
|
+
* If handles are not specific, it assumes that it is valid for all handles.
|
|
246
|
+
* @param handles an array of #guint representing Telepathy handles, may be %NULL
|
|
247
|
+
* @param handle_count the numner of handles in `handles`
|
|
248
|
+
* @param message The error message
|
|
249
|
+
*/
|
|
250
|
+
receiving_failed(handles: number, handle_count: number, message: string | null): void
|
|
251
|
+
/**
|
|
252
|
+
* Informs the Connection Manager that sending has failed for this
|
|
253
|
+
* content. This is a transient error and it may or not not end the Content
|
|
254
|
+
* and the call.
|
|
255
|
+
* @param message The error message
|
|
256
|
+
*/
|
|
257
|
+
sending_failed(message: string | null): void
|
|
258
|
+
|
|
259
|
+
// Own signals of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
260
|
+
|
|
261
|
+
connect(sigName: "restart-source", callback: Content.RestartSourceSignalCallback): number
|
|
262
|
+
connect_after(sigName: "restart-source", callback: Content.RestartSourceSignalCallback): number
|
|
263
|
+
emit(sigName: "restart-source", ...args: any[]): void
|
|
264
|
+
connect(sigName: "src-pad-added", callback: Content.SrcPadAddedSignalCallback): number
|
|
265
|
+
connect_after(sigName: "src-pad-added", callback: Content.SrcPadAddedSignalCallback): number
|
|
266
|
+
emit(sigName: "src-pad-added", handle: number, stream: Farstream.Stream, pad: Gst.Pad, codec: Farstream.Codec, ...args: any[]): void
|
|
267
|
+
connect(sigName: "start-receiving", callback: Content.StartReceivingSignalCallback): number
|
|
268
|
+
connect_after(sigName: "start-receiving", callback: Content.StartReceivingSignalCallback): number
|
|
269
|
+
emit(sigName: "start-receiving", handles: any, handle_count: number, ...args: any[]): void
|
|
270
|
+
connect(sigName: "start-sending", callback: Content.StartSendingSignalCallback): number
|
|
271
|
+
connect_after(sigName: "start-sending", callback: Content.StartSendingSignalCallback): number
|
|
272
|
+
emit(sigName: "start-sending", ...args: any[]): void
|
|
273
|
+
connect(sigName: "stop-receiving", callback: Content.StopReceivingSignalCallback): number
|
|
274
|
+
connect_after(sigName: "stop-receiving", callback: Content.StopReceivingSignalCallback): number
|
|
275
|
+
emit(sigName: "stop-receiving", handles: any, handle_count: number, ...args: any[]): void
|
|
276
|
+
connect(sigName: "stop-sending", callback: Content.StopSendingSignalCallback): number
|
|
277
|
+
connect_after(sigName: "stop-sending", callback: Content.StopSendingSignalCallback): number
|
|
278
|
+
emit(sigName: "stop-sending", ...args: any[]): void
|
|
279
|
+
|
|
280
|
+
// Class property signals of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
281
|
+
|
|
282
|
+
connect(sigName: "notify::fs-conference", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
283
|
+
connect_after(sigName: "notify::fs-conference", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
284
|
+
emit(sigName: "notify::fs-conference", ...args: any[]): void
|
|
285
|
+
connect(sigName: "notify::fs-session", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
286
|
+
connect_after(sigName: "notify::fs-session", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
287
|
+
emit(sigName: "notify::fs-session", ...args: any[]): void
|
|
288
|
+
connect(sigName: "notify::media-type", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
289
|
+
connect_after(sigName: "notify::media-type", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
290
|
+
emit(sigName: "notify::media-type", ...args: any[]): void
|
|
291
|
+
connect(sigName: "notify::object-path", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
292
|
+
connect_after(sigName: "notify::object-path", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
293
|
+
emit(sigName: "notify::object-path", ...args: any[]): void
|
|
294
|
+
connect(sigName: "notify::sink-pad", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
295
|
+
connect_after(sigName: "notify::sink-pad", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
296
|
+
emit(sigName: "notify::sink-pad", ...args: any[]): void
|
|
297
|
+
connect(sigName: "notify::tf-channel", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
298
|
+
connect_after(sigName: "notify::tf-channel", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
299
|
+
emit(sigName: "notify::tf-channel", ...args: any[]): void
|
|
300
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
301
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
302
|
+
emit(sigName: string, ...args: any[]): void
|
|
303
|
+
disconnect(id: number): void
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* This structure is private, this class is not subclassable.
|
|
308
|
+
* @class
|
|
309
|
+
*/
|
|
310
|
+
export class Content extends GObject.Object {
|
|
311
|
+
|
|
312
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
313
|
+
|
|
314
|
+
static name: string
|
|
315
|
+
static $gtype: GObject.GType<Content>
|
|
316
|
+
|
|
317
|
+
// Constructors of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
318
|
+
|
|
319
|
+
constructor(config?: Content.ConstructorProperties)
|
|
320
|
+
_init(config?: Content.ConstructorProperties): void
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export interface ChannelClass {
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* There are no overridable functions
|
|
328
|
+
* @record
|
|
329
|
+
*/
|
|
330
|
+
export abstract class ChannelClass {
|
|
331
|
+
|
|
332
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.ChannelClass
|
|
333
|
+
|
|
334
|
+
static name: string
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export interface ChannelPrivate {
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export class ChannelPrivate {
|
|
341
|
+
|
|
342
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.ChannelPrivate
|
|
343
|
+
|
|
344
|
+
static name: string
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export interface ContentClass {
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* This structure is private, this class is not subclassable.
|
|
352
|
+
* @record
|
|
353
|
+
*/
|
|
354
|
+
export abstract class ContentClass {
|
|
355
|
+
|
|
356
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.ContentClass
|
|
357
|
+
|
|
358
|
+
static name: string
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
export interface ContentPrivate {
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export class ContentPrivate {
|
|
365
|
+
|
|
366
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.ContentPrivate
|
|
367
|
+
|
|
368
|
+
static name: string
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Name of the imported GIR library
|
|
373
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
374
|
+
*/
|
|
375
|
+
export const __name__: string
|
|
376
|
+
/**
|
|
377
|
+
* Version of the imported GIR library
|
|
378
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
379
|
+
*/
|
|
380
|
+
export const __version__: string
|
|
381
|
+
// END
|
|
@@ -0,0 +1,386 @@
|
|
|
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
|
+
* TelepathyFarstream-0.6
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type TelepathyGLib from '@girs/telepathyglib-0.12';
|
|
13
|
+
import type Gio from '@girs/gio-2.0';
|
|
14
|
+
import type GObject from '@girs/gobject-2.0';
|
|
15
|
+
import type GLib from '@girs/glib-2.0';
|
|
16
|
+
import type Gst from '@girs/gst-1.0';
|
|
17
|
+
import type GModule from '@girs/gmodule-2.0';
|
|
18
|
+
import type Farstream from '@girs/farstream-0.2';
|
|
19
|
+
|
|
20
|
+
export namespace TelepathyFarstream {
|
|
21
|
+
|
|
22
|
+
module Channel {
|
|
23
|
+
|
|
24
|
+
// Signal callback interfaces
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Signal callback interface for `closed`
|
|
28
|
+
*/
|
|
29
|
+
interface ClosedSignalCallback {
|
|
30
|
+
($obj: Channel): void
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Signal callback interface for `content-added`
|
|
35
|
+
*/
|
|
36
|
+
interface ContentAddedSignalCallback {
|
|
37
|
+
($obj: Channel, content: Content): void
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Signal callback interface for `content-removed`
|
|
42
|
+
*/
|
|
43
|
+
interface ContentRemovedSignalCallback {
|
|
44
|
+
($obj: Channel, content: Content): void
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Signal callback interface for `fs-conference-added`
|
|
49
|
+
*/
|
|
50
|
+
interface FsConferenceAddedSignalCallback {
|
|
51
|
+
($obj: Channel, conf: Farstream.Conference): void
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Signal callback interface for `fs-conference-removed`
|
|
56
|
+
*/
|
|
57
|
+
interface FsConferenceRemovedSignalCallback {
|
|
58
|
+
($obj: Channel, conf: Farstream.Conference): void
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
// Constructor properties interface
|
|
63
|
+
|
|
64
|
+
interface ConstructorProperties extends Gio.AsyncInitable.ConstructorProperties, GObject.Object.ConstructorProperties {
|
|
65
|
+
|
|
66
|
+
// Own constructor properties of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
67
|
+
|
|
68
|
+
channel?: TelepathyGLib.Channel | null
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
interface Channel extends Gio.AsyncInitable {
|
|
74
|
+
|
|
75
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
76
|
+
|
|
77
|
+
readonly channel: TelepathyGLib.Channel
|
|
78
|
+
readonly fs_conferences: any[]
|
|
79
|
+
readonly object_path: string | null
|
|
80
|
+
|
|
81
|
+
// Owm methods of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* You must call this function on call messages received on the async bus.
|
|
85
|
+
* #GstMessages are not modified.
|
|
86
|
+
* @param message A #GstMessage received from the bus
|
|
87
|
+
* @returns %TRUE if the message has been handled, %FALSE otherwise
|
|
88
|
+
*/
|
|
89
|
+
bus_message(message: Gst.Message): boolean
|
|
90
|
+
|
|
91
|
+
// Own signals of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
92
|
+
|
|
93
|
+
connect(sigName: "closed", callback: Channel.ClosedSignalCallback): number
|
|
94
|
+
connect_after(sigName: "closed", callback: Channel.ClosedSignalCallback): number
|
|
95
|
+
emit(sigName: "closed", ...args: any[]): void
|
|
96
|
+
connect(sigName: "content-added", callback: Channel.ContentAddedSignalCallback): number
|
|
97
|
+
connect_after(sigName: "content-added", callback: Channel.ContentAddedSignalCallback): number
|
|
98
|
+
emit(sigName: "content-added", content: Content, ...args: any[]): void
|
|
99
|
+
connect(sigName: "content-removed", callback: Channel.ContentRemovedSignalCallback): number
|
|
100
|
+
connect_after(sigName: "content-removed", callback: Channel.ContentRemovedSignalCallback): number
|
|
101
|
+
emit(sigName: "content-removed", content: Content, ...args: any[]): void
|
|
102
|
+
connect(sigName: "fs-conference-added", callback: Channel.FsConferenceAddedSignalCallback): number
|
|
103
|
+
connect_after(sigName: "fs-conference-added", callback: Channel.FsConferenceAddedSignalCallback): number
|
|
104
|
+
emit(sigName: "fs-conference-added", conf: Farstream.Conference, ...args: any[]): void
|
|
105
|
+
connect(sigName: "fs-conference-removed", callback: Channel.FsConferenceRemovedSignalCallback): number
|
|
106
|
+
connect_after(sigName: "fs-conference-removed", callback: Channel.FsConferenceRemovedSignalCallback): number
|
|
107
|
+
emit(sigName: "fs-conference-removed", conf: Farstream.Conference, ...args: any[]): void
|
|
108
|
+
|
|
109
|
+
// Class property signals of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
110
|
+
|
|
111
|
+
connect(sigName: "notify::channel", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
112
|
+
connect_after(sigName: "notify::channel", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
113
|
+
emit(sigName: "notify::channel", ...args: any[]): void
|
|
114
|
+
connect(sigName: "notify::fs-conferences", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
115
|
+
connect_after(sigName: "notify::fs-conferences", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
116
|
+
emit(sigName: "notify::fs-conferences", ...args: any[]): void
|
|
117
|
+
connect(sigName: "notify::object-path", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
118
|
+
connect_after(sigName: "notify::object-path", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
|
|
119
|
+
emit(sigName: "notify::object-path", ...args: any[]): void
|
|
120
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
121
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
122
|
+
emit(sigName: string, ...args: any[]): void
|
|
123
|
+
disconnect(id: number): void
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* All members of the object are private
|
|
128
|
+
* @class
|
|
129
|
+
*/
|
|
130
|
+
class Channel extends GObject.Object {
|
|
131
|
+
|
|
132
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
133
|
+
|
|
134
|
+
static name: string
|
|
135
|
+
static $gtype: GObject.GType<Channel>
|
|
136
|
+
|
|
137
|
+
// Constructors of TelepathyFarstream-0.6.TelepathyFarstream.Channel
|
|
138
|
+
|
|
139
|
+
constructor(config?: Channel.ConstructorProperties)
|
|
140
|
+
/**
|
|
141
|
+
* Completes the construction of a TfChannel.
|
|
142
|
+
* @constructor
|
|
143
|
+
* @param object The #GObject
|
|
144
|
+
* @param result a #GAsyncResult
|
|
145
|
+
* @returns a #TfChannel or %NULL if there was an error
|
|
146
|
+
*/
|
|
147
|
+
static new_finish(object: GObject.Object, result: Gio.AsyncResult): Channel
|
|
148
|
+
_init(config?: Channel.ConstructorProperties): void
|
|
149
|
+
/**
|
|
150
|
+
* Creates a new #TfChannel from an existing channel proxy, the new
|
|
151
|
+
* TfChannel object will be return in the async callback.
|
|
152
|
+
*
|
|
153
|
+
* The user must call tf_channel_new_finish() in the callback
|
|
154
|
+
* to get the finished object.
|
|
155
|
+
* @param channel_proxy a #TpChannel proxy
|
|
156
|
+
* @param callback a #GAsyncReadyCallback to call when the channel is ready
|
|
157
|
+
*/
|
|
158
|
+
static new_async(channel_proxy: TelepathyGLib.Channel, callback: Gio.AsyncReadyCallback<Channel> | null): void
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
module Content {
|
|
162
|
+
|
|
163
|
+
// Signal callback interfaces
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Signal callback interface for `restart-source`
|
|
167
|
+
*/
|
|
168
|
+
interface RestartSourceSignalCallback {
|
|
169
|
+
($obj: Content): void
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Signal callback interface for `src-pad-added`
|
|
174
|
+
*/
|
|
175
|
+
interface SrcPadAddedSignalCallback {
|
|
176
|
+
($obj: Content, handle: number, stream: Farstream.Stream, pad: Gst.Pad, codec: Farstream.Codec): void
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Signal callback interface for `start-receiving`
|
|
181
|
+
*/
|
|
182
|
+
interface StartReceivingSignalCallback {
|
|
183
|
+
($obj: Content, handles: any, handle_count: number): boolean
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Signal callback interface for `start-sending`
|
|
188
|
+
*/
|
|
189
|
+
interface StartSendingSignalCallback {
|
|
190
|
+
($obj: Content): boolean
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Signal callback interface for `stop-receiving`
|
|
195
|
+
*/
|
|
196
|
+
interface StopReceivingSignalCallback {
|
|
197
|
+
($obj: Content, handles: any, handle_count: number): void
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Signal callback interface for `stop-sending`
|
|
202
|
+
*/
|
|
203
|
+
interface StopSendingSignalCallback {
|
|
204
|
+
($obj: Content): void
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
// Constructor properties interface
|
|
209
|
+
|
|
210
|
+
interface ConstructorProperties extends GObject.Object.ConstructorProperties {
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
interface Content {
|
|
216
|
+
|
|
217
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
218
|
+
|
|
219
|
+
readonly fs_conference: Farstream.Conference
|
|
220
|
+
readonly fs_session: Farstream.Session
|
|
221
|
+
readonly media_type: Farstream.MediaType
|
|
222
|
+
readonly object_path: string | null
|
|
223
|
+
readonly sink_pad: Gst.Pad
|
|
224
|
+
readonly tf_channel: Channel
|
|
225
|
+
|
|
226
|
+
// Owm methods of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Send a fatal streaming error to the Content to the CM, the effect is most
|
|
230
|
+
* likely that the content will be removed.
|
|
231
|
+
* @param message error Message
|
|
232
|
+
*/
|
|
233
|
+
error(message: string | null): void
|
|
234
|
+
/**
|
|
235
|
+
* Provides a iterator that can be used to iterate through all of the src
|
|
236
|
+
* pads that are are used to receive from a group of Telepathy handles.
|
|
237
|
+
* @param handles a 0 terminated array of #guint representing Telepathy handles
|
|
238
|
+
* @param handle_count the numner of handles in `handles`
|
|
239
|
+
* @returns a #GstIterator
|
|
240
|
+
*/
|
|
241
|
+
iterate_src_pads(handles: number, handle_count: number): Gst.Iterator
|
|
242
|
+
/**
|
|
243
|
+
* Informs the Connection Manager that receiving has failed for this
|
|
244
|
+
* content. This is a transient error and it may or not not end the Content
|
|
245
|
+
* and the call.
|
|
246
|
+
*
|
|
247
|
+
* If handles are not specific, it assumes that it is valid for all handles.
|
|
248
|
+
* @param handles an array of #guint representing Telepathy handles, may be %NULL
|
|
249
|
+
* @param handle_count the numner of handles in `handles`
|
|
250
|
+
* @param message The error message
|
|
251
|
+
*/
|
|
252
|
+
receiving_failed(handles: number, handle_count: number, message: string | null): void
|
|
253
|
+
/**
|
|
254
|
+
* Informs the Connection Manager that sending has failed for this
|
|
255
|
+
* content. This is a transient error and it may or not not end the Content
|
|
256
|
+
* and the call.
|
|
257
|
+
* @param message The error message
|
|
258
|
+
*/
|
|
259
|
+
sending_failed(message: string | null): void
|
|
260
|
+
|
|
261
|
+
// Own signals of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
262
|
+
|
|
263
|
+
connect(sigName: "restart-source", callback: Content.RestartSourceSignalCallback): number
|
|
264
|
+
connect_after(sigName: "restart-source", callback: Content.RestartSourceSignalCallback): number
|
|
265
|
+
emit(sigName: "restart-source", ...args: any[]): void
|
|
266
|
+
connect(sigName: "src-pad-added", callback: Content.SrcPadAddedSignalCallback): number
|
|
267
|
+
connect_after(sigName: "src-pad-added", callback: Content.SrcPadAddedSignalCallback): number
|
|
268
|
+
emit(sigName: "src-pad-added", handle: number, stream: Farstream.Stream, pad: Gst.Pad, codec: Farstream.Codec, ...args: any[]): void
|
|
269
|
+
connect(sigName: "start-receiving", callback: Content.StartReceivingSignalCallback): number
|
|
270
|
+
connect_after(sigName: "start-receiving", callback: Content.StartReceivingSignalCallback): number
|
|
271
|
+
emit(sigName: "start-receiving", handles: any, handle_count: number, ...args: any[]): void
|
|
272
|
+
connect(sigName: "start-sending", callback: Content.StartSendingSignalCallback): number
|
|
273
|
+
connect_after(sigName: "start-sending", callback: Content.StartSendingSignalCallback): number
|
|
274
|
+
emit(sigName: "start-sending", ...args: any[]): void
|
|
275
|
+
connect(sigName: "stop-receiving", callback: Content.StopReceivingSignalCallback): number
|
|
276
|
+
connect_after(sigName: "stop-receiving", callback: Content.StopReceivingSignalCallback): number
|
|
277
|
+
emit(sigName: "stop-receiving", handles: any, handle_count: number, ...args: any[]): void
|
|
278
|
+
connect(sigName: "stop-sending", callback: Content.StopSendingSignalCallback): number
|
|
279
|
+
connect_after(sigName: "stop-sending", callback: Content.StopSendingSignalCallback): number
|
|
280
|
+
emit(sigName: "stop-sending", ...args: any[]): void
|
|
281
|
+
|
|
282
|
+
// Class property signals of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
283
|
+
|
|
284
|
+
connect(sigName: "notify::fs-conference", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
285
|
+
connect_after(sigName: "notify::fs-conference", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
286
|
+
emit(sigName: "notify::fs-conference", ...args: any[]): void
|
|
287
|
+
connect(sigName: "notify::fs-session", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
288
|
+
connect_after(sigName: "notify::fs-session", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
289
|
+
emit(sigName: "notify::fs-session", ...args: any[]): void
|
|
290
|
+
connect(sigName: "notify::media-type", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
291
|
+
connect_after(sigName: "notify::media-type", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
292
|
+
emit(sigName: "notify::media-type", ...args: any[]): void
|
|
293
|
+
connect(sigName: "notify::object-path", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
294
|
+
connect_after(sigName: "notify::object-path", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
295
|
+
emit(sigName: "notify::object-path", ...args: any[]): void
|
|
296
|
+
connect(sigName: "notify::sink-pad", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
297
|
+
connect_after(sigName: "notify::sink-pad", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
298
|
+
emit(sigName: "notify::sink-pad", ...args: any[]): void
|
|
299
|
+
connect(sigName: "notify::tf-channel", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
300
|
+
connect_after(sigName: "notify::tf-channel", callback: (($obj: Content, pspec: GObject.ParamSpec) => void)): number
|
|
301
|
+
emit(sigName: "notify::tf-channel", ...args: any[]): void
|
|
302
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
303
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
304
|
+
emit(sigName: string, ...args: any[]): void
|
|
305
|
+
disconnect(id: number): void
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* This structure is private, this class is not subclassable.
|
|
310
|
+
* @class
|
|
311
|
+
*/
|
|
312
|
+
class Content extends GObject.Object {
|
|
313
|
+
|
|
314
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
315
|
+
|
|
316
|
+
static name: string
|
|
317
|
+
static $gtype: GObject.GType<Content>
|
|
318
|
+
|
|
319
|
+
// Constructors of TelepathyFarstream-0.6.TelepathyFarstream.Content
|
|
320
|
+
|
|
321
|
+
constructor(config?: Content.ConstructorProperties)
|
|
322
|
+
_init(config?: Content.ConstructorProperties): void
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
interface ChannelClass {
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* There are no overridable functions
|
|
330
|
+
* @record
|
|
331
|
+
*/
|
|
332
|
+
abstract class ChannelClass {
|
|
333
|
+
|
|
334
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.ChannelClass
|
|
335
|
+
|
|
336
|
+
static name: string
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
interface ChannelPrivate {
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
class ChannelPrivate {
|
|
343
|
+
|
|
344
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.ChannelPrivate
|
|
345
|
+
|
|
346
|
+
static name: string
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
interface ContentClass {
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* This structure is private, this class is not subclassable.
|
|
354
|
+
* @record
|
|
355
|
+
*/
|
|
356
|
+
abstract class ContentClass {
|
|
357
|
+
|
|
358
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.ContentClass
|
|
359
|
+
|
|
360
|
+
static name: string
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
interface ContentPrivate {
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
class ContentPrivate {
|
|
367
|
+
|
|
368
|
+
// Own properties of TelepathyFarstream-0.6.TelepathyFarstream.ContentPrivate
|
|
369
|
+
|
|
370
|
+
static name: string
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Name of the imported GIR library
|
|
375
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
376
|
+
*/
|
|
377
|
+
const __name__: string
|
|
378
|
+
/**
|
|
379
|
+
* Version of the imported GIR library
|
|
380
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
381
|
+
*/
|
|
382
|
+
const __version__: string
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export default TelepathyFarstream;
|
|
386
|
+
// END
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
// General settings for code interpretation
|
|
4
|
+
"target": "ESNext",
|
|
5
|
+
"module": "ESNext",
|
|
6
|
+
"experimentalDecorators": true,
|
|
7
|
+
"moduleResolution": "node",
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"noEmitOnError": false,
|
|
10
|
+
"baseUrl": "./",
|
|
11
|
+
"rootDir": ".",
|
|
12
|
+
// General settings for code generation
|
|
13
|
+
"removeComments": false,
|
|
14
|
+
"inlineSourceMap": false,
|
|
15
|
+
"inlineSources": false,
|
|
16
|
+
"newLine": "LF"
|
|
17
|
+
},
|
|
18
|
+
"include": ["./telepathyfarstream-0.6.d.ts"]
|
|
19
|
+
}
|