Plugins registered when loading plugin module.
| 277 | |
| 278 | // Plugins registered when loading plugin module. |
| 279 | struct RegisteredPlugin |
| 280 | { |
| 281 | RegisteredPlugin(IPluginFactory* f, const char* nm, unsigned int t) |
| 282 | : factory(f), name(nm), type(t) |
| 283 | { } |
| 284 | |
| 285 | RegisteredPlugin(MemoryPool& p, IPluginFactory* f, const char* nm, unsigned int t) |
| 286 | : factory(f), name(p, nm), type(t) |
| 287 | { } |
| 288 | |
| 289 | RegisteredPlugin() |
| 290 | : factory(NULL), name(), type(0) |
| 291 | { } |
| 292 | |
| 293 | RegisteredPlugin(MemoryPool& p) |
| 294 | : factory(NULL), name(p), type(0) |
| 295 | { } |
| 296 | |
| 297 | RegisteredPlugin(MemoryPool& p, const RegisteredPlugin& from) |
| 298 | : factory(from.factory), name(p, from.name), type(from.type) |
| 299 | { } |
| 300 | |
| 301 | IPluginFactory* factory; |
| 302 | PathName name; |
| 303 | unsigned int type; |
| 304 | }; |
| 305 | |
| 306 | // Controls module, containing plugins. |
| 307 | class PluginModule : public Firebird::RefCounted, public GlobalStorage |
no outgoing calls
no test coverage detected