summaryrefslogtreecommitdiff
path: root/src/post.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/post.h')
-rw-r--r--src/post.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/post.h b/src/post.h
index ce33fefc..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;
@@ -259,6 +260,9 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
+class journal_t;
+void extend_post(post_t& post, journal_t& journal);
+
void to_xml(std::ostream& out, const post_t& post);
} // namespace ledger