* 'open-files' of git://github.com/nathansamson/diveclog:
Report errors when opening files
Make it possible to load multiple files at once.
Open File works. I refactored the code and introduced a new type. I never used it as a pointer (their was no real reason), but I'm not really satisfied.
* dive for that format.
*/
units = SI_units;
- suunto = 0;
- uemis = 0;
+ import_source = UNKNOWN;
}
- void parse_xml_file(const char *filename)
+ void parse_xml_file(const char *filename, GError **error)
{
xmlDoc *doc;