diff options
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 |