Move all liblo stuff to the same file, add crude auto-deploy mode

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-01-24 11:28:23 +00:00
parent 31c108c9ae
commit e29243af60
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
7 changed files with 347 additions and 175 deletions

View file

@ -25,8 +25,7 @@
# define REMOTE_HOST_PORT "2228"
#endif
namespace rack
{
namespace rack {
namespace settings {
extern int rateLimit;
@ -36,10 +35,9 @@ namespace ui {
struct Menu;
}
}
} // namespace rack
namespace patchUtils
{
namespace patchUtils {
void loadDialog();
void loadPathDialog(const std::string& path);
@ -49,6 +47,11 @@ void revertDialog();
void saveDialog(const std::string& path);
void saveAsDialog();
void appendSelectionContextMenu(rack::ui::Menu* menu);
void deployToMOD();
}
bool connectToRemote();
bool isRemoteConnected();
bool isRemoteAutoDeployed();
void setRemoteAutoDeploy(bool autoDeploy);
void deployToRemote();
} // namespace patchUtils