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