summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-21 19:45:13 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-21 19:45:13 -0400
commita577e8c48ebe3b540a6833e1d37025d53c8a42a7 (patch)
tree5c6ba4c5ab8200cd4187892189af90594c962bd9 /src/item.h
parentdc63429785fb677f5997a84ee7dd1dbc03f1e127 (diff)
downloadfork-ledger-a577e8c48ebe3b540a6833e1d37025d53c8a42a7.tar.gz
fork-ledger-a577e8c48ebe3b540a6833e1d37025d53c8a42a7.tar.bz2
fork-ledger-a577e8c48ebe3b540a6833e1d37025d53c8a42a7.zip
Added a new --raw option, for use with print
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/item.h b/src/item.h
index 96e0899b..94bb7e10 100644
--- a/src/item.h
+++ b/src/item.h
@@ -159,8 +159,9 @@ public:
};
value_t get_comment(item_t& item);
-
-string item_context(const item_t& item, const string& desc);
+void print_item(std::ostream& out, const item_t& item,
+ const string& prefix = "");
+string item_context(const item_t& item, const string& desc);
} // namespace ledger