tomato/src/sdl_clipboard_utils.hpp

13 lines
297 B
C++
Raw Normal View History

2023-07-30 15:10:26 +02:00
#pragma once
// 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
2023-07-30 15:10:26 +02:00