rework mime types, support pasting file lists, SIP when dropping single files

This commit is contained in:
2024-08-13 16:17:25 +02:00
parent 73afcfaaeb
commit a3c9be2348
8 changed files with 291 additions and 51 deletions

View File

@ -3,4 +3,10 @@
// returns the mimetype (c-string) of the image in the clipboard
// or nullptr, if there is none
const char* clipboardHasImage(void);
const char* clipboardHasFileList(void);
bool mimeIsImage(const char* mime_type);
bool mimeIsFileList(const char* mime_type);
// TODO: add is file