Build fixes
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
5b7e5336c6
commit
fec9aef939
11 changed files with 36 additions and 57 deletions
|
|
@ -20,22 +20,16 @@
|
|||
#include "plugin.hpp"
|
||||
#include "DistrhoUtils.hpp"
|
||||
|
||||
#ifndef HEADLESS
|
||||
# include "../dgl/Base.hpp"
|
||||
#else
|
||||
# include "extra/LeakDetector.hpp"
|
||||
#endif
|
||||
#include "../dgl/Base.hpp"
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------------
|
||||
// from PluginContext.hpp
|
||||
|
||||
#ifndef HEADLESS
|
||||
START_NAMESPACE_DGL
|
||||
class TopLevelWidget;
|
||||
template <class BaseWidget> class NanoBaseWidget;
|
||||
typedef NanoBaseWidget<TopLevelWidget> NanoTopLevelWidget;
|
||||
END_NAMESPACE_DGL
|
||||
#endif
|
||||
|
||||
START_NAMESPACE_DISTRHO
|
||||
|
||||
|
|
@ -76,10 +70,8 @@ struct CardinalPluginContext : rack::Context {
|
|||
const MidiEvent* midiEvents;
|
||||
uint32_t midiEventCount;
|
||||
Plugin* const plugin;
|
||||
#ifndef HEADLESS
|
||||
DGL_NAMESPACE::NanoTopLevelWidget* tlw;
|
||||
UI* ui;
|
||||
#endif
|
||||
CardinalPluginContext(Plugin* const p);
|
||||
void writeMidiMessage(const rack::midi::Message& message, uint8_t channel);
|
||||
#ifndef HEADLESS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue