15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_COMMANDS_INSERTNEWITEMCOMMAND_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_COMMANDS_INSERTNEWITEMCOMMAND_H
34 void undo_command()
override;
35 void execute_command()
override;
38 std::unique_ptr<InsertNewItemCommandImpl>
p_impl;
Abstract command interface to manipulate SessionItem in model context.
Command for unddo/redo to insert new item.
std::unique_ptr< InsertNewItemCommandImpl > p_impl
~InsertNewItemCommand() override
The main object representing an editable/displayable/serializable entity.
Aggregate to hold (tag, row) information for SessionModel.
materialitems.h Collection of materials to populate MaterialModel.
std::function< std::unique_ptr< SessionItem >()> item_factory_func_t
Definition for item factory funciton.