source: molecuilder/src/Actions/CmdAction/VersionAction.hpp@ 2e06c4

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

Added VersionAction.

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

  • Property mode set to 100644
File size: 632 bytes
Line 
1/*
2 * VersionAction.hpp
3 *
4 * Created on: May 8, 2010
5 * Author: heber
6 */
7
8#ifndef VERSIONACTION_HPP_
9#define VERSIONACTION_HPP_
10
11#include "Actions/Action.hpp"
12#include "version.h"
13
14class CommandLineVersionAction : public Action {
15public:
16 CommandLineVersionAction();
17 virtual ~CommandLineVersionAction();
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 /* VERSIONACTION_HPP_ */
Note: See TracBrowser for help on using the repository browser.