26 #ifndef ACTION_EXTENSION_H
27 #define ACTION_EXTENSION_H
33 #include <QTranslator>
40 #define registerNewAction(X) registerAction(new X(this))
80 void setLocation(
const QString loc);
83 QString getLocation()
const;
90 void registerAction(
Action*);
97 QString dynamicLibraryFileName;
100 QTranslator* translator;
#define CAMITK_API
Definition: CamiTKAPI.h:49
This class describes what is a generic Action extension.
Definition: ActionExtension.h:57
virtual QString getName()=0
returns the action extension name (to be overriden in your ActionExtension)
ActionList actions
the list of actions
Definition: ActionExtension.h:93
virtual void init()=0
this method should just call registerNewAction(MyAction) for any MyAction class you need to register ...
virtual QString getDescription()=0
returns the action extension small description (to be overriden in your ActionExtension)
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:209
Definition: Action.cpp:36