source: molecuilder/src/Actions/MethodAction.hpp@ 381df6

Last change on this file since 381df6 was 381df6, checked in by Frederik Heber <heber@…>, 16 years ago

Rebuild the main menu using the new structure as far as possible. Signed-off-by: Tillmann Crueger <crueger@…>

  • Property mode set to 100644
File size: 456 bytes
Line 
1/*
2 * MethodAction.h
3 *
4 * Created on: Dec 11, 2009
5 * Author: crueger
6 */
7
8#ifndef METHODACTION_H_
9#define METHODACTION_H_
10
11#include <boost/function.hpp>
12
13#include "Actions/Action.hpp"
14
15class MethodAction : public Action
16{
17public:
18 MethodAction(boost::function<void()>);
19 virtual ~MethodAction();
20
21 virtual void call();
22 virtual void undo();
23 virtual bool canUndo();
24
25 boost::function<void()> executeMethod;
26
27
28};
29
30#endif /* METHODACTION_H_ */
Note: See TracBrowser for help on using the repository browser.