mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-20 12:00:24 -04:00
* Initial 1.19 xcopy * Fix yarn build * Fix numerous build breaks * Next batch of build break fixes * More build break fixes * Runtime breaks * Additional post merge fixes * Fix windows setup file * Fix test failures. * Update license header blocks to refer to source eula
45 lines
1.4 KiB
TypeScript
45 lines
1.4 KiB
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
'use strict';
|
|
|
|
import Severity from 'vs/base/common/severity';
|
|
import { IConfirmation, IMessageService, IMessageWithAction, IConfirmationResult } from 'vs/platform/message/common/message';
|
|
import { TPromise } from 'vs/base/common/winjs.base';
|
|
|
|
export class MessageServiceStub implements IMessageService{
|
|
_serviceBrand: any;
|
|
|
|
show(sev: Severity, message: string): () => void;
|
|
show(sev: Severity, message: Error): () => void;
|
|
show(sev: Severity, message: string[]): () => void;
|
|
show(sev: Severity, message: Error[]): () => void;
|
|
show(sev: Severity, message: IMessageWithAction): () => void;
|
|
show(sev: Severity, message): () => void {
|
|
return undefined;
|
|
}
|
|
|
|
hideAll(): void {
|
|
return undefined;
|
|
}
|
|
|
|
confirm(confirmation: IConfirmation): boolean {
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* Ask the user for confirmation.
|
|
*/
|
|
confirmSync(confirmation: IConfirmation): boolean {
|
|
return undefined;
|
|
}
|
|
|
|
/**
|
|
* Ask the user for confirmation with a checkbox.
|
|
*/
|
|
confirmWithCheckbox(confirmation: IConfirmation): TPromise<IConfirmationResult> {
|
|
return undefined;
|
|
}
|
|
} |