corrected loading loading non-autoscan files in case of absent templates, added getTemplates()

This commit is contained in:
john30
2015-11-22 09:31:20 +01:00
parent 72396ff2f8
commit 5c07605ca2
2 changed files with 46 additions and 25 deletions
+7
View File
@@ -61,6 +61,13 @@ struct options
int dumpSize; //!< maximum size of dump file in kB [100]
};
/**
* Get the @a DataFieldTemplates for the specified configuration file.
* @param filename the full name of the configuration file.
* @return the @a DataFieldTemplates.
*/
DataFieldTemplates* getTemplates(const string filename);
/**
* Load the message definitions from configuration files.
* @param messages the @a MessageMap to load the messages into.