-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgstvulkanxcb-1.0.d.ts
More file actions
120 lines (95 loc) · 4.02 KB
/
gstvulkanxcb-1.0.d.ts
File metadata and controls
120 lines (95 loc) · 4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/// <reference path="./vulkan-1.0.d.ts" />
/// <reference path="./gstvulkan-1.0.d.ts" />
/// <reference path="./gstvideo-1.0.d.ts" />
/// <reference path="./gstbase-1.0.d.ts" />
/// <reference path="./gst-1.0.d.ts" />
/// <reference path="./gobject-2.0.d.ts" />
/// <reference path="./glib-2.0.d.ts" />
/// <reference path="./gmodule-2.0.d.ts" />
/**
* Type Definitions for Gjs (https://gjs.guide/)
*
* These type definitions are automatically generated, do not edit them by hand.
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
*
* The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
*/
declare module 'gi://GstVulkanXCB?version=1.0' {
// Module dependencies
import type Vulkan from 'gi://Vulkan?version=1.0';
import type GstVulkan from 'gi://GstVulkan?version=1.0';
import type GstVideo from 'gi://GstVideo?version=1.0';
import type GstBase from 'gi://GstBase?version=1.0';
import type Gst from 'gi://Gst?version=1.0';
import type GObject from 'gi://GObject?version=2.0';
import type GLib from 'gi://GLib?version=2.0';
import type GModule from 'gi://GModule?version=2.0';
export namespace GstVulkanXCB {
/**
* GstVulkanXCB-1.0
*/
namespace VulkanDisplayXCB {
// Signal signatures
interface SignalSignatures extends GstVulkan.VulkanDisplay.SignalSignatures {
"notify::name": (pspec: GObject.ParamSpec) => void;
"notify::parent": (pspec: GObject.ParamSpec) => void;
}
// Constructor properties interface
interface ConstructorProps extends GstVulkan.VulkanDisplay.ConstructorProps {
}
}
/**
* the contents of a {@link GstVulkanXCB.VulkanDisplayXCB} are private and should only be accessed
* through the provided API
* @gir-type Class
* @since 1.18
*/
class VulkanDisplayXCB extends GstVulkan.VulkanDisplay {
static $gtype: GObject.GType<VulkanDisplayXCB>;
/**
* Compile-time signal type information.
*
* This instance property is generated only for TypeScript type checking.
* It is not defined at runtime and should not be accessed in JS code.
* @internal
*/
$signals: VulkanDisplayXCB.SignalSignatures;
// Constructors
constructor(properties?: Partial<VulkanDisplayXCB.ConstructorProps>, ...args: any[]);
_init(...args: any[]): void;
static ["new"](name: (string | null)): VulkanDisplayXCB;
// Conflicted with GstVulkan.VulkanDisplay.new
static ["new"](...args: never[]): any;
// Signals
/** @signal */
connect<K extends keyof VulkanDisplayXCB.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, VulkanDisplayXCB.SignalSignatures[K]>): number;
connect(signal: string, callback: (...args: any[]) => any): number;
/** @signal */
connect_after<K extends keyof VulkanDisplayXCB.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, VulkanDisplayXCB.SignalSignatures[K]>): number;
connect_after(signal: string, callback: (...args: any[]) => any): number;
/** @signal */
emit<K extends keyof VulkanDisplayXCB.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<VulkanDisplayXCB.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
emit(signal: string, ...args: any[]): void;
}
/**
* @gir-type Alias
*/
type VulkanDisplayXCBClass = typeof VulkanDisplayXCB;
/**
* Name of the imported GIR library
* `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
*/
const __name__: string;
/**
* Version of the imported GIR library
* `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
*/
const __version__: string;
}
export default GstVulkanXCB;
}
declare module 'gi://GstVulkanXCB' {
import GstVulkanXCB10 from 'gi://GstVulkanXCB?version=1.0';
export default GstVulkanXCB10;
}
// END