Loading...
Searching...
No Matches
ICommandDispatcher.hpp
1#pragma once
2#include <score/command/Command.hpp>
3namespace score
4{
5class CommandStack;
6class CommandStackFacade;
7}
8
21{
22public:
23 explicit ICommandDispatcher(const score::CommandStack& stack) = delete;
24
26 : m_stack{stack}
27 {
28 }
29
30 const score::CommandStackFacade& stack() const { return m_stack; }
31
32private:
33 const score::CommandStackFacade& m_stack;
34};
The ICommandDispatcher class.
Definition ICommandDispatcher.hpp:21
A small abstraction layer over the score::CommandStack.
Definition CommandStackFacade.hpp:20
Definition CommandStack.hpp:26
Base toolkit upon which the software is built.
Definition Application.cpp:90