00001 00008 #ifndef __CIDLG_H 00009 #define __CIDLG_H 00010 00011 #include "cidb.h" 00012 #include <windows.h> 00013 00018 typedef struct { 00021 TCHAR csvfile[MAX_PATH + 1]; 00024 TCHAR dbfile[MAX_PATH + 1]; 00029 double minlat; 00034 double maxlat; 00039 double minlon; 00044 double maxlon; 00048 int timer; 00053 int udp; 00054 } t_cidlg_cfg; 00055 00060 void cidlg_rdcfg(t_cidlg_cfg *theCfg); 00061 00068 BOOL cidlg(HWND aParentWin, t_cidlg_cfg *aCfg); 00069 00082 const TCHAR *cistrerr(TCHAR *theBuf, 00083 int aLen, 00084 HINSTANCE hInst, 00085 t_cidb_err anErr); 00086 00095 void cishowerr(HWND hwnd, t_cidb_err errcode); 00096 00097 #endif 00098