summaryrefslogtreecommitdiff
path: root/src/post.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/post.h')
-rw-r--r--src/post.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/post.h b/src/post.h
index 8852e7b2..272cd9d8 100644
--- a/src/post.h
+++ b/src/post.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003-2009, John Wiegley. All rights reserved.
+ * Copyright (c) 2003-2010, John Wiegley. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -52,10 +52,11 @@ class account_t;
class post_t : public item_t
{
public:
-#define POST_VIRTUAL 0x10 // the account was specified with (parens)
-#define POST_MUST_BALANCE 0x20 // posting must balance in the transaction
-#define POST_CALCULATED 0x40 // posting's amount was calculated
-#define POST_COST_CALCULATED 0x80 // posting's cost was calculated
+#define POST_VIRTUAL 0x08 // the account was specified with (parens)
+#define POST_MUST_BALANCE 0x10 // posting must balance in the transaction
+#define POST_CALCULATED 0x20 // posting's amount was calculated
+#define POST_COST_CALCULATED 0x40 // posting's cost was calculated
+#define POST_COST_IN_FULL 0x80 // cost specified using @@
xact_t * xact; // only set for posts of regular xacts
account_t * account;