mirror of https://github.com/tongzx/nt5src
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
44 lines
642 B
// Copyright (C) 1997 Microsoft Corporation
|
|
//
|
|
// answerfile reader object
|
|
//
|
|
// 12-15-97 sburns
|
|
|
|
|
|
|
|
#ifndef ANSWER_HPP_INCLUDED
|
|
#define ANSWER_HPP_INCLUDED
|
|
|
|
|
|
|
|
class AnswerFile
|
|
{
|
|
public:
|
|
|
|
explicit
|
|
AnswerFile(const String& filename);
|
|
|
|
~AnswerFile();
|
|
|
|
bool
|
|
IsKeyPresent(
|
|
const String& section,
|
|
const String& key);
|
|
|
|
String
|
|
ReadKey(const String& section, const String& key);
|
|
|
|
EncodedString
|
|
EncodedReadKey(const String& section, const String& key);
|
|
|
|
void
|
|
WriteKey(const String& section, const String& key, const String& value);
|
|
|
|
private:
|
|
|
|
String filename;
|
|
};
|
|
|
|
|
|
|
|
#endif // ANSWER_HPP_INCLUDED
|