-
Notifications
You must be signed in to change notification settings - Fork 3
/
NMEAFile.h
31 lines (25 loc) · 806 Bytes
/
NMEAFile.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//---------------------------------------------------------------------------
#ifndef NMEAFileH
#define NMEAFileH
//---------------------------------------------------------------------------
#include "NMEAParser.h"
#define NMEAFILE_MSG_NEWTRACK (WM_APP + 600)
class TNMEAFile {
public:
__fastcall TNMEAFile();
__fastcall TNMEAFile(AnsiString asFileName);
__fastcall ~TNMEAFile();
void __fastcall Load();
void __fastcall Load(AnsiString asFileName);
__property AnsiString File = { read=GetFile, write=SetFile };
__property PGPXTrack Track = { read=GetTrack };
private:
AnsiString m_asFileName;
PGPXTrack m_pTrack;
void __fastcall SetFile(AnsiString value);
AnsiString __fastcall GetFile();
PGPXTrack __fastcall GetTrack();
protected:
TNMEAParser * m_pParser;
};
#endif