Add graphs showing journeys/durations over last year
[harbour-pedalo.git] / src / statsyearjourneys.h
diff --git a/src/statsyearjourneys.h b/src/statsyearjourneys.h
new file mode 100644 (file)
index 0000000..d06e778
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef STATSYEARJOURNEYS_H
+#define STATSYEARJOURNEYS_H
+
+#include "journeymodel.h"
+#include "stats.h"
+
+class StatsYearJourneys : public Stats
+{
+public:
+    StatsYearJourneys(JourneyModel * journeys);
+
+    void update();
+
+private:
+    JourneyModel * journeys;
+};
+
+#endif // STATSYEARJOURNEYS_H