Fixing LV2_SUPPORT #ifdefs

This commit is contained in:
Dobroslav Slavenskoj 2016-12-08 15:37:07 -05:00 committed by Paul Davis
parent 805e40741f
commit 5f0857620e
6 changed files with 12 additions and 4 deletions

View File

@ -37,7 +37,9 @@
#include "ardour/plugin_insert.h"
#include "ardour/record_enable_control.h"
#include "ardour/session.h"
#ifdef LV2_SUPPORT
#include "ardour/uri_map.h"
#endif
#include "ardour/value_as_string.h"
#include "pbd/i18n.h"

View File

@ -34,10 +34,10 @@
#include "ardour/midi_buffer.h"
#include "ardour/port.h"
#include "ardour/port_set.h"
#include "ardour/uri_map.h"
#ifdef LV2_SUPPORT
#include "ardour/lv2_plugin.h"
#include "lv2_evbuf.h"
#include "ardour/uri_map.h"
#endif
#if defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT || defined MACVST_SUPPORT
#include "ardour/vestige/aeffectx.h"

View File

@ -24,7 +24,9 @@
#include "ardour/event_type_map.h"
#include "ardour/parameter_descriptor.h"
#include "ardour/parameter_types.h"
#ifdef LV2_Support
#include "ardour/uri_map.h"
#endif
#include "evoral/Parameter.hpp"
#include "evoral/ParameterDescriptor.hpp"
#include "evoral/midi_events.h"

View File

@ -111,8 +111,9 @@
#include "ardour/runtime_functions.h"
#include "ardour/session_event.h"
#include "ardour/source_factory.h"
#ifdef LV2_SUPPORT
#include "ardour/uri_map.h"
#endif
#include "audiographer/routines.h"
#if defined (__APPLE__)

View File

@ -92,7 +92,9 @@
#include "ardour/filename_extensions.h"
#include "ardour/graph.h"
#include "ardour/location.h"
#ifdef LV2_SUPPORT
#include "ardour/lv2_plugin.h"
#endif
#include "ardour/midi_model.h"
#include "ardour/midi_patch_manager.h"
#include "ardour/midi_region.h"
@ -5225,8 +5227,9 @@ Session::archive_session (const std::string& dest,
/* write session file */
_path = to_dir;
g_mkdir_with_parents (externals_dir ().c_str (), 0755);
#ifdef LV2_SUPPORT
PBD::Unwinder<bool> uw (LV2Plugin::force_state_save, true);
#endif
save_state (name);
save_default_options ();

View File

@ -90,7 +90,7 @@ class /*LIBPBD_API*/ ConfigVariable : public ConfigVariableBase
};
/** Specialisation of ConfigVariable to deal with float (-inf etc) */
template<> LIBPBD_API void
template<> void
ConfigVariable<float>::set_from_string (std::string const & s);
/** Specialisation of ConfigVariable for std::string to cope with whitespace properly */