Made sure every file includes common.h directly or indirectly.

Also made sure common.h is included before any system headers.
This commit is contained in:
crs 2003-02-12 19:38:39 +00:00
parent f0445295b5
commit 154a474289
9 changed files with 9 additions and 3 deletions

View File

@ -15,6 +15,8 @@
#ifndef CARCHMISCWINDOWS_H #ifndef CARCHMISCWINDOWS_H
#define CARCHMISCWINDOWS_H #define CARCHMISCWINDOWS_H
#include "common.h"
//! Miscellaneous win32 functions. //! Miscellaneous win32 functions.
class CArchMiscWindows { class CArchMiscWindows {
public: public:

View File

@ -15,6 +15,7 @@
#ifndef XARCH_H #ifndef XARCH_H
#define XARCH_H #define XARCH_H
#include "common.h"
#include "stdstring.h" #include "stdstring.h"
//! Generic thread exception //! Generic thread exception

View File

@ -17,7 +17,6 @@
#include "common.h" #include "common.h"
#include "IArchMultithread.h" #include "IArchMultithread.h"
#include "IInterface.h"
#include "stdlist.h" #include "stdlist.h"
#include <stdarg.h> #include <stdarg.h>

View File

@ -15,6 +15,7 @@
#ifndef CSTRING_H #ifndef CSTRING_H
#define CSTRING_H #define CSTRING_H
#include "common.h"
#include "stdstring.h" #include "stdstring.h"
// use standard C++ string class for our string class // use standard C++ string class for our string class

View File

@ -15,6 +15,7 @@
#ifndef ILOGOUTPUTTER_H #ifndef ILOGOUTPUTTER_H
#define ILOGOUTPUTTER_H #define ILOGOUTPUTTER_H
#include "IInterface.h"
#include "CLog.h" #include "CLog.h"
//! Outputter interface //! Outputter interface

View File

@ -17,7 +17,6 @@
#include "CMutex.h" #include "CMutex.h"
#include "BasicTypes.h" #include "BasicTypes.h"
#include "IArchMultithread.h"
class CStopwatch; class CStopwatch;

View File

@ -15,6 +15,8 @@
#ifndef CLOCK_H #ifndef CLOCK_H
#define CLOCK_H #define CLOCK_H
#include "common.h"
class CMutex; class CMutex;
class CCondVarBase; class CCondVarBase;

View File

@ -15,7 +15,6 @@
#ifndef CTHREAD_H #ifndef CTHREAD_H
#define CTHREAD_H #define CTHREAD_H
#include "common.h"
#include "IArchMultithread.h" #include "IArchMultithread.h"
class IJob; class IJob;

View File

@ -15,6 +15,8 @@
#ifndef CTIMERTHREAD_H #ifndef CTIMERTHREAD_H
#define CTIMERTHREAD_H #define CTIMERTHREAD_H
#include "common.h"
class CThread; class CThread;
//! A timer thread //! A timer thread