Files
azuredatastudio/src/vs/platform/clipboard/common/clipboardService.ts
Karl Burtram 251ae01c3e Initial VS Code 1.19 source merge (#571)
* 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
2018-01-28 23:37:17 -08:00

36 lines
949 B
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 { createDecorator } from 'vs/platform/instantiation/common/instantiation';
export const IClipboardService = createDecorator<IClipboardService>('clipboardService');
export interface IClipboardService {
_serviceBrand: any;
/**
* Writes text to the system clipboard.
*/
writeText(text: string): void;
/**
* Reads the content of the clipboard in plain text
*/
readText(): string;
/**
* Reads text from the system find pasteboard.
*/
readFindText(): string;
/**
* Writes text to the system find pasteboard.
*/
writeFindText(text: string): void;
}