summaryrefslogtreecommitdiff
path: root/src/post.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-09 01:28:20 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-09 01:28:20 -0600
commitc9f7195936090ecbe2d5b4ec88c196660ae24f81 (patch)
tree7bfbe9d00de44c0c79c460169ad324b6a17c6379 /src/post.h
parent9f81c798ee0854cab038714670123bff6676a5d5 (diff)
downloadfork-ledger-c9f7195936090ecbe2d5b4ec88c196660ae24f81.tar.gz
fork-ledger-c9f7195936090ecbe2d5b4ec88c196660ae24f81.tar.bz2
fork-ledger-c9f7195936090ecbe2d5b4ec88c196660ae24f81.zip
Added the notion of "virtual costs"
Diffstat (limited to 'src/post.h')
-rw-r--r--src/post.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/post.h b/src/post.h
index 217f5509..7d93b1cc 100644
--- a/src/post.h
+++ b/src/post.h
@@ -58,7 +58,8 @@ public:
#define POST_COST_CALCULATED 0x0080 // posting's cost was calculated
#define POST_COST_IN_FULL 0x0100 // cost specified using @@
#define POST_COST_FIXATED 0x0200 // cost is fixed using = indicator
-#define POST_ANONYMIZED 0x0400 // a temporary, anonymous posting
+#define POST_COST_VIRTUAL 0x0400 // cost is virtualized: (@)
+#define POST_ANONYMIZED 0x0800 // a temporary, anonymous posting
xact_t * xact; // only set for posts of regular xacts
account_t * account;