//--------------------------------------------------------------------------- #ifndef AppGlobalFH #define AppGlobalFH //#include "ITS_OPLibF.h" //--------------------------------------------------------------------------- #include #include "ITSDbF.h" #include "DataTypesF.h" #include "ITSLogF.h" #include "CDSCodeF.h" #include "FrmResourceF.h" /* ****************************************************************************** * Global variable definitions ****************************************************************************** */ extern String CenterCd; // Áö¿ª¼¾ÅÍ ÄÚµå extern String CenterId; // Áö¿ª¼¾ÅÍ ¾ÆÀ̵ð extern String CenterName; // Áö¿ª¼¾ÅÍ ¸íĪ extern int g_nPid; // Application Process ID extern String g_sAppDir; // Application Directory extern String g_sAppName; // Program name extern String g_sCfgDir; // Config File Directory extern String g_sLogDir; // Program Log Directory extern String g_sTempDir; // Program Temp Directory extern String g_sFormsDir; // Program Forms Directory extern String g_sBlackBox; extern String g_sLangDir; extern String g_sImageDir; extern String g_sVideoDir; extern LOGININFO *g_pLOGIN; extern LOG_INFO g_LogCfg; extern TITSLog *FDbLog; extern String g_sLang; /* ****************************************************************************** * Global function definitios ****************************************************************************** */ bool LoadDefaultConfigInfo(String ACfgFile); int UserLogin(); int UserLogout(); bool WriteConfigInfo(String sCfgFile, String sTitle, String sItem, String sValue); bool ReadConfigInfo(String sCfgFile, String sTitle, String sItem, String &sValue); //---------------------------------------------------------------------------- #endif