summaryrefslogtreecommitdiff
path: root/ledger.h
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.h')
-rw-r--r--ledger.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ledger.h b/ledger.h
index 7e9a48f5..d9524b4a 100644
--- a/ledger.h
+++ b/ledger.h
@@ -1,5 +1,5 @@
#ifndef _LEDGER_H
-#define _LEDGER_H "$Revision: 1.4 $"
+#define _LEDGER_H "$Revision: 1.5 $"
//////////////////////////////////////////////////////////////////////
//
@@ -122,9 +122,10 @@ class amount
public:
virtual ~amount() {}
+ virtual commodity * comm() const = 0;
virtual const std::string& comm_symbol() const = 0;
virtual amount * copy() const = 0;
- virtual amount * value() const = 0;
+ virtual amount * value(amount * pr = NULL) const = 0;
// Test if non-zero