exec .zenshell files + shell extensions
Co-authored-by: Tristan Poland (Trident_For_U) <tristanpoland@users.noreply.github.com>
This commit is contained in:
parent
acf22483a8
commit
7adf770d54
16 changed files with 494 additions and 37 deletions
18
plugin_api/src/plugin_imports.rs
Normal file
18
plugin_api/src/plugin_imports.rs
Normal file
|
@ -0,0 +1,18 @@
|
|||
// This file is automatically generated by build.rs
|
||||
// Do not edit this file manually!
|
||||
|
||||
use horizon_plugin_api::{Pluginstate, LoadedPlugin, Plugin};
|
||||
use std::collections::HashMap;
|
||||
|
||||
pub use player_lib;
|
||||
pub use player_lib::*;
|
||||
pub use player_lib::Plugin as player_lib_plugin;
|
||||
|
||||
|
||||
// Invoke the macro with all discovered plugins
|
||||
pub fn load_plugins() -> HashMap<String, (Pluginstate, Plugin)> {
|
||||
let plugins = crate::load_plugins!(
|
||||
player_lib
|
||||
);
|
||||
plugins
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue