Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE 6 technical preview.
  4. Copyright (c) 2017 - ROLI Ltd.
  5. You may use this code under the terms of the GPL v3
  6. (see www.gnu.org/licenses).
  7. For this technical preview, this file is not subject to commercial licensing.
  8. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  9. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  10. DISCLAIMED.
  11. ==============================================================================
  12. */
  13. namespace juce
  14. {
  15. //==============================================================================
  16. /**
  17. Handles reading/writing to the system's clipboard.
  18. @tags{GUI}
  19. */
  20. class JUCE_API SystemClipboard
  21. {
  22. public:
  23. /** Copies a string of text onto the clipboard */
  24. static void copyTextToClipboard (const String& text);
  25. /** Gets the current clipboard's contents.
  26. Obviously this might have come from another app, so could contain
  27. anything..
  28. */
  29. static String getTextFromClipboard();
  30. };
  31. } // namespace juce