ReactOS  0.4.15-dev-2956-g61e7ea5
CConfiguration.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Automatic Testing Utility
3  * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE: Class for managing all the configuration parameters
5  * COPYRIGHT: Copyright 2009 Colin Finck (colin@reactos.org)
6  */
7 
9 {
10 private:
15  unsigned long m_RepeatCount;
16  bool m_Shutdown;
17  bool m_Submit;
19  string m_Comment;
20  wstring m_Module;
21  string m_Test;
22 
25 
26 public:
28  void ParseParameters(int argc, wchar_t* argv[]);
29  void GetSystemInformation();
31 
32  bool DoCrashRecovery() const { return m_CrashRecovery; }
33  bool DoPrint() const { return m_PrintToConsole; }
34  bool DoShutdown() const { return m_Shutdown; }
35  bool DoSubmit() const { return m_Submit; }
36  bool IsInteractive() const { return m_IsInteractive; }
37  bool IsReactOS() const { return m_IsReactOS; }
38  unsigned long GetRepeatCount() const { return m_RepeatCount; }
39  bool ListModulesOnly() const { return m_ListModules; }
40  const string& GetComment() const { return m_Comment; }
41  const wstring& GetModule() const { return m_Module; }
42  const string& GetTest() const { return m_Test; }
43 
45  const string& GetSystemInfoRequestString() const { return m_SystemInfoRequestString; }
46 };
static int argc
Definition: ServiceArgs.c:12
bool DoShutdown() const
bool DoSubmit() const
#define argv
Definition: mplay32.c:18
const string & GetAuthenticationRequestString() const
bool DoCrashRecovery() const
string m_SystemInfoRequestString
bool IsReactOS() const
const string & GetSystemInfoRequestString() const
void ParseParameters(int argc, wchar_t *argv[])
unsigned long m_RepeatCount
const string & GetComment() const
void GetConfigurationFromFile()
const string & GetTest() const
bool ListModulesOnly() const
const wstring & GetModule() const
bool DoPrint() const
unsigned long GetRepeatCount() const
bool IsInteractive() const
string m_AuthenticationRequestString
void GetSystemInformation()