mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Constification: make Stateful::get_state() const, with all other required const-ness added (libs)
This commit is contained in:
parent
9e69c0d184
commit
7bf89ce109
233 changed files with 476 additions and 460 deletions
|
|
@ -330,7 +330,7 @@ Panner1in2out::factory (boost::shared_ptr<Pannable> p, boost::shared_ptr<Speaker
|
|||
}
|
||||
|
||||
XMLNode&
|
||||
Panner1in2out::get_state ()
|
||||
Panner1in2out::get_state () const
|
||||
{
|
||||
XMLNode& root (Panner::get_state ());
|
||||
root.set_property (X_ ("uri"), _descriptor.panner_uri);
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ public:
|
|||
|
||||
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
|
||||
|
||||
XMLNode& get_state ();
|
||||
XMLNode& get_state () const;
|
||||
|
||||
void reset ();
|
||||
|
||||
|
|
|
|||
|
|
@ -475,7 +475,7 @@ Panner2in2out::factory (boost::shared_ptr<Pannable> p, boost::shared_ptr<Speaker
|
|||
}
|
||||
|
||||
XMLNode&
|
||||
Panner2in2out::get_state ()
|
||||
Panner2in2out::get_state () const
|
||||
{
|
||||
XMLNode& root (Panner::get_state ());
|
||||
root.set_property (X_ ("uri"), _descriptor.panner_uri);
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ public:
|
|||
|
||||
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
|
||||
|
||||
XMLNode& get_state ();
|
||||
XMLNode& get_state () const;
|
||||
|
||||
void update ();
|
||||
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ Pannerbalance::factory (boost::shared_ptr<Pannable> p, boost::shared_ptr<Speaker
|
|||
}
|
||||
|
||||
XMLNode&
|
||||
Pannerbalance::get_state ()
|
||||
Pannerbalance::get_state () const
|
||||
{
|
||||
XMLNode& root (Panner::get_state ());
|
||||
root.set_property (X_ ("uri"), _descriptor.panner_uri);
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ public:
|
|||
|
||||
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
|
||||
|
||||
XMLNode& get_state ();
|
||||
XMLNode& get_state () const;
|
||||
|
||||
void reset ();
|
||||
void thaw ();
|
||||
|
|
|
|||
|
|
@ -365,7 +365,7 @@ VBAPanner::distribute_one_automated (AudioBuffer& /*src*/, BufferSet& /*obufs*/,
|
|||
}
|
||||
|
||||
XMLNode&
|
||||
VBAPanner::get_state ()
|
||||
VBAPanner::get_state () const
|
||||
{
|
||||
XMLNode& node (Panner::get_state ());
|
||||
node.set_property (X_ ("uri"), _descriptor.panner_uri);
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ public:
|
|||
|
||||
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
|
||||
|
||||
XMLNode& get_state ();
|
||||
XMLNode& get_state () const;
|
||||
|
||||
PBD::AngularVector signal_position (uint32_t n) const;
|
||||
boost::shared_ptr<Speakers> get_speakers () const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue