1 /*
2  * PROJECT:     ReactOS Automatic Testing Utility
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     Class implementing the interface to the "testman" Web Service
5  * COPYRIGHT:   Copyright 2009-2015 Colin Finck (colin@reactos.org)
6  */
7 
8 class CWebService
9 {
10 private:
11     HINTERNET m_hInet;
12     HINTERNET m_hHTTP;
13     HINTERNET m_hHTTPRequest;
14     PCHAR m_TestID;
15 
16     PCHAR DoRequest(const string& InputData);
17     void GetTestID(const char* TestType);
18     PCHAR GetSuiteID(const char* TestType, CTestInfo* TestInfo);
19 
20 public:
21     CWebService();
22     ~CWebService();
23 
24     void Finish(const char* TestType);
25     void Submit(const char* TestType, CTestInfo* TestInfo);
26 };
27