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:
parent
f0445295b5
commit
154a474289
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
#include "CMutex.h"
|
#include "CMutex.h"
|
||||||
#include "BasicTypes.h"
|
#include "BasicTypes.h"
|
||||||
#include "IArchMultithread.h"
|
|
||||||
|
|
||||||
class CStopwatch;
|
class CStopwatch;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue