Allow wasm fetch patchstorage thigns, set system factory template

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-07-09 00:17:07 +01:00
parent e389ca7469
commit 3af971534c
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
7 changed files with 248 additions and 38 deletions

View file

@ -25,6 +25,10 @@
# define REMOTE_HOST_PORT "2228"
#endif
#ifdef DISTRHO_OS_WASM
# define CARDINAL_IMPORTED_TEMPLATE_FILENAME "/imported.vcv"
#endif
extern const std::string CARDINAL_VERSION;
namespace rack {
@ -53,6 +57,10 @@ enum SpecialPath {
std::string getSpecialPath(SpecialPath type);
#endif
#ifdef DISTRHO_OS_WASM
extern char* patchStorageSlug;
#endif
} // namespace rack
namespace patchUtils {