Allow wasm fetch patchstorage thigns, set system factory template
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
e389ca7469
commit
3af971534c
7 changed files with 248 additions and 38 deletions
|
@ -122,10 +122,6 @@ void handleHostParameterDrag(const CardinalPluginContext* pcontext, uint index,
|
|||
|
||||
// -----------------------------------------------------------------------------------------------------------
|
||||
|
||||
struct CardinalAudioDevice;
|
||||
struct CardinalMidiInputDevice;
|
||||
struct CardinalMidiOutputDevice;
|
||||
|
||||
CardinalPluginContext* getRackContextFromPlugin(void* ptr);
|
||||
|
||||
class CardinalBasePlugin : public Plugin {
|
||||
|
@ -139,12 +135,18 @@ public:
|
|||
};
|
||||
|
||||
#ifndef HEADLESS
|
||||
struct WasmPatchStorageLoadingDialog;
|
||||
|
||||
class CardinalBaseUI : public UI {
|
||||
public:
|
||||
CardinalPluginContext* const context;
|
||||
bool saving;
|
||||
bool savingUncompressed;
|
||||
|
||||
#ifdef DISTRHO_OS_WASM
|
||||
WasmPatchStorageLoadingDialog* psDialog;
|
||||
#endif
|
||||
|
||||
// for 3rd party modules
|
||||
std::function<void(char* path)> filebrowseraction;
|
||||
FileBrowserHandle filebrowserhandle;
|
||||
|
@ -154,6 +156,9 @@ public:
|
|||
context(getRackContextFromPlugin(getPluginInstancePointer())),
|
||||
saving(false),
|
||||
savingUncompressed(false),
|
||||
#ifdef DISTRHO_OS_WASM
|
||||
psDialog(nullptr),
|
||||
#endif
|
||||
filebrowseraction(),
|
||||
filebrowserhandle(nullptr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue