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

@@ -73,7 +73,8 @@ class ChatGui4 {
float render(float time_delta);
public:
void sendFilePath(const char* file_path);
void sendFilePath(std::string_view file_path);
void sendFileList(const std::vector<std::string_view>& list);
private:
void renderMessageBodyText(Message3Registry& reg, const Message3 e);