Skip to content

Commit 0d9efd9

Browse files
committed
flags needed for MessageBus.requestName()
1 parent 460016f commit 0d9efd9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

types.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,19 @@ declare module 'dbus-next' {
9898
static newSignal(path: string, iface: string, name: string, signature?: string, body?: any[]): Message;
9999
}
100100

101+
export class NameFlag {
102+
static ALLOW_REPLACEMENT: number;
103+
static REPLACE_EXISTING: number
104+
static DO_NOT_QUEUE: number
105+
}
106+
107+
export class RequestNameReply {
108+
static PRIMARY_OWNER: number;
109+
static IN_QUEUE: number;
110+
static EXISTS: number;
111+
static ALREADY_OWNER: number;
112+
}
113+
101114
export class MessageBus extends EventEmitter {
102115
getProxyObject(name: string, path: string, xml?: string): Promise<ProxyObject>;
103116
disconnect(): void;

0 commit comments

Comments
 (0)