Move code related to push-to-remote into a central file
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
cebb66f290
commit
b71acc9f22
15 changed files with 278 additions and 211 deletions
|
|
@ -274,14 +274,15 @@ public:
|
|||
}
|
||||
|
||||
#ifdef CARDINAL_INIT_OSC_THREAD
|
||||
fInitializer->oscPlugin = this;
|
||||
fInitializer->remotePluginInstance = this;
|
||||
#endif
|
||||
}
|
||||
|
||||
~CardinalPlugin() override
|
||||
{
|
||||
#ifdef CARDINAL_INIT_OSC_THREAD
|
||||
fInitializer->oscPlugin = nullptr;
|
||||
if (fInitializer->remotePluginInstance == this)
|
||||
fInitializer->remotePluginInstance = nullptr;
|
||||
#endif
|
||||
|
||||
{
|
||||
|
|
@ -844,9 +845,6 @@ protected:
|
|||
if (std::strcmp(key, "screenshot") == 0)
|
||||
{
|
||||
fState.screenshot = value;
|
||||
#if defined(HAVE_LIBLO) && !defined(HEADLESS)
|
||||
patchUtils::sendScreenshotToRemote(value);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue