Add a version string constant
This commit is contained in:
parent
0a67c8e5f4
commit
9046cfbe3a
|
@ -66,6 +66,7 @@ impl Plugin for Gain {
|
|||
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
|
||||
const EMAIL: &'static str = "info@example.com";
|
||||
|
||||
const VERSION: &'static str = "0.0.1";
|
||||
const VST3_CATEGORIES: &'static str = "Fx|Dynamics";
|
||||
|
||||
const DEFAULT_NUM_INPUTS: u32 = 2;
|
||||
|
|
|
@ -42,6 +42,9 @@ pub trait Plugin: Default + Sync {
|
|||
const URL: &'static str;
|
||||
const EMAIL: &'static str;
|
||||
|
||||
/// Semver compatible version string (e.g. `0.0.1`). Hosts likely won't do anything with this,
|
||||
/// but just in case they do this should only contain decimals values and dots.
|
||||
const VERSION: &'static str;
|
||||
/// One or more categories, separated by pipe characters (`|`), up to 127 characters. Anything
|
||||
/// logner than that will be truncated. See the VST3 SDK for examples of common categories:
|
||||
/// https://github.com/steinbergmedia/vst3_pluginterfaces/blob/2ad397ade5b51007860bedb3b01b8afd2c5f6fba/vst/ivstaudioprocessor.h#L49-L90
|
||||
|
|
Loading…
Reference in a new issue