14 #if( FMI_SUPPORT_A622 ) 50 CDataExchange* aDataExchange
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
BOOL CreateChildProcess(CString dstFilePath)
Create a child process to execute the file conversion.
CString mDstFileName
File name of the converted file specified by the user. Defaults as the same name as Src file with new...
virtual ~CFileConverterDlg()
Destructor.
BOOL OnInitDialog()
Initialize the dialog.
afx_msg void OnBnClickedOk()
Click handler for OK button.
BOOL mSrcCoords
Flags identify the format of the the source and destination files coords.
Serial communication controller for Garmin and FMI packets.
afx_msg void OnBnClickedFind()
Click handler for Find (file to convert) button.
afx_msg void OnBnClickedChoose()
Click handler for Choose (destination folder) button.
afx_msg void OnEnChangeFile()
Edit Change handler for all text boxes.
File conversion tool to support various GPS file formats.
int mConversionType
Type of file conversion to be attempted, as specified by the user.
CString mStopId
Unique Stop ID for the PSR.
CFileConverterDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
CString mDstFolder
Destination folder for the converted file. Defaults to the same folder as Src file.
HANDLE hChildStd_OUT_Rd
Handles for the redirection of the child process stdout.
int mConversionIndex
Index of the chosen combo box item.
unsigned char uint8
8-bit unsigned integer
CString mSrcFilePath
Path and file name of the file to be converted, as specified by the user.
afx_msg void OnComboChanged()
Change Handler for the combo box.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
CString FormatArguments(CString dstFilePath)
Helper function to format the command line arguments.
#define IDD_FILECONVERTER
CString mRouteName
Route name (Stop Text) of the PSR (limited to 200 bytes)
void ReadFromPipe(void)
Read output from the child process's pipe for STDOUT.