mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
api - introduce env.uiKind (web, desktop)
This commit is contained in:
@@ -87,6 +87,7 @@ export interface IInitData {
|
||||
logsLocation: URI;
|
||||
autoStart: boolean;
|
||||
remote: { isRemote: boolean; authority: string | undefined; };
|
||||
uiKind: UIKind;
|
||||
}
|
||||
|
||||
export interface IConfigurationInitData extends IConfigurationData {
|
||||
@@ -105,6 +106,11 @@ export interface IExtHostContext extends IRPCProtocol {
|
||||
export interface IMainContext extends IRPCProtocol {
|
||||
}
|
||||
|
||||
export enum UIKind {
|
||||
Desktop = 1,
|
||||
Web = 2
|
||||
}
|
||||
|
||||
// --- main thread
|
||||
|
||||
export interface MainThreadClipboardShape extends IDisposable {
|
||||
|
||||
Reference in New Issue
Block a user