Fix C++98 compat: class-key must be used when declaring a friend
This commit is contained in:
parent
6ddeaa273a
commit
45d3d5d465
@ -57,7 +57,6 @@ class Pannable;
|
|||||||
class BufferSet;
|
class BufferSet;
|
||||||
class AudioBuffer;
|
class AudioBuffer;
|
||||||
class Speakers;
|
class Speakers;
|
||||||
class PanControllable;
|
|
||||||
|
|
||||||
class LIBARDOUR_API Panner : public PBD::Stateful, public PBD::ScopedConnectionList
|
class LIBARDOUR_API Panner : public PBD::Stateful, public PBD::ScopedConnectionList
|
||||||
{
|
{
|
||||||
@ -136,25 +135,21 @@ public:
|
|||||||
virtual void freeze ();
|
virtual void freeze ();
|
||||||
virtual void thaw ();
|
virtual void thaw ();
|
||||||
|
|
||||||
protected:
|
|
||||||
friend PanControllable;
|
|
||||||
friend Pannable; // allow what_can_be_automated
|
|
||||||
|
|
||||||
boost::shared_ptr<Pannable> _pannable;
|
|
||||||
|
|
||||||
std::set<Evoral::Parameter> _can_automate_list;
|
|
||||||
|
|
||||||
const std::set<Evoral::Parameter>& what_can_be_automated() const {
|
const std::set<Evoral::Parameter>& what_can_be_automated() const {
|
||||||
return _can_automate_list;
|
return _can_automate_list;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual std::string value_as_string (boost::shared_ptr<const AutomationControl>) const = 0;
|
virtual std::string value_as_string (boost::shared_ptr<const AutomationControl>) const = 0;
|
||||||
|
|
||||||
|
protected:
|
||||||
virtual void distribute_one (AudioBuffer&, BufferSet& obufs, gain_t gain_coeff, pframes_t nframes, uint32_t which) = 0;
|
virtual void distribute_one (AudioBuffer&, BufferSet& obufs, gain_t gain_coeff, pframes_t nframes, uint32_t which) = 0;
|
||||||
virtual void distribute_one_automated (AudioBuffer&, BufferSet& obufs,
|
virtual void distribute_one_automated (AudioBuffer&, BufferSet& obufs,
|
||||||
samplepos_t start, samplepos_t end, pframes_t nframes,
|
samplepos_t start, samplepos_t end, pframes_t nframes,
|
||||||
pan_t** buffers, uint32_t which) = 0;
|
pan_t** buffers, uint32_t which) = 0;
|
||||||
|
|
||||||
|
boost::shared_ptr<Pannable> _pannable;
|
||||||
|
std::set<Evoral::Parameter> _can_automate_list;
|
||||||
|
|
||||||
int32_t _frozen;
|
int32_t _frozen;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user