Browse Source

Fix headless build

tags/22.02
falkTX 4 years ago
parent
commit
036c8a7c26
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/PluginContext.hpp

+ 2
- 0
src/PluginContext.hpp View File

@@ -112,6 +112,7 @@ public:
virtual bool clearMidiOutputDevice(CardinalMidiOutputDevice* dev) noexcept = 0;
};

#ifndef HEADLESS
class CardinalBaseUI : public UI {
public:
CardinalPluginContext* const context;
@@ -123,6 +124,7 @@ public:
saving(false) {}
~CardinalBaseUI() override {}
};
#endif

// -----------------------------------------------------------------------------------------------------------



Loading…
Cancel
Save