Merge branch 'master' of https://vcs.maemo.org/git/gpssportsniffer
[gpssportsniffer] / utils.h
diff --git a/utils.h b/utils.h
index 45ec108..58c3fb4 100755 (executable)
--- a/utils.h
+++ b/utils.h
@@ -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 UTILS_H
 #define UTILS_H
 
@@ -21,5 +40,6 @@ GpsPoint* parseTCXGpsPoint(QXmlStreamReader& xml);
 GpsPoint* parseGPXGpsPoint(QXmlStreamReader& xml);
 QString stringDateFromSeconds(qreal);
 int calculateZoom(Track t);
+QString nameFromFile(QString);
 
 #endif // UTILS_H