ROSE
0.11.96.11
|
A static registration template.
Use like such: X("fancy-gc", "Newfangled garbage collector.");
Use of this template requires that:
The registry entry type has a constructor compatible with this signature:
entry(const char *Name, const char *ShortDesc, T *(*Ctor)());
If you have more elaborate requirements, then copy and modify.
#include <plugin.h>
Public Member Functions | |
Add (const char *Name, const char *Desc) | |