mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tidy up includes and header material
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_CHILDPROCESS_BEASTHEADER
|
||||
#define BEAST_CHILDPROCESS_BEASTHEADER
|
||||
#ifndef BEAST_CHILDPROCESS_H_INCLUDED
|
||||
#define BEAST_CHILDPROCESS_H_INCLUDED
|
||||
|
||||
|
||||
//==============================================================================
|
||||
@@ -95,4 +95,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_CHILDPROCESS_BEASTHEADER
|
||||
#endif // BEAST_CHILDPROCESS_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_CRITICALSECTION_BEASTHEADER
|
||||
#define BEAST_CRITICALSECTION_BEASTHEADER
|
||||
#ifndef BEAST_CRITICALSECTION_H_INCLUDED
|
||||
#define BEAST_CRITICALSECTION_H_INCLUDED
|
||||
|
||||
#include "beast_ScopedLock.h"
|
||||
|
||||
@@ -258,4 +258,4 @@ typedef CriticalSection::ScopedUnlockType ScopedUnlock;
|
||||
typedef CriticalSection::ScopedTryLockType ScopedTryLock;
|
||||
|
||||
|
||||
#endif // BEAST_CRITICALSECTION_BEASTHEADER
|
||||
#endif // BEAST_CRITICALSECTION_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_DYNAMICLIBRARY_BEASTHEADER
|
||||
#define BEAST_DYNAMICLIBRARY_BEASTHEADER
|
||||
#ifndef BEAST_DYNAMICLIBRARY_H_INCLUDED
|
||||
#define BEAST_DYNAMICLIBRARY_H_INCLUDED
|
||||
|
||||
/**
|
||||
Handles the opening and closing of DLLs.
|
||||
@@ -75,4 +75,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_DYNAMICLIBRARY_BEASTHEADER
|
||||
#endif // BEAST_DYNAMICLIBRARY_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_HIGHRESOLUTIONTIMER_BEASTHEADER
|
||||
#define BEAST_HIGHRESOLUTIONTIMER_BEASTHEADER
|
||||
#ifndef BEAST_HIGHRESOLUTIONTIMER_H_INCLUDED
|
||||
#define BEAST_HIGHRESOLUTIONTIMER_H_INCLUDED
|
||||
|
||||
/**
|
||||
A high-resolution periodic timer.
|
||||
@@ -99,4 +99,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_HIGHRESOLUTIONTIMER_BEASTHEADER
|
||||
#endif // BEAST_HIGHRESOLUTIONTIMER_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_INTERPROCESSLOCK_BEASTHEADER
|
||||
#define BEAST_INTERPROCESSLOCK_BEASTHEADER
|
||||
#ifndef BEAST_INTERPROCESSLOCK_H_INCLUDED
|
||||
#define BEAST_INTERPROCESSLOCK_H_INCLUDED
|
||||
|
||||
#include "../text/beast_String.h"
|
||||
#include "../memory/beast_ScopedPointer.h"
|
||||
@@ -119,4 +119,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_INTERPROCESSLOCK_BEASTHEADER
|
||||
#endif // BEAST_INTERPROCESSLOCK_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_PROCESS_BEASTHEADER
|
||||
#define BEAST_PROCESS_BEASTHEADER
|
||||
#ifndef BEAST_PROCESS_H_INCLUDED
|
||||
#define BEAST_PROCESS_H_INCLUDED
|
||||
|
||||
#include "../text/beast_String.h"
|
||||
|
||||
@@ -141,4 +141,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_PROCESS_BEASTHEADER
|
||||
#endif // BEAST_PROCESS_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_READWRITELOCK_BEASTHEADER
|
||||
#define BEAST_READWRITELOCK_BEASTHEADER
|
||||
#ifndef BEAST_READWRITELOCK_H_INCLUDED
|
||||
#define BEAST_READWRITELOCK_H_INCLUDED
|
||||
|
||||
#include "beast_CriticalSection.h"
|
||||
#include "beast_SpinLock.h"
|
||||
@@ -149,4 +149,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_READWRITELOCK_BEASTHEADER
|
||||
#endif // BEAST_READWRITELOCK_H_INCLUDED
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_READWRITEMUTEX_BEASTHEADER
|
||||
#define BEAST_READWRITEMUTEX_BEASTHEADER
|
||||
#ifndef BEAST_READWRITEMUTEX_H_INCLUDED
|
||||
#define BEAST_READWRITEMUTEX_H_INCLUDED
|
||||
|
||||
/*============================================================================*/
|
||||
/**
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_SCOPEDLOCK_BEASTHEADER
|
||||
#define BEAST_SCOPEDLOCK_BEASTHEADER
|
||||
#ifndef BEAST_SCOPEDLOCK_H_INCLUDED
|
||||
#define BEAST_SCOPEDLOCK_H_INCLUDED
|
||||
|
||||
//==============================================================================
|
||||
/**
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_SCOPEDREADLOCK_BEASTHEADER
|
||||
#define BEAST_SCOPEDREADLOCK_BEASTHEADER
|
||||
#ifndef BEAST_SCOPEDREADLOCK_H_INCLUDED
|
||||
#define BEAST_SCOPEDREADLOCK_H_INCLUDED
|
||||
|
||||
#include "beast_ReadWriteLock.h"
|
||||
|
||||
@@ -82,4 +82,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_SCOPEDREADLOCK_BEASTHEADER
|
||||
#endif // BEAST_SCOPEDREADLOCK_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_SCOPEDWRITELOCK_BEASTHEADER
|
||||
#define BEAST_SCOPEDWRITELOCK_BEASTHEADER
|
||||
#ifndef BEAST_SCOPEDWRITELOCK_H_INCLUDED
|
||||
#define BEAST_SCOPEDWRITELOCK_H_INCLUDED
|
||||
|
||||
#include "beast_ReadWriteLock.h"
|
||||
|
||||
@@ -82,4 +82,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_SCOPEDWRITELOCK_BEASTHEADER
|
||||
#endif // BEAST_SCOPEDWRITELOCK_H_INCLUDED
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_SPINDELAY_BEASTHEADER
|
||||
#define BEAST_SPINDELAY_BEASTHEADER
|
||||
#ifndef BEAST_SPINDELAY_H_INCLUDED
|
||||
#define BEAST_SPINDELAY_H_INCLUDED
|
||||
|
||||
/** A simple delay used to synchronize threads.
|
||||
*/
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_SPINLOCK_BEASTHEADER
|
||||
#define BEAST_SPINLOCK_BEASTHEADER
|
||||
#ifndef BEAST_SPINLOCK_H_INCLUDED
|
||||
#define BEAST_SPINLOCK_H_INCLUDED
|
||||
|
||||
#include "beast_ScopedLock.h"
|
||||
|
||||
@@ -83,4 +83,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_SPINLOCK_BEASTHEADER
|
||||
#endif // BEAST_SPINLOCK_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_THREAD_BEASTHEADER
|
||||
#define BEAST_THREAD_BEASTHEADER
|
||||
#ifndef BEAST_THREAD_H_INCLUDED
|
||||
#define BEAST_THREAD_H_INCLUDED
|
||||
|
||||
#include "beast_WaitableEvent.h"
|
||||
#include "beast_CriticalSection.h"
|
||||
@@ -281,4 +281,4 @@ private:
|
||||
static bool setThreadPriority (void*, int);
|
||||
};
|
||||
|
||||
#endif // BEAST_THREAD_BEASTHEADER
|
||||
#endif // BEAST_THREAD_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_THREADLOCALVALUE_BEASTHEADER
|
||||
#define BEAST_THREADLOCALVALUE_BEASTHEADER
|
||||
#ifndef BEAST_THREADLOCALVALUE_H_INCLUDED
|
||||
#define BEAST_THREADLOCALVALUE_H_INCLUDED
|
||||
|
||||
// (NB: on win32, native thread-locals aren't possible in a dynamically loaded DLL in XP).
|
||||
#if ! ((BEAST_MSVC && (BEAST_64BIT || ! defined (BeastPlugin_PluginCode))) \
|
||||
@@ -187,4 +187,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_THREADLOCALVALUE_BEASTHEADER
|
||||
#endif // BEAST_THREADLOCALVALUE_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_THREADPOOL_BEASTHEADER
|
||||
#define BEAST_THREADPOOL_BEASTHEADER
|
||||
#ifndef BEAST_THREADPOOL_H_INCLUDED
|
||||
#define BEAST_THREADPOOL_H_INCLUDED
|
||||
|
||||
#include "beast_Thread.h"
|
||||
#include "../text/beast_StringArray.h"
|
||||
@@ -306,4 +306,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_THREADPOOL_BEASTHEADER
|
||||
#endif // BEAST_THREADPOOL_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_TIMESLICETHREAD_BEASTHEADER
|
||||
#define BEAST_TIMESLICETHREAD_BEASTHEADER
|
||||
#ifndef BEAST_TIMESLICETHREAD_H_INCLUDED
|
||||
#define BEAST_TIMESLICETHREAD_H_INCLUDED
|
||||
|
||||
#include "beast_Thread.h"
|
||||
#include "../containers/beast_Array.h"
|
||||
@@ -144,4 +144,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_TIMESLICETHREAD_BEASTHEADER
|
||||
#endif // BEAST_TIMESLICETHREAD_H_INCLUDED
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_WAITABLEEVENT_BEASTHEADER
|
||||
#define BEAST_WAITABLEEVENT_BEASTHEADER
|
||||
#ifndef BEAST_WAITABLEEVENT_H_INCLUDED
|
||||
#define BEAST_WAITABLEEVENT_H_INCLUDED
|
||||
|
||||
#include "../text/beast_String.h"
|
||||
|
||||
@@ -112,4 +112,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif // BEAST_WAITABLEEVENT_BEASTHEADER
|
||||
#endif // BEAST_WAITABLEEVENT_H_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user