![]() |
IOT
0.5
I Only Think
|
Pattern Factory Permet de creer une Action selon son Id. More...
#include <ActionFactory.h>
Public Types | |
typedef IAction *(* | ActionInstantiator )(QDomElement const &) |
Static Public Member Functions | |
static IAction * | create (QDomElement const &domElement) |
static void | registerInstantiator (QString const &actionId, ActionInstantiator function) |
Pattern Factory Permet de creer une Action selon son Id.
typedef IAction*(* ActionFactory::ActionInstantiator)(QDomElement const &) |
IAction * ActionFactory::create | ( | QDomElement const & | domElement | ) | [static] |
void ActionFactory::registerInstantiator | ( | QString const & | actionId, |
ActionInstantiator | function | ||
) | [static] |