CDSVmsFormF.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //---------------------------------------------------------------------------
  2. #ifndef CDSVmsFormFH
  3. #define CDSVmsFormFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <stdio.h>
  7. #include <ADODB.hpp>
  8. #include <DB.hpp>
  9. //---------------------------------------------------------------------------
  10. #include "ITSLibF.h"
  11. //---------------------------------------------------------------------------
  12. /*
  13. * class
  14. */
  15. class TCDSVmsForm
  16. {
  17. public:
  18. TCDSVmsForm() {};
  19. ~TCDSVmsForm() {};
  20. public:
  21. String VMS_FORM_ID;
  22. String VALID_YN;
  23. public:
  24. void Init();
  25. };
  26. //---------------------------------------------------------------------------
  27. /*
  28. * Manager
  29. */
  30. class TCDSVmsFormManager
  31. {
  32. public:
  33. TCDSVmsFormManager();
  34. virtual ~TCDSVmsFormManager();
  35. public:
  36. TItsMap<String, TCDSVmsForm*> FLists;
  37. public:
  38. void Init();
  39. bool LoadFromDb(TADOConnection *ADbConn=NULL);
  40. void AddVmsForm(String AVMS_FORM_ID, String AVALID_YN);
  41. bool IsValid(String AVMS_FORM_ID);
  42. };
  43. //---------------------------------------------------------------------------
  44. extern TCDSVmsFormManager *CDSVmsFormManager;
  45. //---------------------------------------------------------------------------
  46. #endif