5#ifndef MOLYBDEN_CLIPBOARD_HPP
6#define MOLYBDEN_CLIPBOARD_HPP
24 virtual std::shared_ptr<App>
app() = 0;
29 virtual std::vector<std::shared_ptr<ClipboardData>>
read() = 0;
34 virtual void write(std::shared_ptr<ClipboardData> data) = 0;
39 virtual void write(std::vector<std::shared_ptr<ClipboardData>> data) = 0;
Allows to access the system clipboard.
Definition clipboard.hpp:19
virtual void write(std::vector< std::shared_ptr< ClipboardData > > data)=0
Writes the given list of data to the system clipboard.
virtual void clear()=0
Clears the system clipboard.
virtual std::vector< std::shared_ptr< ClipboardData > > read()=0
Reads the system clipboard data.
virtual void write(std::shared_ptr< ClipboardData > data)=0
Writes the given data to the system clipboard.
virtual std::shared_ptr< App > app()=0
Returns the current application.