Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
911 B

  1. //
  2. // MODULE: INIREAD.H
  3. //
  4. // PURPOSE: INI file reading classes
  5. //
  6. // COMPANY: Saltmine Creative, Inc. (206)-284-7511 [email protected]
  7. //
  8. // AUTHOR: Oleg Kalosha
  9. //
  10. // ORIGINAL DATE: 7-29-98
  11. //
  12. // NOTES:
  13. //
  14. // Version Date By Comments
  15. //--------------------------------------------------------------------
  16. // V3.0 08-04-98 OK
  17. //
  18. #ifndef __INIREAD_H_
  19. #define __INIREAD_H_
  20. #include "fileread.h"
  21. ////////////////////////////////////////////////////////////////////////////////////
  22. // CINIReader
  23. ////////////////////////////////////////////////////////////////////////////////////
  24. class CINIReader : public CTextFileReader
  25. {
  26. CString m_strSection; // section name
  27. protected:
  28. vector<CString> m_arrLines; // vector of non-commented lines
  29. public:
  30. CINIReader(CPhysicalFileReader * pPhysicalFileReader, LPCTSTR section);
  31. ~CINIReader();
  32. protected:
  33. virtual void Parse();
  34. };
  35. #endif __INIREAD_H_