diff options
author | John Wiegley <johnw@newartisans.com> | 2004-09-14 17:34:48 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-09-14 17:34:48 -0400 |
commit | 0c890de44bfd33060c36c7b1f182079982232cf7 (patch) | |
tree | aa64bc10c7c36d0900e3f34558f34353c1402ea1 /config.h | |
parent | f2162bf7ee556c5d46a3a48a4d93bb892041b067 (diff) | |
download | fork-ledger-0c890de44bfd33060c36c7b1f182079982232cf7.tar.gz fork-ledger-0c890de44bfd33060c36c7b1f182079982232cf7.tar.bz2 fork-ledger-0c890de44bfd33060c36c7b1f182079982232cf7.zip |
main.py now implements nearly all the functionality of main.cc
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6,6 +6,7 @@ #include "valexpr.h" #include "datetime.h" #include "format.h" +#include "parser.h" #include <iostream> #include <memory> @@ -84,6 +85,11 @@ extern std::list<option_t> config_options; void option_help(std::ostream& out); +// Parse what ledger data can be determined from the config settings +void parse_ledger_data(journal_t * journal, + parser_t * text_parser, + parser_t * cache_parser = NULL); + struct declared_option_handler : public option_handler { declared_option_handler(const std::string& label, const std::string& opt_chars) { |