Subversion Repositories public

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
88 andreas 1
/***************************************************************************
2
 *   Copyright (C) 2007 by Andreas Theofilu                             *
3
 *   andreas@theosys.at                                               *
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 _MANAGEFILE_H
21
#define _MANAGEFILE_H
22
 
23
#include "garmin.h"
24
 
25
#include <qfile.h>
26
#include <qdir.h>
27
 
28
#include <stdlib.h>
29
 
30
class manageFile
31
{
32
	public:
33
	   manageFile();
34
	   manageFile(const char *name);
35
	   ~manageFile();
36
	   void destroy();
37
 
38
	   int setFileName(const char *name);
39
	   garmin_data *readFile();
40
 
41
	private:
42
	   QFile spw;
43
	   const char *fname;
44
};
45
 
46
#endif