1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- //---------------------------------------------------------------------------
- #ifndef CDSVmsFormFH
- #define CDSVmsFormFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <stdio.h>
- #include <ADODB.hpp>
- #include <DB.hpp>
- //---------------------------------------------------------------------------
- #include "ITSLibF.h"
- //---------------------------------------------------------------------------
- /*
- * class
- */
- class TCDSVmsForm
- {
- public:
- TCDSVmsForm() {};
- ~TCDSVmsForm() {};
- public:
- String VMS_FORM_ID;
- String VALID_YN;
- public:
- void Init();
- };
- //---------------------------------------------------------------------------
- /*
- * Manager
- */
- class TCDSVmsFormManager
- {
- public:
- TCDSVmsFormManager();
- virtual ~TCDSVmsFormManager();
- public:
- TItsMap<String, TCDSVmsForm*> FLists;
- public:
- void Init();
- bool LoadFromDb(TADOConnection *ADbConn=NULL);
- void AddVmsForm(String AVMS_FORM_ID, String AVALID_YN);
- bool IsValid(String AVMS_FORM_ID);
- };
- //---------------------------------------------------------------------------
- extern TCDSVmsFormManager *CDSVmsFormManager;
- //---------------------------------------------------------------------------
- #endif
|