wip: native file handles when dropping 🎉

This commit is contained in:
Jonathan Kelley committed 2024-03-05 13:57:28 -08:00
1 parent 403e8e2f49
commit 78d16536a7
11 files changed
+134 -76

No files matched your search

+2
View File
@@ -42,6 +42,7 @@ pub enum IpcMethod<'a> {
Query,
BrowserOpen,
Initialize,
FileDrag,
Other(&'a str),
}
@@ -50,6 +51,7 @@ impl IpcMessage {
match self.method.as_str() {
// todo: this is a misspelling, needs to be fixed
"file_dialog" => IpcMethod::FileDialog,
"file_drag" => IpcMethod::FileDrag,
"user_event" => IpcMethod::UserEvent,
"query" => IpcMethod::Query,
"browser_open" => IpcMethod::BrowserOpen,