mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 21:47:57 +00:00
Convert to pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef __CFPOINTER_HPP__
|
||||
#define __CFPOINTER_HPP__
|
||||
#pragma once
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <CoreFoundation/CFPlugInCOM.h>
|
||||
@@ -154,4 +153,3 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
#endif // __CFPOINTER_HPP__
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_INTERNAL_COMMON_HPP
|
||||
#define BOO_INTERNAL_COMMON_HPP
|
||||
#pragma once
|
||||
|
||||
#include "boo/BooObject.hpp"
|
||||
#include <iterator>
|
||||
@@ -78,4 +77,3 @@ static inline uint32_t flp2(uint32_t x)
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_INTERNAL_COMMON_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_AUDIOMATRIX_HPP
|
||||
#define BOO_AUDIOMATRIX_HPP
|
||||
#pragma once
|
||||
|
||||
#include "boo/audiodev/IAudioVoice.hpp"
|
||||
#include <vector>
|
||||
@@ -163,4 +162,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_AUDIOMATRIX_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_AUDIOSUBMIX_HPP
|
||||
#define BOO_AUDIOSUBMIX_HPP
|
||||
#pragma once
|
||||
|
||||
#include "boo/audiodev/IAudioSubmix.hpp"
|
||||
#include <list>
|
||||
@@ -101,4 +100,3 @@ template <> inline float*& AudioSubmix::_getRedirect<float>() { return m_redirec
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_AUDIOSUBMIX_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_AUDIOVOICE_HPP
|
||||
#define BOO_AUDIOVOICE_HPP
|
||||
#pragma once
|
||||
|
||||
#include <soxr.h>
|
||||
#include <list>
|
||||
@@ -131,4 +130,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_AUDIOVOICE_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_AUDIOVOICEENGINE_HPP
|
||||
#define BOO_AUDIOVOICEENGINE_HPP
|
||||
#pragma once
|
||||
|
||||
#include "boo/audiodev/IAudioVoiceEngine.hpp"
|
||||
#include "LtRtProcessing.hpp"
|
||||
@@ -93,4 +92,3 @@ template <> inline std::vector<float>& BaseAudioVoiceEngine::_getLtRtIn<float>()
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_AUDIOVOICEENGINE_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_AUDIOCOMMON_HPP
|
||||
#define BOO_AUDIOCOMMON_HPP
|
||||
#pragma once
|
||||
|
||||
#include <soxr.h>
|
||||
#include "../Common.hpp"
|
||||
@@ -21,4 +20,3 @@ struct AudioVoiceEngineMixInfo
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_AUDIOCOMMON_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_LINUXMIDI_HPP
|
||||
#define BOO_LINUXMIDI_HPP
|
||||
#pragma once
|
||||
|
||||
#include "AudioVoiceEngine.hpp"
|
||||
#include "logvisor/logvisor.hpp"
|
||||
@@ -309,4 +308,3 @@ struct LinuxMidi : BaseAudioVoiceEngine
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_LINUXMIDI_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_LTRTPROCESSING_HPP
|
||||
#define BOO_LTRTPROCESSING_HPP
|
||||
#pragma once
|
||||
|
||||
#include "boo/System.hpp"
|
||||
#include "boo/audiodev/IAudioVoice.hpp"
|
||||
@@ -80,4 +79,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_LTRTPROCESSING_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_MIDICOMMON_HPP
|
||||
#define BOO_MIDICOMMON_HPP
|
||||
#pragma once
|
||||
|
||||
namespace boo
|
||||
{
|
||||
@@ -29,4 +28,3 @@ enum class Status
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_MIDICOMMON_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_GRAPHICSDEV_COMMON_HPP
|
||||
#define BOO_GRAPHICSDEV_COMMON_HPP
|
||||
#pragma once
|
||||
|
||||
/* Private header for managing shader data
|
||||
* binding lifetimes through rendering cycle */
|
||||
@@ -163,4 +162,3 @@ void UpdateGammaLUT(ITextureD* tex, float gamma);
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_GRAPHICSDEV_COMMON_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef IHIDDEVICE_HPP
|
||||
#define IHIDDEVICE_HPP
|
||||
#pragma once
|
||||
|
||||
#include "boo/inputdev/DeviceToken.hpp"
|
||||
#include "boo/inputdev/DeviceBase.hpp"
|
||||
@@ -35,4 +34,3 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif // IHIDDEVICE_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef __IOKITPOINTER_HPP__
|
||||
#define __IOKITPOINTER_HPP__
|
||||
#pragma once
|
||||
|
||||
#include "../CFPointer.hpp"
|
||||
#include <IOKit/IOTypes.h>
|
||||
@@ -118,4 +117,3 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
#endif // __IOKITPOINTER_HPP__
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_COCOACOMMON_HPP
|
||||
#define BOO_COCOACOMMON_HPP
|
||||
#pragma once
|
||||
#if __APPLE__
|
||||
|
||||
#if !__has_feature(objc_arc)
|
||||
@@ -42,4 +41,3 @@ namespace boo
|
||||
#endif
|
||||
|
||||
#endif // __APPLE__
|
||||
#endif // BOO_COCOACOMMON_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_UWPCOMMON_HPP
|
||||
#define BOO_UWPCOMMON_HPP
|
||||
#pragma once
|
||||
|
||||
#include "WinCommon.hpp"
|
||||
|
||||
@@ -84,4 +83,3 @@ struct Boo3DAppContextUWP : Boo3DAppContext
|
||||
}
|
||||
};
|
||||
|
||||
#endif // BOO_UWPCOMMON_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_WIN32COMMON_HPP
|
||||
#define BOO_WIN32COMMON_HPP
|
||||
#pragma once
|
||||
|
||||
#ifndef _CRT_SECURE_NO_WARNINGS
|
||||
#define _CRT_SECURE_NO_WARNINGS 1 /* STFU MSVC */
|
||||
@@ -168,4 +167,3 @@ namespace boo
|
||||
extern Win32Cursors WIN32_CURSORS;
|
||||
}
|
||||
|
||||
#endif // BOO_WIN32COMMON_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_WINCOMMON_HPP
|
||||
#define BOO_WINCOMMON_HPP
|
||||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
#include "boo/IWindow.hpp"
|
||||
@@ -133,4 +132,3 @@ static inline std::wstring MBSTWCS(const char* str)
|
||||
return strTo;
|
||||
}
|
||||
|
||||
#endif // BOO_WINCOMMON_HPP
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef BOO_XLIBCOMMON_HPP
|
||||
#define BOO_XLIBCOMMON_HPP
|
||||
#pragma once
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
@@ -19,4 +18,3 @@ extern XlibCursors X_CURSORS;
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_XLIBCOMMON_HPP
|
||||
|
||||
Reference in New Issue
Block a user