expose some of the open-options, #13807

This commit is contained in:
Johannes Rieken
2017-08-22 12:50:31 +02:00
parent beb033f98b
commit 49784f8eb1
5 changed files with 56 additions and 17 deletions

View File

@@ -113,8 +113,16 @@ export interface MainThreadDiagnosticsShape extends IDisposable {
$clear(owner: string): TPromise<any>;
}
export interface MainThreadDialogOptions {
uri?: URI;
openLabel?: string;
openFiles?: boolean;
openFolders?: boolean;
openMany?: boolean;
}
export interface MainThreadDiaglogsShape extends IDisposable {
$showOpenDialog(): TPromise<string[]>;
$showOpenDialog(options: MainThreadDialogOptions): TPromise<string[]>;
}
export interface MainThreadDocumentContentProvidersShape extends IDisposable {