~ubuntu-branches/ubuntu/saucy/merkaartor/saucy

« back to all changes in this revision

Viewing changes to ImportExport/ImportNMEA.h

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz
  • Date: 2009-09-13 00:52:12 UTC
  • mto: (1.2.7 upstream) (0.1.3 upstream) (3.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090913005212-pjecal8zxm07x0fj
ImportĀ upstreamĀ versionĀ 0.14+svnfixes~20090912

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
2
 
// C++ Interface: ImportNMEA
3
 
//
4
 
// Description: 
5
 
//
6
 
//
7
 
// Author: cbro <cbro@semperpax.com>, (C) 2008
8
 
//
9
 
// Copyright: See COPYING file that comes with this distribution
10
 
//
11
 
//
12
 
#ifndef IMPORTNMEA_H
13
 
#define IMPORTNMEA_H
14
 
 
15
 
#include <ImportExport/IImportExport.h>
16
 
 
17
 
/**
18
 
        @author cbro <cbro@semperpax.com>
19
 
*/
20
 
class ImportNMEA : public IImportExport
21
 
{
22
 
public:
23
 
    ImportNMEA(MapDocument* doc);
24
 
 
25
 
    ~ImportNMEA();
26
 
 
27
 
        // import the  input
28
 
        virtual bool import(MapLayer* aLayer);
29
 
        // export
30
 
        virtual bool export_(const QList<MapFeature *>& featList);
31
 
 
32
 
private:
33
 
        TrackMapLayer* theLayer;
34
 
 
35
 
        bool importGSA (QString line);
36
 
        bool importGSV (QString line);
37
 
        bool importGGA (QString line);
38
 
        bool importGLL (QString line);
39
 
        TrackPoint* importRMC (QString line);
40
 
 
41
 
        double curAltitude;
42
 
 
43
 
};
44
 
 
45
 
#endif