Browse Source

Fix headless build

Signed-off-by: falkTX <falktx@falktx.com>
tags/24.09
falkTX 9 months ago
parent
commit
c36ba1f99c
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 10 additions and 5 deletions
  1. +10
    -5
      include/plugincontext.hpp

+ 10
- 5
include/plugincontext.hpp View File

@@ -20,12 +20,7 @@ struct Message;
// Base DISTRHO classes // Base DISTRHO classes


#ifndef DISTRHO_DETAILS_HPP_INCLUDED #ifndef DISTRHO_DETAILS_HPP_INCLUDED

namespace CardinalDISTRHO { namespace CardinalDISTRHO {

class Plugin;
class UI;

struct MidiEvent { struct MidiEvent {
static const uint32_t kDataSize = 4; static const uint32_t kDataSize = 4;
uint32_t frame; uint32_t frame;
@@ -33,9 +28,19 @@ struct MidiEvent {
uint8_t data[kDataSize]; uint8_t data[kDataSize];
const uint8_t* dataExt; const uint8_t* dataExt;
}; };
}
#endif


#ifndef DISTRHO_PLUGIN_HPP_INCLUDED
namespace CardinalDISTRHO {
class Plugin;
} }
#endif


#ifndef DISTRHO_UI_HPP_INCLUDED
namespace CardinalDISTRHO {
class UI;
}
#endif #endif


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


Loading…
Cancel
Save