summaryrefslogtreecommitdiff
path: root/quotes.h
diff options
context:
space:
mode:
Diffstat (limited to 'quotes.h')
-rw-r--r--quotes.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/quotes.h b/quotes.h
deleted file mode 100644
index 53008aa0..00000000
--- a/quotes.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef _QUOTES_H
-#define _QUOTES_H
-
-#include "amount.h"
-
-namespace ledger {
-
-class quotes_by_script : public commodity_t::updater_t
-{
- std::string price_db;
- unsigned long pricing_leeway;
- bool& cache_dirty;
-
- public:
- quotes_by_script(std::string _price_db,
- unsigned long _pricing_leeway,
- bool& _cache_dirty)
- : price_db(_price_db), pricing_leeway(_pricing_leeway),
- cache_dirty(_cache_dirty) {}
-
- virtual void operator()(commodity_t& commodity,
- const std::time_t moment,
- const std::time_t date,
- const std::time_t last,
- amount_t& price);
-};
-
-} // namespace ledger
-
-#endif // _QUOTES_H