source: molecuilder/src/Actions/ErrorAction.hpp@ 53f5e6

Last change on this file since 53f5e6 was 53f5e6, checked in by Tillmann Crueger <crueger@…>, 16 years ago

Transitioned MergeMolecule Menu to new menu structure

  • Property mode set to 100644
File size: 422 bytes
Line 
1/*
2 * ErrorAction.hpp
3 *
4 * Created on: Jan 5, 2010
5 * Author: crueger
6 */
7
8#ifndef ERRORACTION_HPP_
9#define ERRORACTION_HPP_
10
11#include <string>
12#include "Actions/Action.hpp"
13
14class ErrorAction : public Action
15{
16public:
17 ErrorAction(const char *);
18 virtual ~ErrorAction();
19
20 virtual void call();
21 virtual void undo();
22 virtual bool canUndo();
23
24private:
25 std::string errorMsg;
26};
27
28#endif /* ERRORACTION_HPP_ */
Note: See TracBrowser for help on using the repository browser.