CoreMain.h 1.1 KB

1234567891011121314151617181920212223242526
  1. //---------------------------------------------------------------------------
  2. #ifndef CoreMainH
  3. #define CoreMainH
  4. //---------------------------------------------------------------------------
  5. #include "Common.h"
  6. //---------------------------------------------------------------------------
  7. class TConfiguration;
  8. extern TConfiguration *Configuration;
  9. class TStoredSessionList;
  10. extern TStoredSessionList *StoredSessions;
  11. extern bool AnySession;
  12. class TApplicationLog;
  13. extern TApplicationLog * ApplicationLog;
  14. #define AppLog(S) ApplicationLog->Log(S)
  15. #define AppLogFmt(S, F) ApplicationLog->Log(Format(S, ARRAYOFCONST(F)))
  16. //---------------------------------------------------------------------------
  17. void CoreInitialize();
  18. void CoreFinalize();
  19. void CoreSetResourceModule(void * ResourceHandle);
  20. void CoreMaintenanceTask();
  21. void CoreUpdateFinalStaticUsage();
  22. //---------------------------------------------------------------------------
  23. UnicodeString __fastcall NeonVersion();
  24. UnicodeString __fastcall ExpatVersion();
  25. //---------------------------------------------------------------------------
  26. #endif