Subversion Repositories public

Rev

Rev 104 | Rev 137 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
95 andreas 1
/***************************************************************************
119 andreas 2
 *   Copyright (C) 2007, 2008 by Andreas Theofilu                          *
3
 *   andreas@theosys.at                                                    *
95 andreas 4
 *                                                                         *
5
 *   This program is free software; you can redistribute it and/or modify  *
6
 *   it under the terms of the GNU General Public License as published by  *
7
 *   the Free Software Foundation version 3 of the License.                *
8
 *                                                                         *
9
 *   This program is distributed in the hope that it will be useful,       *
10
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12
 *   GNU General Public License for more details.                          *
13
 *                                                                         *
14
 *   You should have received a copy of the GNU General Public License     *
15
 *   along with this program; if not, write to the                         *
16
 *   Free Software Foundation, Inc.,                                       *
17
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
18
 ***************************************************************************/
19
 
20
#ifndef PROGRESSWIDGET_H
21
#define PROGRESSWIDGET_H
22
 
23
#include "progresswidgetbase.h"
24
#include "garmin.h"
25
 
26
class progressWidget : public progressWidgetBase
27
{
28
		Q_OBJECT
29
 
30
	public:
31
		progressWidget ( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
32
		~progressWidget();
33
		/*$PUBLIC_FUNCTIONS$*/
104 andreas 34
		void Download();
95 andreas 35
 
36
	public slots:
37
		/*$PUBLIC_SLOTS$*/
38
 
39
	protected:
40
		/*$PROTECTED_FUNCTIONS$*/
41
 
42
	protected slots:
43
		/*$PROTECTED_SLOTS$*/
44
 
45
	private:
46
		int get_run_track_lap_info(garmin_data *run, uint32 *track_index, uint32 *first_lap_index, uint32 *last_lap_index);
47
		int get_lap_index(garmin_data *lap, uint32 *lap_index);
48
		int get_lap_start_time (garmin_data *lap, time_type *start_time);
49
		garmin_data *get_track(garmin_list *points, uint32 trk_index);
50
};
51
 
52
#endif
53