source: molecuilder/src/Actions/small_actions.hpp@ 536380

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

Added a progress indicator for the text menu

  • Property mode set to 100644
File size: 570 bytes
RevLine 
[795b4d]1// All rather small Actions should go into this file for simplicities sake
2
[b53a7e]3#ifndef _SMALL_ACTIONS_HPP
4#define _SMALL_ACTIONS_HPP
[795b4d]5
[b53a7e]6#include "Actions/Action.hpp"
7#include "Actions/Process.hpp"
[795b4d]8
9class MoleculeListClass;
10
11class ChangeMoleculeNameAction : public Action {
12public:
13 ChangeMoleculeNameAction(MoleculeListClass*);
[b53a7e]14 virtual ~ChangeMoleculeNameAction();
[795b4d]15
16 void call();
17 void undo();
18 bool canUndo();
19 bool shouldUndo();
20
21 virtual const std::string getName();
22private:
23 MoleculeListClass *molecules;
24 static char NAME[];
25};
[b53a7e]26
[536380]27
[b53a7e]28#endif // _SMALL_ACTIONS_HPP
Note: See TracBrowser for help on using the repository browser.