Convenience action using lambdas.
More...
#include <edit_history.hpp>
|
| | LambdaEdit (std::function< void()> do_fn, std::function< void()> undo_fn, std::string desc="") |
| void | undo () override |
| void | redo () override |
| std::string | description () const override |
Convenience action using lambdas.
◆ LambdaEdit()
| pulp::state::LambdaEdit::LambdaEdit |
( |
std::function< void()> | do_fn, |
|
|
std::function< void()> | undo_fn, |
|
|
std::string | desc = "" ) |
|
inline |
◆ description()
| std::string pulp::state::LambdaEdit::description |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ redo()
| void pulp::state::LambdaEdit::redo |
( |
| ) |
|
|
inlineoverridevirtual |
◆ undo()
| void pulp::state::LambdaEdit::undo |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: