SelectionDispatcher.hpp
1 #pragma once
2 #include "Selection.hpp"
3 
4 namespace score
5 {
6 class SelectionStack;
7 
14 class SCORE_LIB_BASE_EXPORT SelectionDispatcher
15 {
16 public:
18  : m_stack{s}
19  {
20  }
21 
22  void deselect();
23  void select(const Selection&);
24  void select(const IdentifiedObjectAbstract& obj);
25 
26  score::SelectionStack& stack() const;
27 
28 private:
29  score::SelectionStack& m_stack;
30 };
31 }
Base class for IdentifiedObject.
Definition: IdentifiedObjectAbstract.hpp:16
Definition: Selection.hpp:12
The SelectionDispatcher class.
Definition: SelectionDispatcher.hpp:15
The SelectionStack class.
Definition: SelectionStack.hpp:24
Base toolkit upon which the software is built.
Definition: Application.cpp:90