From b10ff955a370b7fd2add5c5493f1987b5d7b6600 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Aug 2004 02:39:13 -0400 Subject: cleaned up binary data writing, and file handling --- amount.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'amount.h') diff --git a/amount.h b/amount.h index f2d44010..474f2dae 100644 --- a/amount.h +++ b/amount.h @@ -188,6 +188,8 @@ typedef std::pair 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. -- cgit v1.2.3