score
Home
Classes
Namespaces
Files
CommandStackFacade.hpp
1
#pragma once
2
#include <score_lib_base_export.h>
3
4
namespace
score
5
{
6
class
Command;
7
class
CommandStack;
8
struct
DocumentContext;
9
19
class
SCORE_LIB_BASE_EXPORT
CommandStackFacade
20
{
21
private
:
22
score::CommandStack
& m_stack;
23
24
public
:
25
explicit
CommandStackFacade
(
score::CommandStack
& stack);
26
27
const
score::DocumentContext
& context()
const
;
28
29
void
push(
score::Command
* cmd)
const
;
30
void
redoAndPush(
score::Command
* cmd)
const
;
31
32
void
disableActions()
const
;
33
void
enableActions()
const
;
34
};
35
}
score::Command
The Command class.
Definition:
Command.hpp:34
score::CommandStackFacade
A small abstraction layer over the score::CommandStack.
Definition:
CommandStackFacade.hpp:20
score::CommandStack
Definition:
CommandStack.hpp:26
score
Base toolkit upon which the software is built.
Definition:
Application.cpp:90
score::DocumentContext
Definition:
DocumentContext.hpp:18