mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-07-07 18:47:45 +02:00
feat: Add dynamic checks for supported plugins
This commit is contained in:
parent
5c7bdd6889
commit
ebbd226676
2 changed files with 15 additions and 3 deletions
|
@ -15,7 +15,7 @@ pub const INTERFACE: &str = "org.Xetibo.ReSet.TestPlugin";
|
|||
#[allow(improper_ctypes_definitions)]
|
||||
pub extern "C" fn capabilities() -> PluginCapabilities {
|
||||
println!("frontend capabilities called");
|
||||
PluginCapabilities::new(vec!["frontend test"], PluginImplementation::Frontend)
|
||||
PluginCapabilities::new(vec!["test"], PluginImplementation::Frontend)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
@ -81,4 +81,4 @@ pub struct LabelWrapper {
|
|||
|
||||
unsafe impl Send for LabelWrapper {}
|
||||
|
||||
unsafe impl Sync for LabelWrapper {}
|
||||
unsafe impl Sync for LabelWrapper {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue