mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:27:35 +00:00
SpiceAgent: Add support for copying images to the clipboard
This commit is contained in:
parent
50a8db3922
commit
9f92e52464
4 changed files with 63 additions and 11 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/Format.h>
|
||||
#include <AK/Forward.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
|
||||
namespace SpiceAgent {
|
||||
|
@ -50,6 +51,9 @@ enum class ClipboardDataType : u32 {
|
|||
__End
|
||||
};
|
||||
|
||||
ErrorOr<String> clipboard_data_type_to_mime_type(ClipboardDataType type);
|
||||
ErrorOr<ClipboardDataType> clipboard_data_type_from_raw_value(u32 value);
|
||||
|
||||
class Message {
|
||||
public:
|
||||
// The spice protocol headers contain a bit of documentation about these, but nothing major:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue