1
0
Fork 0
nih-plug/src/prelude.rs
2022-07-06 14:38:08 +02:00

29 lines
1.2 KiB
Rust

// Re-export the macros, derive macros are already re-exported ferom their respectivem odules
pub use crate::debug::*;
pub use crate::nih_export_clap;
#[cfg(feature = "vst3")]
pub use crate::nih_export_vst3;
#[cfg(feature = "standalone")]
pub use crate::wrapper::standalone::{nih_export_standalone, nih_export_standalone_with_args};
pub use crate::formatters;
pub use crate::util;
pub use crate::buffer::Buffer;
pub use crate::context::{GuiContext, InitContext, ParamSetter, PluginApi, 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::{Smoothable, Smoother, SmoothingStyle};
pub use crate::param::{BoolParam, FloatParam, IntParam, Param, ParamFlags};
pub use crate::plugin::{
AuxiliaryBuffers, AuxiliaryIOConfig, BufferConfig, BusConfig, ClapPlugin, Editor,
ParentWindowHandle, Plugin, PolyModulationConfig, PortNames, ProcessMode, ProcessStatus,
Vst3Plugin,
};
pub use crate::wrapper::clap::features::ClapFeature;
pub use crate::wrapper::state::PluginState;