source: molecuilder/src/Actions/ParserAction/SaveXyzAction.hpp@ 7ac765

Last change on this file since 7ac765 was 7ac765, checked in by Frederik Heber <heber@…>, 15 years ago

Introducing small actions.

Signed-off-by: Frederik Heber <heber@…>

  • Property mode set to 100644
File size: 627 bytes
Line 
1/*
2 * SaveXyzAction.hpp
3 *
4 * Created on: May 8, 2010
5 * Author: heber
6 */
7
8#ifndef SAVEXYZACTION_HPP_
9#define SAVEXYZACTION_HPP_
10
11#include "Actions/Action.hpp"
12#include "Actions/Process.hpp"
13
14class ParserSaveXyzAction : public Action {
15public:
16 ParserSaveXyzAction();
17 virtual ~ParserSaveXyzAction();
18
19 bool canUndo();
20 bool shouldUndo();
21
22 virtual const std::string getName();
23private:
24 virtual Action::state_ptr performCall();
25 virtual Action::state_ptr performUndo(Action::state_ptr);
26 virtual Action::state_ptr performRedo(Action::state_ptr);
27
28 static const char NAME[];
29};
30
31#endif /* SAVEXYZACTION_HPP_ */
Note: See TracBrowser for help on using the repository browser.