mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Replace all include guard ifdefs with "#pragma once"
This commit is contained in:
@ -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
|
||||
|
@ -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,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,6 +1,4 @@
|
||||
|
||||
#ifndef _RENDER_H_
|
||||
#define _RENDER_H_
|
||||
#pragma once
|
||||
|
||||
#include "RenderBase.h"
|
||||
|
||||
@ -54,5 +52,3 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -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,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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user