X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fcalculate.h;fp=Client%2Fcalculate.h;h=010050257bc34a2f1b3704ee4e7182321ce39ea7;hp=bc3f81d1885ab2e88cf30254caeebb30afd9c945;hb=d1eaf0805e80ba0e9de04d6d91eca7f9dda769e7;hpb=71b441a219d2f9a2c056f93855cf01948e5b100f diff --git a/Client/calculate.h b/Client/calculate.h index bc3f81d..0100502 100644 --- a/Client/calculate.h +++ b/Client/calculate.h @@ -2,6 +2,7 @@ * Calculate class to process accelerometer data * * @author Kai Rasilainen + * @author Jukka Kurttila * @copyright (c) 2010 Speed Freak team * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ @@ -25,6 +26,7 @@ public: void reset(); void calculateParameters(double currentAcceleration, double seconds); void accelStoppedCheck(double currentAcceleration); + QMap getValuesMap(); double getAverageSpeed(); void setAverageSpeed(double value); @@ -82,7 +84,7 @@ private: double currentPower; double averagePower; QList speedCheckPoints; -public: + QMap valuesMap; signals: