diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-30 11:22:08 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:34 -0400 |
commit | 21af83013f3b1bae511a61b9e27224ab3de235c1 (patch) | |
tree | bf0eea45f33e7e269220adc6ce37815f7bc14a3f /src/quotes.h | |
parent | 3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba (diff) | |
download | fork-ledger-21af83013f3b1bae511a61b9e27224ab3de235c1.tar.gz fork-ledger-21af83013f3b1bae511a61b9e27224ab3de235c1.tar.bz2 fork-ledger-21af83013f3b1bae511a61b9e27224ab3de235c1.zip |
Did more work on the utility code.
Diffstat (limited to 'src/quotes.h')
-rw-r--r-- | src/quotes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/quotes.h b/src/quotes.h index a1fabd93..8ac3b9d4 100644 --- a/src/quotes.h +++ b/src/quotes.h @@ -7,12 +7,12 @@ namespace ledger { class quotes_by_script : public commodity_base_t::updater_t { - string price_db; + path price_db; time_duration pricing_leeway; bool& cache_dirty; public: - quotes_by_script(string _price_db, + quotes_by_script(path _price_db, time_duration _pricing_leeway, bool& _cache_dirty) : price_db(_price_db), pricing_leeway(_pricing_leeway), @@ -25,6 +25,8 @@ class quotes_by_script : public commodity_base_t::updater_t amount_t& price); }; +DECLARE_EXCEPTION(download_error); + } // namespace ledger #endif // _QUOTES_H |