-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Cazdotsys <[email protected]>
- Loading branch information
1 parent
6bd4d96
commit 4b34e44
Showing
3 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// 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 chronos_plugin; | ||
pub use chronos_plugin::*; | ||
pub use chronos_plugin::Plugin as chronos_plugin_plugin; | ||
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!( | ||
chronos_plugin, | ||
player_lib | ||
); | ||
plugins | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters