#include <wvmoniker.h>
(The objects themselves have to be derived from IObject, however.)
See WvMonikerBase for details.
Example: static IWvStream *createfunc(WvStringParm s, IObject *obj, void *userdata) { return new WvStream; }
static WvMoniker<IWvStream> registration("ssl", createfunc);
Definition at line 61 of file wvmoniker.h.
Public Member Functions | |
typedef T * | CreateFunc (WvStringParm parms, IObject *obj) |
WvMoniker (WvStringParm _id, CreateFunc *_func, const bool override=false) | |
Public Attributes | |
WvString | id |
WvMonikerRegistry * | reg |