blob: 903b57d69a82e504a090eb38e820abcee0960c00 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.modular;
// An interface that provides clients with the ability to store and
// retrieve text.
interface Clipboard {
// Pushes |text| onto the clipboard.
1: Push(string text);
// Peeks at the current topmost item on the clipboard and returns
// it, or null if no such item exists.
2: Peek() -> (string? text);