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.

44 lines
642 B

  1. // Copyright (C) 1997 Microsoft Corporation
  2. //
  3. // answerfile reader object
  4. //
  5. // 12-15-97 sburns
  6. #ifndef ANSWER_HPP_INCLUDED
  7. #define ANSWER_HPP_INCLUDED
  8. class AnswerFile
  9. {
  10. public:
  11. explicit
  12. AnswerFile(const String& filename);
  13. ~AnswerFile();
  14. bool
  15. IsKeyPresent(
  16. const String& section,
  17. const String& key);
  18. String
  19. ReadKey(const String& section, const String& key);
  20. EncodedString
  21. EncodedReadKey(const String& section, const String& key);
  22. void
  23. WriteKey(const String& section, const String& key, const String& value);
  24. private:
  25. String filename;
  26. };
  27. #endif // ANSWER_HPP_INCLUDED