diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-15 02:39:13 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-15 02:39:13 -0400 |
commit | b10ff955a370b7fd2add5c5493f1987b5d7b6600 (patch) | |
tree | 9e5b0cd0022862766cda8b62aca7c7336bbc4c51 /amount.h | |
parent | 972ed4c386f8beeafda3519f6769f6dd9670e69a (diff) | |
download | fork-ledger-b10ff955a370b7fd2add5c5493f1987b5d7b6600.tar.gz fork-ledger-b10ff955a370b7fd2add5c5493f1987b5d7b6600.tar.bz2 fork-ledger-b10ff955a370b7fd2add5c5493f1987b5d7b6600.zip |
cleaned up binary data writing, and file handling
Diffstat (limited to 'amount.h')
-rw-r--r-- | amount.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -188,6 +188,8 @@ typedef std::pair<const std::string, commodity_t *> commodities_pair; class commodity_t { public: + typedef unsigned short ident_t; + std::string symbol; std::string name; std::string note; @@ -195,7 +197,7 @@ class commodity_t unsigned int flags; history_map history; amount_t conversion; - unsigned long ident; + ident_t ident; // If set, this global function pointer is called to determine // whether prices have been updated in the meanwhile. |