CDSFontNameF.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //---------------------------------------------------------------------------
  2. #ifndef CDSFontNameFH
  3. #define CDSFontNameFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <stdio.h>
  7. //---------------------------------------------------------------------------
  8. #include "ITSLibF.h"
  9. //---------------------------------------------------------------------------
  10. class TVmsFontName
  11. {
  12. public:
  13. TVmsFontName(int AFONT_CD, String AFONT_NM, String AFONT_DESC);
  14. TVmsFontName() {};
  15. ~TVmsFontName() {};
  16. public:
  17. int FONT_CD;
  18. String FONT_NM;
  19. String FONT_DESC;
  20. String USE_YN;
  21. };
  22. //---------------------------------------------------------------------------
  23. //---------------------------------------------------------------------------
  24. class TFontNameManager
  25. {
  26. public:
  27. TFontNameManager();
  28. ~TFontNameManager();
  29. private:
  30. public:
  31. TItsMap<int, TVmsFontName*> FLists;
  32. public:
  33. int Load();
  34. TVmsFontName *Find(int ATypeCd);
  35. };
  36. //---------------------------------------------------------------------------
  37. extern TFontNameManager *FontNameManager;
  38. //---------------------------------------------------------------------------
  39. #endif