source: molecuilder/src/Actions/ErrorAction.hpp@ 70c4aa6

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

Extracted all methods from MergeMolecules Menu

  • Added new action that only displays an errorMessage
  • Property mode set to 100644
File size: 416 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(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.