diff options
Diffstat (limited to 'src/powerlist.h')
-rw-r--r-- | src/powerlist.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/powerlist.h b/src/powerlist.h index 9066ce1..b0938af 100644 --- a/src/powerlist.h +++ b/src/powerlist.h @@ -29,12 +29,14 @@ #include <vector> #include "sample.h" -#include "random.h" + +class Random; +class Settings; class PowerList { public: - PowerList(Random& rand); + PowerList(Random& rand, Settings& settings); void add(Sample* s); void finalise(); ///< Call this when no more samples will be added. @@ -49,6 +51,7 @@ private: }; Random& rand; + Settings& settings; std::vector<PowerListItem> samples; float power_max; |