mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-21 20:30:29 -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
36 lines
949 B
TypeScript
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;
|
|
}
|