From 743ed605df86ad4e7df91c0f8ae30b763666b5e7 Mon Sep 17 00:00:00 2001 From: Aurelien Souchet Date: Tue, 9 Jun 2015 11:06:18 +0200 Subject: [PATCH] merging interfaces --- winrt/winrt.d.ts | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/winrt/winrt.d.ts b/winrt/winrt.d.ts index 8671e62e0..b8b40f7cd 100644 --- a/winrt/winrt.d.ts +++ b/winrt/winrt.d.ts @@ -10990,45 +10990,39 @@ declare module Windows { } export interface IFileOpenPicker { commitButtonText: string; + continuationData: Windows.Foundation.Collections.ValueSet; fileTypeFilter: Windows.Foundation.Collections.IVector; settingsIdentifier: string; suggestedStartLocation: Windows.Storage.Pickers.PickerLocationId; viewMode: Windows.Storage.Pickers.PickerViewMode; - pickSingleFileAsync(): Windows.Foundation.IAsyncOperation; - pickMultipleFilesAsync(): Windows.Foundation.IAsyncOperation>; - } - export interface IFileOpenPicker2 { - continuationData: Windows.Foundation.Collections.ValueSet; pickMultipleFilesAndContinue(): void; + pickMultipleFilesAsync(): Windows.Foundation.IAsyncOperation>; pickSingleFileAndContinue(): void; + pickSingleFileAsync(): Windows.Foundation.IAsyncOperation; } export interface IFileSavePicker { commitButtonText: string; + continuationData: Windows.Foundation.Collections.ValueSet; defaultFileExtension: string; fileTypeChoices: Windows.Foundation.Collections.IMap>; settingsIdentifier: string; suggestedFileName: string; suggestedSaveFile: Windows.Storage.StorageFile; suggestedStartLocation: Windows.Storage.Pickers.PickerLocationId; - pickSaveFileAsync(): Windows.Foundation.IAsyncOperation; - } - export interface IFileSavePicker2 { - continuationData: Windows.Foundation.Collections.ValueSet; pickSaveFileAndContinue(): void; + pickSaveFileAsync(): Windows.Foundation.IAsyncOperation; } export interface IFolderPicker { commitButtonText: string; + continuationData: Windows.Foundation.Collections.ValueSet; fileTypeFilter: Windows.Foundation.Collections.IVector; settingsIdentifier: string; suggestedStartLocation: Windows.Storage.Pickers.PickerLocationId; viewMode: Windows.Storage.Pickers.PickerViewMode; + pickFolderAndContinue(): void; pickSingleFolderAsync(): Windows.Foundation.IAsyncOperation; } - export interface IFolderPicker2 { - continuationData: Windows.Foundation.Collections.ValueSet; - pickFolderAndContinue(): void; - } - export class FileOpenPicker implements Windows.Storage.Pickers.IFileOpenPicker, Windows.Storage.Pickers.IFileOpenPicker2 { + export class FileOpenPicker implements Windows.Storage.Pickers.IFileOpenPicker { commitButtonText: string; fileTypeFilter: Windows.Foundation.Collections.IVector; settingsIdentifier: string; @@ -11040,7 +11034,7 @@ declare module Windows { pickMultipleFilesAndContinue(): void; pickMultipleFilesAsync(): Windows.Foundation.IAsyncOperation>; } - export class FileSavePicker implements Windows.Storage.Pickers.IFileSavePicker, Windows.Storage.Pickers.IFileSavePicker2 { + export class FileSavePicker implements Windows.Storage.Pickers.IFileSavePicker { commitButtonText: string; defaultFileExtension: string; fileTypeChoices: Windows.Foundation.Collections.IMap>; @@ -11052,7 +11046,7 @@ declare module Windows { pickSaveFileAndContinue(): void; pickSaveFileAsync(): Windows.Foundation.IAsyncOperation; } - export class FolderPicker implements Windows.Storage.Pickers.IFolderPicker, Windows.Storage.Pickers.IFolderPicker2 { + export class FolderPicker implements Windows.Storage.Pickers.IFolderPicker { commitButtonText: string; fileTypeFilter: Windows.Foundation.Collections.IVector; settingsIdentifier: string;