Initial version
[gpssportsniffer] / settings.h
index fb64302..3a5077e 100755 (executable)
@@ -1,3 +1,22 @@
+/****************************************************************************
+**
+**  Copyright (C) 2011  Tito Eritja Real <jtitoo@gmail.com>
+**
+**  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 <http://www.gnu.org/licenses/>.
+**
+****************************************************************************/
+
 #ifndef SETTINGS_H
 #define SETTINGS_H
 
@@ -11,6 +30,7 @@ private:
     int gpsInterval;
     MapType mapType;
     bool isOnline;
+    bool isCache;
     QString xmlFile;
     QString xmlType;
     bool servicesStarted;
@@ -55,6 +75,9 @@ public:
     inline bool getIsOnline(){return isOnline;}
     inline void setIsOnline(bool isOnline){this->isOnline=isOnline;}
 
+    inline bool getIsCache(){return isCache;}
+    inline void setIsCache(bool isCache){this->isCache=isCache;}
+
     inline bool areServicesStarted(){return servicesStarted;}
     inline void setServicesStarted(bool st){this->servicesStarted=st;}