Replace all include guard ifdefs with "#pragma once"

This commit is contained in:
lioncash
2014-02-10 18:07:16 -05:00
committed by Lioncash
parent a0a65a2906
commit d2038049f5
462 changed files with 676 additions and 2308 deletions
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _FBMANAGER_D3D_H_
#define _FBMANAGER_D3D_H_
#pragma once
#include "d3d11.h"
@@ -105,5 +104,3 @@ private:
};
} // namespace DX11
#endif
+1 -4
View File
@@ -2,13 +2,10 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _GLOBALS_H_
#define _GLOBALS_H_
#pragma once
#include "Common.h"
#include "VideoConfig.h"
#include "main.h"
#include "VideoCommon.h"
#endif // _GLOBALS_H_
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _LINEGEOMETRYSHADER_H
#define _LINEGEOMETRYSHADER_H
#pragma once
#include "VideoCommon.h"
@@ -41,5 +40,3 @@ private:
};
}
#endif
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _PSTEXTUREENCODER_H
#define _PSTEXTUREENCODER_H
#pragma once
#include "TextureEncoder.h"
@@ -102,5 +101,3 @@ private:
};
}
#endif
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef _PERFQUERY_H_
#define _PERFQUERY_H_
#pragma once
#include "PerfQueryBase.h"
@@ -42,5 +41,3 @@ private:
};
} // namespace
#endif // _PERFQUERY_H_
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _POINTGEOMETRYSHADER_H
#define _POINTGEOMETRYSHADER_H
#pragma once
#include "VideoCommon.h"
@@ -41,5 +40,3 @@ private:
};
}
#endif
+1 -5
View File
@@ -1,6 +1,4 @@
#ifndef _RENDER_H_
#define _RENDER_H_
#pragma once
#include "RenderBase.h"
@@ -54,5 +52,3 @@ public:
};
}
#endif
+1 -4
View File
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _TELEVISION_H
#define _TELEVISION_H
#pragma once
#include "VideoCommon.h"
@@ -50,5 +49,3 @@ private:
};
}
#endif
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _TEXTUREENCODER_H
#define _TEXTUREENCODER_H
#pragma once
#include "VideoCommon.h"
@@ -118,5 +117,3 @@ public:
};
}
#endif
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _VERTEXMANAGER_H
#define _VERTEXMANAGER_H
#pragma once
#include "VertexManagerBase.h"
#include "LineGeometryShader.h"
@@ -51,5 +50,3 @@ private:
};
} // namespace
#endif
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _VERTEXSHADERCACHE_H
#define _VERTEXSHADERCACHE_H
#pragma once
#include "VertexShaderGen.h"
@@ -64,5 +63,3 @@ private:
};
} // namespace DX11
#endif // _VERTEXSHADERCACHE_H
+1 -4
View File
@@ -1,6 +1,4 @@
#ifndef DX11_VIDEO_BACKEND_H_
#define DX11_VIDEO_BACKEND_H_
#pragma once
#include "VideoBackendBase.h"
@@ -26,4 +24,3 @@ class VideoBackend : public VideoBackendHardware
}
#endif
+1 -4
View File
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _XFBENCODER_H
#define _XFBENCODER_H
#pragma once
#include "VideoCommon.h"
@@ -51,5 +50,3 @@ private:
};
}
#endif
+1 -4
View File
@@ -2,10 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef MAIN_H
#define MAIN_H
#pragma once
#include "Render.h"
#include "MainBase.h"
#endif
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _FRAMEBUFFERMANAGER_H_
#define _FRAMEBUFFERMANAGER_H_
#pragma once
#include "GLUtil.h"
#include "FramebufferManagerBase.h"
@@ -117,5 +116,3 @@ private:
};
} // namespace OGL
#endif
+1 -4
View File
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _GLINIT_H_
#define _GLINIT_H_
#pragma once
#include "VideoConfig.h"
#include "MathUtil.h"
@@ -40,5 +39,3 @@ __forceinline GLenum GL_REPORT_ERROR() { return GL_NO_ERROR; }
#else
#define DEBUG_GLSL 0
#endif
#endif // _GLINIT_H_
+1 -4
View File
@@ -2,12 +2,9 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _GLOBALS_H_
#define _GLOBALS_H_
#pragma once
#include "Common.h"
#include "VideoConfig.h"
#include "VideoCommon.h"
#endif // _GLOBALS_H_
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef _PERFQUERY_H_
#define _PERFQUERY_H_
#pragma once
#include "PerfQueryBase.h"
@@ -42,5 +41,3 @@ private:
};
} // namespace
#endif // _PERFQUERY_H_
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _POSTPROCESSING_H_
#define _POSTPROCESSING_H_
#pragma once
#include "VideoCommon.h"
#include "GLUtil.h"
@@ -28,5 +27,3 @@ void ApplyShader();
} // namespace
} // namespace
#endif // _POSTPROCESSING_H_
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef PROGRAM_SHADER_CACHE_H_
#define PROGRAM_SHADER_CACHE_H_
#pragma once
#include "GLUtil.h"
@@ -112,4 +111,3 @@ private:
};
} // namespace OGL
#endif

Some files were not shown because too many files have changed in this diff Show More