Changeset bcc29ca for src/Actions/CommandAction/SetUndoMarkAction.cpp
- Timestamp:
- Aug 13, 2025, 8:24:42 AM (2 months ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- 780bfa
- Parents:
- 1c355bf
- git-author:
- Frederik Heber <frederik.heber@…> (08/13/25 08:17:04)
- git-committer:
- Frederik Heber <frederik.heber@…> (08/13/25 08:24:42)
- File:
-
- 1 moved
-
src/Actions/CommandAction/SetUndoMarkAction.cpp (moved) (moved from src/Actions/CommandAction/UndoMarkAction.cpp ) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/CommandAction/SetUndoMarkAction.cpp
r1c355bf rbcc29ca 2 2 * Project: MoleCuilder 3 3 * Description: creates and alters molecular systems 4 * Copyright (C) 202 1Frederik Heber. All rights reserved.4 * Copyright (C) 2025 Frederik Heber. All rights reserved. 5 5 * 6 6 * … … 22 22 23 23 /* 24 * UndoMarkAction.cpp24 * SetUndoMarkAction.cpp 25 25 * 26 26 * Created on: Apr 06, 2021 … … 35 35 //#include "CodePatterns/MemDebug.hpp" 36 36 37 #include "Actions/CommandAction/ UndoMarkAction.hpp"37 #include "Actions/CommandAction/SetUndoMarkAction.hpp" 38 38 39 39 #include "Actions/ActionQueue.hpp" … … 42 42 43 43 // and construct the stuff 44 #include " UndoMarkAction.def"44 #include "SetUndoMarkAction.def" 45 45 #include "Action_impl_pre.hpp" 46 46 /** =========== define the function ====================== */ 47 ActionState::ptr Command UndoMarkAction::performCall() {47 ActionState::ptr CommandSetUndoMarkAction::performCall() { 48 48 // set ActionQueue on to last element (hence skipping all in between) 49 49 … … 59 59 } 60 60 61 ActionState::ptr Command UndoMarkAction::performUndo(ActionState::ptr _state) {61 ActionState::ptr CommandSetUndoMarkAction::performUndo(ActionState::ptr _state) { 62 62 return Action::success; 63 63 } 64 64 65 ActionState::ptr Command UndoMarkAction::performRedo(ActionState::ptr _state){65 ActionState::ptr CommandSetUndoMarkAction::performRedo(ActionState::ptr _state){ 66 66 return Action::success; 67 67 } 68 68 69 bool Command UndoMarkAction::canUndo() {69 bool CommandSetUndoMarkAction::canUndo() { 70 70 return false; 71 71 } 72 72 73 bool Command UndoMarkAction::shouldUndo() {73 bool CommandSetUndoMarkAction::shouldUndo() { 74 74 return false; 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.
