summaryrefslogtreecommitdiff
path: root/src/journal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal.h')
-rw-r--r--src/journal.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/journal.h b/src/journal.h
index 3203d3c9..1732f760 100644
--- a/src/journal.h
+++ b/src/journal.h
@@ -157,7 +157,8 @@ public:
account_t * register_account(const string& name, post_t * post,
account_t * master = NULL);
- string register_payee(const string& name, xact_t * xact);
+ string register_payee(const string& name);
+ string validate_payee(const string& name_or_alias);
void register_commodity(commodity_t& comm,
variant<int, xact_t *, post_t *> context);
void register_metadata(const string& key, const value_t& value,
@@ -194,7 +195,12 @@ public:
bool valid() const;
private:
+
std::size_t read_textual(parse_context_stack_t& context);
+
+ bool should_check_payees();
+ bool payee_not_registered(const string& name);
+ string translate_payee_name(const string& name);
};
} // namespace ledger