std::string plugin(plugin::Plugin *plugin, std::string filename="")
Returns the path of an asset in the plugin's dir.
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
Type information for a module.
Definition Model.hpp:34
std::string slug
Must be unique.
Definition Plugin.hpp:32
std::string version
Your plugin's latest version.
Definition Plugin.hpp:36
void addModel(Model *model)
void * handle
OS-dependent library handle.
Definition Plugin.hpp:27
std::string name
Human-readable display name for your plugin.
Definition Plugin.hpp:42
std::list< Model * > models
List of models contained in this plugin.
Definition Plugin.hpp:21
std::string authorUrl
Homepage of the author.
Definition Plugin.hpp:59
std::string description
A one-line summary of the plugin's purpose.
Definition Plugin.hpp:50
std::string path
The file path to the plugin's directory.
Definition Plugin.hpp:24
std::string manualUrl
The manual of your plugin.
Definition Plugin.hpp:65
std::string changelogUrl
Link to the changelog of the plugin.
Definition Plugin.hpp:74
std::string pluginUrl
Homepage featuring the plugin itself.
Definition Plugin.hpp:62
Model * getModel(const std::string &slug)
double modifiedTimestamp
Last modified timestamp of the plugin directory.
Definition Plugin.hpp:77
std::string sourceUrl
The source code homepage.
Definition Plugin.hpp:68
std::string license
The license type of your plugin.
Definition Plugin.hpp:39
void modulesFromJson(json_t *rootJ)
std::string authorEmail
Your email address for support inquiries.
Definition Plugin.hpp:56
void fromJson(json_t *rootJ)
std::string donateUrl
Link to donation page for users who wish to donate.
Definition Plugin.hpp:71
std::string brand
Prefix of each module name in the Module Browser.
Definition Plugin.hpp:46
std::string author
Your name, company, alias, or GitHub username.
Definition Plugin.hpp:53