forked from 1b-agent/opencadstudio-upstream
first commit
This commit is contained in:
1 parent
d52c6440ff
commit
d2fdac7f1e
274 files changed
+89330
No files matched your search
@@ -0,0 +1,17 @@
|
||||
// AUTO-GENERATED by build.rs — do not edit by hand.
|
||||
// To add a module: create src/modules/my_name/mod.rs + add `pub mod my_name;` to modules/mod.rs.
|
||||
|
||||
use crate::modules::CadModule;
|
||||
|
||||
/// Returns one boxed instance of every registered CAD module.
|
||||
/// Called once at startup by `Ribbon::new()`.
|
||||
pub fn all_modules() -> Vec<Box<dyn CadModule>> {
|
||||
vec![
|
||||
Box::new(super::home::HomeModule),
|
||||
Box::new(super::annotate::AnnotateModule),
|
||||
Box::new(super::insert::InsertModule),
|
||||
Box::new(super::view::ViewModule),
|
||||
Box::new(super::manage::ManageModule),
|
||||
Box::new(super::layout::LayoutModule),
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user