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 |
|
---|
14 | class ErrorAction : public Action
|
---|
15 | {
|
---|
16 | public:
|
---|
17 | ErrorAction(const char *);
|
---|
18 | virtual ~ErrorAction();
|
---|
19 |
|
---|
20 | virtual void call();
|
---|
21 | virtual void undo();
|
---|
22 | virtual bool canUndo();
|
---|
23 |
|
---|
24 | private:
|
---|
25 | std::string errorMsg;
|
---|
26 | };
|
---|
27 |
|
---|
28 | #endif /* ERRORACTION_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.