DriverConfigInfo.tlh 584 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include <string>
  3. #pragma warning (disable:4251)
  4. class ConfigInfo
  5. {
  6. public:
  7. ConfigInfo (const char* Key, const char* strType, const char* strAccess, const char* strRequired, const char* strDefaultValue);
  8. virtual ~ConfigInfo ();
  9. void SetList (const char* str);
  10. void SetRange (const char* strmin, const char* strmax);
  11. const char* GetCurrentValue ();
  12. void SetCurrentValue (const char* res);
  13. const char* GetDescription ();
  14. const char* GetKey ();
  15. private:
  16. std::string strConfKey;
  17. std::string resValue;
  18. std::string resDescription;
  19. };