// 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. | |
[Discoverable] | |
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); | |
}; |