From 21af83013f3b1bae511a61b9e27224ab3de235c1 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 30 Apr 2007 11:22:08 +0000 Subject: Did more work on the utility code. --- src/quotes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/quotes.h') 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 -- cgit v1.2.3