1
0
Fork 0
nih-plug/src/prelude.rs
Robbert van der Helm 8eaecb6e5c Add a way to completely exclude the vst3-sys dep
Because technically you might still include GPL'd symbols even if you
wouldn't use the `nih_export_vst3!()` macro.
2022-04-15 16:14:42 +02:00

29 lines
1 KiB
Rust

// Re-export the macros, derive macros are already re-exported ferom their respectivem odules
pub use crate::nih_debug_assert;
pub use crate::nih_debug_assert_eq;
pub use crate::nih_debug_assert_failure;
pub use crate::nih_debug_assert_ne;
pub use crate::nih_export_clap;
pub use crate::nih_log;
#[cfg(feature = "vst3")]
pub use crate::nih_export_vst3;
pub use crate::formatters;
pub use crate::util;
pub use crate::buffer::Buffer;
pub use crate::context::{GuiContext, ParamSetter, ProcessContext};
// This also includes the derive macro
pub use crate::midi::{control_change, MidiConfig, NoteEvent};
pub use crate::param::enums::{Enum, EnumParam};
pub use crate::param::internals::{ParamPtr, Params};
pub use crate::param::range::{FloatRange, IntRange};
pub use crate::param::smoothing::{Smoother, SmoothingStyle};
pub use crate::param::{BoolParam, FloatParam, IntParam, Param, ParamFlags};
pub use crate::plugin::{
BufferConfig, BusConfig, ClapPlugin, Editor, ParentWindowHandle, Plugin, ProcessStatus,
Vst3Plugin,
};
pub use crate::wrapper::state::PluginState;