guitar_prometheus::JuceClipboardPort
guitar_prometheus::JuceClipboardPort
Production ClipboardPort backed by juce::SystemClipboard. More…
#include <JuceClipboardPort.h>
Inherits from GuitarPrometheus::Profiles::ClipboardPort
Public Functions
| Name | |
|---|---|
| virtual std::string | read() const override Read the current clipboard text. |
| virtual void | write(const std::string & text) override Overwrite the clipboard with the given text. |
Additional inherited members
Public Functions inherited from GuitarPrometheus::Profiles::ClipboardPort
| Name | |
|---|---|
| virtual | ~ClipboardPort() =default |
Detailed Description
class guitar_prometheus::JuceClipboardPort;Production ClipboardPort backed by juce::SystemClipboard.
Lives in the app binary because juce::SystemClipboard requires the GUI modules; ProfileStore itself stays GUI-free.
Public Functions Documentation
function read
virtual std::string read() const overrideRead the current clipboard text.
Return: Clipboard contents as UTF-8. Empty string if the clipboard is empty or contains non-text data.
Reimplements: GuitarPrometheus::Profiles::ClipboardPort::read
function write
virtual void write( const std::string & text) overrideOverwrite the clipboard with the given text.
Parameters:
- text UTF-8 text to place on the clipboard.
Reimplements: GuitarPrometheus::Profiles::ClipboardPort::write
Updated on 2026-05-29 at 07:39:52 +0000