Skip to content

Commit

Permalink
Use header definitions if avail
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Sep 14, 2018
1 parent a5a9a15 commit 892356e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 0 additions & 8 deletions plugins/carlabase/carla.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,6 @@ static const char* host_ui_save_file(NativeHostHandle, bool isDir, const char* t

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

CARLA_EXPORT
const NativePluginDescriptor* carla_get_native_patchbay_plugin();

CARLA_EXPORT
const NativePluginDescriptor* carla_get_native_rack_plugin();

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

CarlaInstrument::CarlaInstrument(InstrumentTrack* const instrumentTrack, const Descriptor* const descriptor, const bool isPatchbay)
: Instrument(instrumentTrack, descriptor),
kIsPatchbay(isPatchbay),
Expand Down
5 changes: 5 additions & 0 deletions plugins/carlabase/carla.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
#include "CarlaNativePlugin.h"
#else
#include "CarlaNative.h"
CARLA_EXPORT
const NativePluginDescriptor* carla_get_native_patchbay_plugin();

CARLA_EXPORT
const NativePluginDescriptor* carla_get_native_rack_plugin();
#endif

#include "Instrument.h"
Expand Down

0 comments on commit 892356e

Please sign in to comment.