summaryrefslogtreecommitdiff
path: root/journal.h
diff options
context:
space:
mode:
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();