VCV Rack API v2
rack::library Namespace Reference

Synchronizes plugins with the VCV Library and handles VCV accounts with the vcvrack.com API. More...

Classes

struct  UpdateInfo
 

Functions

PRIVATE void init ()
 
PRIVATE void destroy ()
 
PRIVATE void checkAppUpdate ()
 
bool isAppUpdateAvailable ()
 
bool isLoggedIn ()
 
PRIVATE void logIn (std::string email, std::string password)
 
PRIVATE void logOut ()
 
PRIVATE void checkUpdates ()
 
PRIVATE bool hasUpdates ()
 
PRIVATE void syncUpdate (std::string slug)
 
PRIVATE void syncUpdates ()
 

Variables

std::string appVersion
 
std::string appDownloadUrl
 
std::string appChangelogUrl
 
std::string loginStatus
 
std::map< std::string, UpdateInfoupdateInfos
 
std::string updateStatus
 
std::string updateSlug
 
float updateProgress
 
bool isSyncing
 Whether plugins are currently downloading. More...
 
bool restartRequested
 Whether the UI should ask the user to restart after updating plugins. More...
 
bool refreshRequested
 Whether the UI should refresh the plugin updates menu. More...
 

Detailed Description

Synchronizes plugins with the VCV Library and handles VCV accounts with the vcvrack.com API.

Function Documentation

◆ init()

PRIVATE void rack::library::init ( )

◆ destroy()

PRIVATE void rack::library::destroy ( )

◆ checkAppUpdate()

PRIVATE void rack::library::checkAppUpdate ( )

◆ isAppUpdateAvailable()

bool rack::library::isAppUpdateAvailable ( )

◆ isLoggedIn()

bool rack::library::isLoggedIn ( )

◆ logIn()

PRIVATE void rack::library::logIn ( std::string  email,
std::string  password 
)

◆ logOut()

PRIVATE void rack::library::logOut ( )

◆ checkUpdates()

PRIVATE void rack::library::checkUpdates ( )

◆ hasUpdates()

PRIVATE bool rack::library::hasUpdates ( )

◆ syncUpdate()

PRIVATE void rack::library::syncUpdate ( std::string  slug)

◆ syncUpdates()

PRIVATE void rack::library::syncUpdates ( )

Variable Documentation

◆ appVersion

std::string rack::library::appVersion
extern

◆ appDownloadUrl

std::string rack::library::appDownloadUrl
extern

◆ appChangelogUrl

std::string rack::library::appChangelogUrl
extern

◆ loginStatus

std::string rack::library::loginStatus
extern

◆ updateInfos

std::map<std::string, UpdateInfo> rack::library::updateInfos
extern

◆ updateStatus

std::string rack::library::updateStatus
extern

◆ updateSlug

std::string rack::library::updateSlug
extern

◆ updateProgress

float rack::library::updateProgress
extern

◆ isSyncing

bool rack::library::isSyncing
extern

Whether plugins are currently downloading.

◆ restartRequested

bool rack::library::restartRequested
extern

Whether the UI should ask the user to restart after updating plugins.

◆ refreshRequested

bool rack::library::refreshRequested
extern

Whether the UI should refresh the plugin updates menu.