2026-06-17 11:31:05 +03:00
|
|
|
use crate::plugin::host::HostApi;
|
2026-06-09 13:41:21 -04:00
|
|
|
|
|
|
|
|
use super::manifest::PLUGIN_ID;
|
|
|
|
|
|
2026-06-17 11:31:05 +03:00
|
|
|
pub fn handle(host: &mut dyn HostApi, cmd: &str) -> bool {
|
2026-06-09 13:41:21 -04:00
|
|
|
let _ = (host, PLUGIN_ID);
|
|
|
|
|
match cmd {
|
|
|
|
|
"MP_HELLO" => {
|
|
|
|
|
host.push_info("Hello from my_plugin");
|
|
|
|
|
true
|
|
|
|
|
}
|
|
|
|
|
_ => false,
|
|
|
|
|
}
|
|
|
|
|
}
|