Replace all include guard ifdefs with "#pragma once"

This commit is contained in:
lioncash
2014-02-10 13:54:46 -05:00
committed by Lioncash
parent a0a65a2906
commit d2038049f5
462 changed files with 676 additions and 2308 deletions

View File

@ -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

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_

View File

@ -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

View File

@ -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

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_

View File

@ -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

View File

@ -1,6 +1,4 @@
#ifndef _RENDER_H_
#define _RENDER_H_
#pragma once
#include "RenderBase.h"
@ -54,5 +52,3 @@ public:
};
}
#endif

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

View File

@ -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

View File

@ -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

View File

@ -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

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

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

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