| 1192 | |
| 1193 | |
| 1194 | IConfig* PluginManager::getConfig(CheckStatusWrapper* status, const char* filename) |
| 1195 | { |
| 1196 | try |
| 1197 | { |
| 1198 | IConfig* rc = FB_NEW ConfigAccess(RefPtr<ConfigFile>( |
| 1199 | FB_NEW_POOL(*getDefaultMemoryPool()) ConfigFile(*getDefaultMemoryPool(), |
| 1200 | filename, ConfigFile::HAS_SUB_CONF))); |
| 1201 | rc->addRef(); |
| 1202 | return rc; |
| 1203 | } |
| 1204 | catch (const Firebird::Exception& ex) |
| 1205 | { |
| 1206 | ex.stuffException(status); |
| 1207 | } |
| 1208 | return NULL; |
| 1209 | } |
| 1210 | |
| 1211 | |
| 1212 | void PluginManager::shutdown() |
no test coverage detected