AppGlobalF.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //---------------------------------------------------------------------------
  2. #ifndef AppGlobalFH
  3. #define AppGlobalFH
  4. //#include "ITS_OPLibF.h"
  5. //---------------------------------------------------------------------------
  6. #include <map.h>
  7. #include "ITSDbF.h"
  8. #include "DataTypesF.h"
  9. #include "ITSLogF.h"
  10. #include "CDSCodeF.h"
  11. #include "FrmResourceF.h"
  12. /*
  13. ******************************************************************************
  14. * Global variable definitions
  15. ******************************************************************************
  16. */
  17. extern String CenterCd; // 지역센터 코드
  18. extern String CenterId; // 지역센터 아이디
  19. extern String CenterName; // 지역센터 명칭
  20. extern int g_nPid; // Application Process ID
  21. extern String g_sAppDir; // Application Directory
  22. extern String g_sAppName; // Program name
  23. extern String g_sCfgDir; // Config File Directory
  24. extern String g_sLogDir; // Program Log Directory
  25. extern String g_sTempDir; // Program Temp Directory
  26. extern String g_sFormsDir; // Program Forms Directory
  27. extern String g_sBlackBox;
  28. extern String g_sLangDir;
  29. extern String g_sImageDir;
  30. extern String g_sVideoDir;
  31. extern LOGININFO *g_pLOGIN;
  32. extern LOG_INFO g_LogCfg;
  33. extern TITSLog *FDbLog;
  34. extern String g_sLang;
  35. /*
  36. ******************************************************************************
  37. * Global function definitios
  38. ******************************************************************************
  39. */
  40. bool LoadDefaultConfigInfo(String ACfgFile);
  41. int UserLogin();
  42. int UserLogout();
  43. bool WriteConfigInfo(String sCfgFile, String sTitle, String sItem, String sValue);
  44. bool ReadConfigInfo(String sCfgFile, String sTitle, String sItem, String &sValue);
  45. //----------------------------------------------------------------------------
  46. #endif