//--------------------------------------------------------------------------- #ifndef DataTypesFH #define DataTypesFH //--------------------------------------------------------------------------- #include #include #include //--------------------------------------------------------------------------- /* ****************************************************************************** * 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