diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-26 15:45:15 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-26 15:45:15 -0600 |
commit | aa9b07d79bff00506b913d1e56575c3859fc173f (patch) | |
tree | 70bf76b03217eec5d09855f2a7bda9d5b9230fa0 /src/journal.h | |
parent | 4cf95497f9afaead3d9d308dabe8e8b26949502f (diff) | |
download | fork-ledger-aa9b07d79bff00506b913d1e56575c3859fc173f.tar.gz fork-ledger-aa9b07d79bff00506b913d1e56575c3859fc173f.tar.bz2 fork-ledger-aa9b07d79bff00506b913d1e56575c3859fc173f.zip |
Added --rich-data for 'convert', and SHA1 checksum checking
Diffstat (limited to 'src/journal.h')
-rw-r--r-- | src/journal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/journal.h b/src/journal.h index ca6b6e4f..49a6292b 100644 --- a/src/journal.h +++ b/src/journal.h @@ -63,6 +63,7 @@ typedef std::pair<mask_t, string> payee_mapping_t; typedef std::list<payee_mapping_t> payee_mappings_t; typedef std::pair<mask_t, account_t *> account_mapping_t; typedef std::list<account_mapping_t> account_mappings_t; +typedef std::map<string, xact_t *> checksum_map_t; class journal_t : public noncopyable { @@ -117,6 +118,7 @@ public: std::list<fileinfo_t> sources; payee_mappings_t payee_mappings; account_mappings_t account_mappings; + checksum_map_t checksum_map; bool was_loaded; journal_t(); @@ -198,6 +200,7 @@ private: ar & sources; ar & payee_mappings; ar & account_mappings; + ar & checksum_map; } #endif // HAVE_BOOST_SERIALIZATION }; |