2022-02-05 23:34:38 +01:00
|
|
|
// TODO: Once everything is more fleshed out, document the basic usage of this library and
|
|
|
|
// restructure these re-exports into a more useful prelude
|
2022-01-28 14:33:29 +01:00
|
|
|
|
2022-01-26 20:51:34 +01:00
|
|
|
#[macro_use]
|
2022-01-26 11:26:30 +01:00
|
|
|
pub mod debug;
|
2022-02-02 15:12:33 +01:00
|
|
|
|
2022-01-28 14:33:29 +01:00
|
|
|
pub mod formatters;
|
2022-01-26 11:48:40 +01:00
|
|
|
pub mod util;
|
2022-01-26 12:50:30 +01:00
|
|
|
|
|
|
|
// Re-export our derive macros to make this a bit easier to use
|
|
|
|
pub use nih_plug_derive::Params;
|
2022-02-02 15:12:33 +01:00
|
|
|
|
|
|
|
// And also re-export anything you'd need to build a plugin
|
|
|
|
pub use buffer::Buffer;
|
2022-02-05 23:34:38 +01:00
|
|
|
pub use context::{GuiContext, ParamSetter, ProcessContext};
|
2022-02-14 15:30:10 +01:00
|
|
|
pub use param::enums::{Enum, EnumParam};
|
2022-02-02 15:12:33 +01:00
|
|
|
pub use param::internals::Params;
|
|
|
|
pub use param::range::Range;
|
2022-02-02 21:08:23 +01:00
|
|
|
pub use param::smoothing::{Smoother, SmoothingStyle};
|
2022-02-02 15:12:33 +01:00
|
|
|
pub use param::{BoolParam, FloatParam, IntParam, Param};
|
2022-02-05 12:46:26 +01:00
|
|
|
pub use plugin::{
|
2022-02-06 17:12:57 +01:00
|
|
|
BufferConfig, BusConfig, Editor, NoteEvent, ParentWindowHandle, Plugin, ProcessStatus,
|
2022-02-06 00:06:01 +01:00
|
|
|
Vst3Plugin,
|
2022-02-05 12:46:26 +01:00
|
|
|
};
|
2022-02-02 15:12:33 +01:00
|
|
|
|
|
|
|
// The rest is either internal or already re-exported
|
|
|
|
mod buffer;
|
|
|
|
mod context;
|
|
|
|
pub mod param;
|
|
|
|
pub mod plugin;
|
|
|
|
pub mod wrapper;
|