Merge pull request #80 from mf4633/feature/plugin-host

Add plugin host (Phase 1)
This commit is contained in:
Hakan Seven 2026-06-10 00:37:37 +03:00 • committed by GitHub
commit 6a70e99dd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 1264 additions and 20 deletions

View file

@ -28,6 +28,10 @@ impl OpenCADStudio {
return Task::done(Message::OpenPathPicked(Some((path, size))));
}
if crate::plugin::try_dispatch(self, i, cmd) {
return Task::none();
}
match cmd {
"NEW" => return Task::done(Message::TabNew),
"OPEN" => return Task::done(Message::OpenFile),