forked from alexgoussev/TrackProcessor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PVTFile.h
37 lines (30 loc) · 890 Bytes
/
PVTFile.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
32
33
34
35
36
37
//---------------------------------------------------------------------------
#ifndef PVTFileH
#define PVTFileH
//---------------------------------------------------------------------------
#include "NMEAParser.h"
#define PVTFILE_MSG_NEWTRACK (WM_APP + 600)
struct tagPVTHeader {
DWORD dwDummy;
DWORD dwLength;
};
class TPVTFile {
public:
__fastcall TPVTFile();
__fastcall TPVTFile(AnsiString asFileName);
__fastcall ~TPVTFile();
void __fastcall Load();
void __fastcall Load(AnsiString asFileName);
__property PGPXTrack Track = { read=GetTrack };
__property AnsiString File = { read=GetFile, write=SetFile };
private:
AnsiString m_asFileName;
PGPXTrack __fastcall GetTrack();
void __fastcall SetFile(AnsiString value);
AnsiString __fastcall GetFile();
protected:
TNMEAParser* m_pParser;
bool m_bMsgSent;
bool __fastcall IsHex(char ch);
};
#endif