summaryrefslogtreecommitdiff
path: root/journal.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-31 17:48:29 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-31 17:48:29 -0400
commite5048ec71bf114c351c62844b7603893195df4d4 (patch)
tree4153105f62fc6a244811df3c2e34366344c25792 /journal.h
parent99313ebc6c3779f692f9f1bd70cc69a236f5eb78 (diff)
downloadfork-ledger-e5048ec71bf114c351c62844b7603893195df4d4.tar.gz
fork-ledger-e5048ec71bf114c351c62844b7603893195df4d4.tar.bz2
fork-ledger-e5048ec71bf114c351c62844b7603893195df4d4.zip
Change many uses of for+iterator to use Boost.Foreach.
Diffstat (limited to 'journal.h')
-rw-r--r--journal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/journal.h b/journal.h
index d24e4fc1..df17764d 100644
--- a/journal.h
+++ b/journal.h
@@ -43,6 +43,10 @@ typedef std::list<path> paths_list;
class session_t;
class account_t;
+typedef std::list<entry_t *> entries_list;
+typedef std::list<auto_entry_t *> auto_entries_list;
+typedef std::list<period_entry_t *> period_entries_list;
+
class journal_t : public noncopyable
{
public:
@@ -56,7 +60,7 @@ public:
auto_entries_list auto_entries;
period_entries_list period_entries;
- hooks_t<entry_finalizer_t *> entry_finalize_hooks;
+ hooks_t<entry_finalizer_t, entry_t> entry_finalize_hooks;
journal_t(session_t * _owner);
~journal_t();