diff options
Diffstat (limited to 'src/gnucash.h')
-rw-r--r-- | src/gnucash.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gnucash.h b/src/gnucash.h index a0d9fb18..cddf9df9 100644 --- a/src/gnucash.h +++ b/src/gnucash.h @@ -32,7 +32,7 @@ struct gnucash_parser_t : public parser_t std::istream * instreamp; unsigned int offset; XML_Parser parser; - string path; + path pathname; unsigned int src_idx; unsigned long beg_pos; unsigned long beg_line; @@ -62,10 +62,10 @@ struct gnucash_parser_t : public parser_t public: virtual bool test(std::istream& in) const; - virtual unsigned int parse(std::istream& in, - journal_t * journal, - account_t * master = NULL, - const string * original_file = NULL); + virtual unsigned int parse(std::istream& in, + journal_t * journal, + account_t * master = NULL, + const optional<path>& original = optional<path>()); amount_t convert_number(const string& number, int * precision = NULL); }; |