1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- //---------------------------------------------------------------------------
- #ifndef DataTypesFH
- #define DataTypesFH
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #include <Classes.hpp>
- #include <windows.h>
- //---------------------------------------------------------------------------
- /*
- ******************************************************************************
- * Define enum
- ******************************************************************************
- */
- typedef enum
- {
- enJobNone = 0,
- enJobSave,
- enJobEdit,
- enJobDelete,
- enJobUpdate,
- } EN_JOB;
- //---------------------------------------------------------------------------
- typedef enum
- {
- enDbNone,
- enDbInsert,
- enDbUpdate,
- enDbDelete,
- } EN_DBMODE;
- //---------------------------------------------------------------------------
- #define DBMODE_NONE "-"
- #define DBMODE_INSERT "신규"
- #define DBMODE_UPDATE "수정"
- #define DBMODE_DELETE "삭제"
- #define DBMODE_UNKNOWN "?"
- //---------------------------------------------------------------------------
- /*
- ******************************************************************************
- * Define user structure
- ******************************************************************************
- */
- /*
- * 전자지도에서 위치정보를 관리하기 위한 구조체 정의
- */
- typedef struct
- {
- TForm *pForm;
- int Level;
- String Id;
- } ST_SELLINK;
- /*
- * 전자지도 정보를 저장할 구조체
- */
- typedef struct
- {
- int mapType;
- String offLineMapPath;
- String onLineMapPath;
- String imagePath;
- String sApiKey; // Api Key
- int nZoomLevel; // Init Zoom Level
- int nMinZoom; // Min Zoom Level
- int nMaxZoom; // Max Zoom Level
- int nFacilityZoom; // Facility init zoom level
- double dCenterX; // Lat
- double dCenterY; // Lng
- double dLeftTopX; // boundary
- double dLeftTopY; // boundary
- double dRightBottomX; // boundary
- double dRightBottomY; // boundary
- } ST_GISINFO;
- //---------------------------------------------------------------------------
- typedef struct
- {
- String AClassName;
- String AExeName;
- String AOption;
- } ST_RUNPROGRAM;
- #endif
|