X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=settings.cpp;h=6c19b23346e406597b96b2c11a57fe284b8fbed5;hb=d83d54cbe39ffa872c360c017fccfafc3520e392;hp=1ee1b7e798df9c399d2989dfc315120433b079c7;hpb=562d093bd082a53636e18d4f07d842310984ceb4;p=gpssportsniffer diff --git a/settings.cpp b/settings.cpp index 1ee1b7e..6c19b23 100755 --- a/settings.cpp +++ b/settings.cpp @@ -1,10 +1,29 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Tito Eritja Real +** +** This program is free software: you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation, either version 3 of the License, or +** (at your option) any later version. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program. If not, see . +** +****************************************************************************/ + #include "settings.h" Settings::Settings(Log *log) :servicesStarted(false),isConfigured(false),log(log),autosaveInterval(5){ - horizontalAccuracy=200; //200 - verticalAccuracy=100; //100 + horizontalAccuracy=ACCURACY_H_MIN; //200 + verticalAccuracy=ACCURACY_V_MIN; //100 trackToSniffColor="#ff0000"; trackColor="#5bff24"; } @@ -14,8 +33,8 @@ Settings::Settings(const Settings& set, Log *log): ,xmlFile(set.xmlFile),servicesStarted(set.servicesStarted),isConfigured(set.isConfigured),log(log){ log->debug("--Settings 2n constuctor ---"); log->debug("isConfigured:" + isConfigured); - horizontalAccuracy=200; - verticalAccuracy=100; + horizontalAccuracy=ACCURACY_H_MIN; + verticalAccuracy=ACCURACY_V_MIN; trackToSniffColor="#ff0000"; trackColor="#5bff24"; }