source: molecuilder/src/Actions/ErrorAction.cpp@ 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: 461 bytes
Line 
1/*
2 * ErrorAction.cpp
3 *
4 * Created on: Jan 5, 2010
5 * Author: crueger
6 */
7
8#include <iostream>
9
10#include "Actions/ErrorAction.hpp"
11#include "log.hpp"
12#include "verbose.hpp"
13
14using namespace std;
15
16ErrorAction::ErrorAction(const char * _errorMsg) :
17errorMsg(_errorMsg)
18{
19}
20
21ErrorAction::~ErrorAction()
22{
23}
24
25void ErrorAction::call() {
26 Log() << Verbose(0) << errorMsg << endl;
27}
28void ErrorAction::undo() {
29}
30
31bool ErrorAction::canUndo(){
32 return false;
33}
Note: See TracBrowser for help on using the repository browser.