Make header files more self-contained - add missing Ardour and lib includes
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
|
||||
#include <boost/operators.hpp>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "ardour/buffer_set.h"
|
||||
#include "ardour/chan_mapping.h"
|
||||
#include "ardour/readable.h"
|
||||
#include "ardour/session_handle.h"
|
||||
|
||||
namespace ARDOUR { namespace DSP {
|
||||
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include "pbd/fastlog.h"
|
||||
#include <glibmm/threads.h>
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <glibmm/threads.h>
|
||||
|
||||
#include "ardour/midi_port.h"
|
||||
#include "ardour/scene_changer.h"
|
||||
|
||||
namespace ARDOUR
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include "pbd/abstract_ui.h"
|
||||
#include "pbd/signals.h"
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
class Session;
|
||||
|
||||
@@ -19,16 +19,13 @@
|
||||
#ifndef _libardour_mixer_scene_h_
|
||||
#define _libardour_mixer_scene_h_
|
||||
|
||||
#include "pbd/controllable.h"
|
||||
#include "pbd/stateful.h"
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
#include "ardour/session_handle.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
namespace PBD {
|
||||
class Controllable;
|
||||
}
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
class LIBARDOUR_API MixerScene : public SessionHandleRef, public PBD::Stateful
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "zita-resampler/vmresampler.h"
|
||||
|
||||
#include "pbd/rcu.h"
|
||||
#include <pbd/signals.h>
|
||||
|
||||
#include "ardour/audio_buffer.h"
|
||||
#include "ardour/port_engine.h"
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
class LIBARDOUR_API Movable {
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
#include "evoral/Parameter.h"
|
||||
#include "pbd/cartesian.h"
|
||||
#include "temporal/domain_provider.h"
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
@@ -28,7 +28,7 @@ static inline float
|
||||
default_compute_peak (const ARDOUR::Sample * const buf, ARDOUR::pframes_t nsamples, float current)
|
||||
{
|
||||
for (ARDOUR::pframes_t i = 0; i < nsamples; ++i) {
|
||||
current = f_max (current, fabsf (buf[i]));
|
||||
current = ARDOUR::f_max (current, fabsf (buf[i]));
|
||||
}
|
||||
return current;
|
||||
}
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include <functional>
|
||||
|
||||
#include "pbd/controllable.h"
|
||||
|
||||
#include "ardour/dB.h"
|
||||
#include "ardour/libardour_visibility.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
|
||||
#include <glibmm/threads.h>
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
#include "temporal/domain_swap.h"
|
||||
|
||||
#include "pbd/signals.h"
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include <boost/intrusive/list.hpp>
|
||||
#include <boost/rational.hpp>
|
||||
|
||||
#include <glibmm/threads.h>
|
||||
|
||||
@@ -38,6 +39,8 @@
|
||||
#include "ardour/midi_state_tracker.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
#include "midi++/types.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
class MidiBuffer;
|
||||
@@ -299,7 +302,7 @@ class StepSequencer : public PBD::Stateful
|
||||
size_t start_step;
|
||||
size_t end_step;
|
||||
|
||||
static MultiAllocSingleReleasePool pool;
|
||||
static PBD::MultiAllocSingleReleasePool pool;
|
||||
|
||||
void *operator new (size_t) {
|
||||
return pool.alloc ();
|
||||
@@ -322,7 +325,7 @@ class StepSequencer : public PBD::Stateful
|
||||
Temporal::Beats when;
|
||||
uint8_t buf[3];
|
||||
|
||||
static Pool pool;
|
||||
static PBD::Pool pool;
|
||||
|
||||
void *operator new (size_t) {
|
||||
return pool.alloc ();
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "pbd/demangle.h"
|
||||
#include "pbd/pool.h"
|
||||
|
||||
#include "ardour/debug.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ardour/libardour_visibility.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
class LIBARDOUR_API Trimmable {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
||||
#include "glibmm/threads.h"
|
||||
#include <glibmm/threadpool.h>
|
||||
#include <glibmm/timeval.h>
|
||||
#include <sigc++/slot.h>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <pthread.h>
|
||||
|
||||
#include "pbd/ringbuffer.h"
|
||||
#include "pbd/signals.h"
|
||||
|
||||
#include "zita-resampler/vresampler.h"
|
||||
#include "zita-alsa-pcmi.h"
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
|
||||
#include <cairomm/cairomm.h>
|
||||
|
||||
#include "pbd/search_path.h"
|
||||
|
||||
#include "canvas/item.h"
|
||||
|
||||
class XMLNode;
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "smf.h"
|
||||
|
||||
//#include "config.h"
|
||||
//#define SMF_VERSION PACKAGE_VERSION
|
||||
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
|
||||
#include <gtkmm/window.h>
|
||||
#include <gtkmm/box.h>
|
||||
#include <gtkmm/eventbox.h>
|
||||
#include <gtkmm/label.h>
|
||||
|
||||
#include "gtkmm2ext/visibility.h"
|
||||
#include "gtkmm2ext/widget_state.h"
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
#include "gtkmm2ext/visibility.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
namespace Gtk {
|
||||
class Widget;
|
||||
}
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
#include <gdk/gdkevents.h>
|
||||
|
||||
#include "gtkmm2ext/visibility.h"
|
||||
#include "gtkmm2ext/visibility_tracker.h"
|
||||
|
||||
#include <sigc++/trackable.h>
|
||||
|
||||
namespace Gtk {
|
||||
class Window;
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
#include "pbd/statefuldestructible.h"
|
||||
|
||||
#include <gtkmm/action.h>
|
||||
|
||||
#include "gtkmm2ext/visibility.h"
|
||||
|
||||
namespace Gtk {
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#ifndef PBD_ATOMIC_COUNTER_H
|
||||
#define PBD_ATOMIC_COUNTER_H
|
||||
|
||||
#include "pbd/atomic.h"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "pbd/property_basics.h"
|
||||
|
||||
namespace PBD {
|
||||
|
||||
template<typename T>
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
namespace PBD {
|
||||
|
||||
struct ScopedFileDescriptor {
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "pbd/signals.h"
|
||||
#include "canvas/container.h"
|
||||
#include "canvas/rectangle.h"
|
||||
|
||||
namespace ArdourCanvas {
|
||||
class Text;
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
#ifndef __osc_osccueobserver_h__
|
||||
#define __osc_osccueobserver_h__
|
||||
|
||||
#include "osc.h"
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
#ifndef __osc_oscglobalobserver_h__
|
||||
#define __osc_oscglobalobserver_h__
|
||||
|
||||
#include "osc.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
@@ -27,6 +29,9 @@
|
||||
|
||||
#include "pbd/controllable.h"
|
||||
#include "pbd/stateful.h"
|
||||
|
||||
#include "ardour/route_group.h"
|
||||
#include "ardour/session.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
class OSCGlobalObserver
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
#ifndef osc_gui_h
|
||||
#define osc_gui_h
|
||||
|
||||
#include <gtkmm/comboboxtext.h>
|
||||
#include <gtkmm/label.h>
|
||||
#include <gtkmm/notebook.h>
|
||||
#include <gtkmm/spinbutton.h>
|
||||
|
||||
#include "osc.h"
|
||||
|
||||
|
||||
@@ -28,8 +28,10 @@
|
||||
|
||||
#include "pbd/controllable.h"
|
||||
#include "pbd/stateful.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
#include "ardour/processor.h"
|
||||
#include "ardour/route_group.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
#include "osc.h"
|
||||
|
||||
|
||||
@@ -25,8 +25,12 @@
|
||||
* correctly.
|
||||
*/
|
||||
|
||||
#include "ardour/triggerbox.h"
|
||||
|
||||
#include "canvas/rectangle.h"
|
||||
|
||||
#include <pangomm/fontdescription.h>
|
||||
|
||||
namespace ArdourCanvas {
|
||||
|
||||
class FollowActionIcon : public ArdourCanvas::Rectangle
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
#include "canvas/container.h"
|
||||
#include "canvas/meter.h"
|
||||
|
||||
#include "ardour/chan_count.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
class PeakMeter;
|
||||
}
|
||||
|
||||
@@ -22,9 +22,11 @@
|
||||
#include <vector>
|
||||
|
||||
#include "layout.h"
|
||||
#include "push2.h"
|
||||
|
||||
namespace ArdourCanvas {
|
||||
class Rectangle;
|
||||
class Text;
|
||||
}
|
||||
|
||||
namespace ArdourSurface {
|
||||
|
||||
@@ -21,7 +21,10 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "pbd/property_basics.h"
|
||||
|
||||
#include "layout.h"
|
||||
#include "push2.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
class Stripable;
|
||||
|
||||
@@ -20,9 +20,11 @@
|
||||
#include <vector>
|
||||
|
||||
#include <gtkmm/combobox.h>
|
||||
#include <gtkmm/comboboxtext.h>
|
||||
#include <gtkmm/box.h>
|
||||
#include <gtkmm/spinbutton.h>
|
||||
#include <gtkmm/table.h>
|
||||
#include <gtkmm/treestore.h>
|
||||
#include <gtkmm/treeview.h>
|
||||
#include <gtkmm/liststore.h>
|
||||
#include <gtkmm/notebook.h>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <midi++/types.h>
|
||||
|
||||
#include "pbd/signals.h"
|
||||
#include "pbd/xml++.h"
|
||||
|
||||
|
||||
#include "midi_byte_array.h"
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
#ifndef timer_h
|
||||
#define timer_h
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
|
||||
#include "pbd/signals.h"
|
||||
|
||||
#include "gdk/gdkevents.h"
|
||||
|
||||
#include "widgets/visibility.h"
|
||||
|
||||
namespace PBD {
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
|
||||
#include "zita-convolver/zconvolver_visibility.h"
|
||||
|
||||
#if defined(__linux__) || defined(__GNU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(PTW32_VERSION) || defined(__WINPTHREADS_VERSION)
|
||||
#include <semaphore.h>
|
||||
#endif
|
||||
|
||||
namespace ArdourZita {
|
||||
|
||||
#ifdef ZCSEMA_IS_IMPLEMENTED
|
||||
@@ -36,8 +40,6 @@ namespace ArdourZita {
|
||||
/* note: mingw and msvc actually use PTW32's implementation of semaphores */
|
||||
#if defined(__linux__) || defined(__GNU__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(PTW32_VERSION) || defined (__WINPTHREADS_VERSION)
|
||||
|
||||
#include <semaphore.h>
|
||||
|
||||
class LIBZCONVOLVER_API ZCsema
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user