diff options
Diffstat (limited to 'gnucash.h')
-rw-r--r-- | gnucash.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -23,8 +23,8 @@ namespace ledger { struct gnucash_parser_t : public parser_t { - typedef std::map<const std::string, account_t *> accounts_map; - typedef std::pair<const std::string, account_t *> accounts_pair; + typedef std::map<const string, account_t *> accounts_map; + typedef std::pair<const string, account_t *> accounts_pair; typedef std::map<account_t *, commodity_t *> account_comm_map; typedef std::pair<account_t *, commodity_t *> account_comm_pair; @@ -32,7 +32,7 @@ struct gnucash_parser_t : public parser_t journal_t * curr_journal; account_t * master_account; account_t * curr_account; - std::string curr_account_id; + string curr_account_id; entry_t * curr_entry; commodity_t * entry_comm; commodity_t * curr_comm; @@ -42,12 +42,12 @@ struct gnucash_parser_t : public parser_t accounts_map accounts_by_id; account_comm_map account_comms; unsigned int count; - std::string have_error; + string have_error; std::istream * instreamp; unsigned int offset; XML_Parser parser; - std::string path; + string path; unsigned int src_idx; istream_pos_type beg_pos; unsigned long beg_line; @@ -80,9 +80,9 @@ struct gnucash_parser_t : public parser_t virtual unsigned int parse(std::istream& in, journal_t * journal, account_t * master = NULL, - const std::string * original_file = NULL); + const string * original_file = NULL); - amount_t convert_number(const std::string& number, int * precision = NULL); + amount_t convert_number(const string& number, int * precision = NULL); }; } // namespace ledger |