diff --git a/src/sandbox/component.rs b/src/sandbox/component.rs index 1cfffc0..bed1863 100644 --- a/src/sandbox/component.rs +++ b/src/sandbox/component.rs @@ -123,3 +123,19 @@ impl From for ComponentBuilder<'static> { peg.build() } } + +pub struct Buffer { + _private: (), +} + +impl Buffer { + pub fn new() -> Self { + Self { _private: () } + } + + pub fn build(self) -> ComponentBuilder<'static> { + ComponentBuilder::new("MHG.Buffer_WithOutput") + .num_inputs(1) + .num_outputs(1) + } +}