windows-nt/Source/XPSP1/NT/admin/dcpromo/exe/answerfile.hpp
2020-09-26 16:20:57 +08:00

45 lines
642 B
C++

// 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