VCV Rack API v2
|
#include <vector>
#include <set>
#include <map>
#include <list>
#include <tuple>
#include <jansson.h>
#include <common.hpp>
#include <math.hpp>
#include <color.hpp>
Go to the source code of this file.
Classes | |
struct | rack::settings::ModuleInfo |
struct | rack::settings::PluginWhitelist |
The VCV JSON API returns the data structure {pluginSlug: [moduleSlugs] or true} where "true" represents that the user is subscribed to the plugin (all modules and future modules). More... | |
Namespaces | |
namespace | rack |
Root namespace for the Rack API. | |
namespace | rack::settings |
Process-scope globals, most of which are persisted across launches. | |
Functions | |
ModuleInfo * | rack::settings::getModuleInfo (const std::string &pluginSlug, const std::string &moduleSlug) |
Returns a ModuleInfo if exists for the given slugs. | |
bool | rack::settings::isModuleWhitelisted (const std::string &pluginSlug, const std::string &moduleSlug) |
void | rack::settings::resetCables () |
PRIVATE void | rack::settings::init () |
PRIVATE void | rack::settings::destroy () |
PRIVATE json_t * | rack::settings::toJson () |
PRIVATE void | rack::settings::fromJson (json_t *rootJ) |
PRIVATE void | rack::settings::save (std::string path="") |
PRIVATE void | rack::settings::load (std::string path="") |