[ROSAUTOTEST]
[reactos.git] / rostests / rosautotest / precomp.h
index 34bd7ee..fa752b8 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _ROSAUTOTEST_H_
+#define _ROSAUTOTEST_H_
+
 /* General includes */
 #include <iostream>
 #include <memory>
@@ -17,6 +20,7 @@ using namespace std;
 #include <reason.h>
 #include <shlobj.h>
 #include <wininet.h>
+#include <winreg.h>
 
 #include <ndk/rtlfuncs.h>
 #include <reactos/buildno.h>
@@ -26,8 +30,11 @@ using namespace std;
 #include "CConfiguration.h"
 #include "CFatalException.h"
 #include "CInvalidParameterException.h"
+#include "CPipe.h"
 #include "CProcess.h"
+#include "CPipedProcess.h"
 #include "CSimpleException.h"
+#include "CTestException.h"
 #include "CTestInfo.h"
 #include "CTest.h"
 #include "CTestList.h"
@@ -36,14 +43,22 @@ using namespace std;
 #include "CWebService.h"
 #include "CWineTest.h"
 
+#include <rosautotestmsg.h>
+
 /* Useful macros */
-#define EXCEPTION(Message)   throw CSimpleException(Message)
-#define FATAL(Message)       throw CFatalException(__FILE__, __LINE__, Message)
-#define SSEXCEPTION          throw CSimpleException(ss.str().c_str())
+#define EXCEPTION(Message)     throw CSimpleException(Message)
+#define FATAL(Message)         throw CFatalException(__FILE__, __LINE__, Message)
+#define SSEXCEPTION            throw CSimpleException(ss.str())
+#define TESTEXCEPTION(Message) throw CTestException(Message)
 
 /* main.c */
 extern CConfiguration Configuration;
 
+/* misc.c */
+VOID FreeLogs(VOID);
+VOID InitLogs(VOID);
+extern HANDLE hLog;
+
 /* shutdown.c */
 bool ShutdownSystem();
 
@@ -57,3 +72,5 @@ bool IsNumber(const char* Input);
 string StringOut(const string& String, bool forcePrint = true);
 string UnicodeToAscii(PCWSTR UnicodeString);
 string UnicodeToAscii(const wstring& UnicodeString);
+
+#endif /* _ROSAUTOTEST_H_ */