Move ControllableSet up in PBD's namespace

This is in preparation to supersede AutomationControlSet
with a lower level generic std::set usable in any relevant
context.
This commit is contained in:
Robin Gareus 2022-10-17 23:22:39 +02:00
parent 46b14498f8
commit 5016c950d0
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 4 additions and 4 deletions

View file

@ -145,7 +145,7 @@ Controllable::by_id (const ID& id)
return boost::shared_ptr<Controllable>();
}
Controllable::ControllableSet
ControllableSet
Controllable::registered_controllables ()
{
ControllableSet rv;

View file

@ -38,6 +38,9 @@ class XMLNode;
namespace PBD {
class Controllable;
typedef std::set<boost::shared_ptr<Controllable>> ControllableSet;
/** This is a pure virtual class to represent a scalar control.
*
* Note that it contains no storage/state for the controllable thing that it
@ -168,9 +171,6 @@ public:
static boost::shared_ptr<Controllable> by_id (const PBD::ID&);
static void dump_registry ();
typedef std::set<boost::shared_ptr<Controllable>> ControllableSet;
static ControllableSet registered_controllables ();
static const std::string xml_node_name;