mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -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 _BANNER_LOADER_H_
|
||||
#define _BANNER_LOADER_H_
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
@ -35,6 +34,3 @@ class IBannerLoader
|
||||
|
||||
IBannerLoader* CreateBannerLoader(DiscIO::IFileSystem& _rFileSystem, DiscIO::IVolume *pVolume);
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _BANNER_LOADER_GC_H_
|
||||
#define _BANNER_LOADER_GC_H_
|
||||
#pragma once
|
||||
|
||||
#include "BannerLoader.h"
|
||||
#include "VolumeGC.h"
|
||||
@ -81,6 +80,3 @@ class CBannerLoaderGC
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _BANNER_LOADER_WII_H_
|
||||
#define _BANNER_LOADER_WII_H_
|
||||
#pragma once
|
||||
|
||||
#include "BannerLoader.h"
|
||||
|
||||
@ -62,6 +61,3 @@ class CBannerLoaderWii
|
||||
bool GetStringFromComments(const CommentIndex index, std::string& s);
|
||||
};
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _BLOB_H
|
||||
#define _BLOB_H
|
||||
#pragma once
|
||||
|
||||
// BLOB
|
||||
|
||||
@ -74,6 +73,3 @@ bool DecompressBlobToFile(const char *infile, const char *outfile,
|
||||
CompressCB callback = 0, void *arg = 0);
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _CISO_BLOB_H
|
||||
#define _CISO_BLOB_H
|
||||
#pragma once
|
||||
|
||||
#include "Blob.h"
|
||||
#include "FileUtil.h"
|
||||
@ -50,5 +49,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif // _FILE_BLOB_H
|
||||
|
@ -12,8 +12,7 @@
|
||||
// * [Block Pointers interleaved with block hashes (hash of decompressed data)]
|
||||
// * [Data]
|
||||
|
||||
#ifndef COMPRESSED_BLOB_H_
|
||||
#define COMPRESSED_BLOB_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -68,5 +67,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif // COMPRESSED_BLOB_H_
|
||||
|
@ -11,8 +11,7 @@
|
||||
|
||||
// Note: the technique is inspired by Wiiscrubber, but much simpler - intentionally :)
|
||||
|
||||
#ifndef DISC_SCRUBBER_H
|
||||
#define DISC_SCRUBBER_H
|
||||
#pragma once
|
||||
|
||||
#include "CommonTypes.h"
|
||||
#include "Blob.h"
|
||||
@ -31,5 +30,3 @@ void Cleanup();
|
||||
} // namespace DiscScrubber
|
||||
|
||||
} // namespace DiscIO
|
||||
|
||||
#endif // DISC_SCRUBBER_H
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _DRIVE_BLOB_H
|
||||
#define _DRIVE_BLOB_H
|
||||
#pragma once
|
||||
|
||||
#include "Blob.h"
|
||||
#include "FileUtil.h"
|
||||
@ -42,5 +41,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif // _DRIVE_BLOB_H
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _FILE_BLOB_H
|
||||
#define _FILE_BLOB_H
|
||||
#pragma once
|
||||
|
||||
#include "Blob.h"
|
||||
#include "FileUtil.h"
|
||||
@ -27,5 +26,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif // _FILE_BLOB_H
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _ARC_FILE_H
|
||||
#define _ARC_FILE_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@ -52,6 +51,3 @@ class CARCFile
|
||||
const SFileInfo* FindFileInfo(std::string _rFullPath) const;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <iostream> // System: For std
|
||||
|
||||
#include "Common.h" // Common: For u64
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _FILESYSTEM_GC_WII_H
|
||||
#define _FILESYSTEM_GC_WII_H
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
@ -43,6 +42,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _FILESYSTEM_H
|
||||
#define _FILESYSTEM_H
|
||||
#pragma once
|
||||
|
||||
#include "Volume.h"
|
||||
|
||||
@ -55,5 +54,3 @@ protected:
|
||||
IFileSystem* CreateFileSystem(const IVolume *_rVolume);
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _NAND_CONTENT_LOADER_H
|
||||
#define _NAND_CONTENT_LOADER_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@ -153,5 +152,3 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -2,9 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
|
||||
#ifndef _VOLUME_H
|
||||
#define _VOLUME_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@ -65,6 +63,3 @@ IVolume::ECountry CountrySwitch(u8 CountryCode);
|
||||
u8 GetSysMenuRegion(u16 _TitleVersion);
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _VOLUME_CREATOR_H
|
||||
#define _VOLUME_CREATOR_H
|
||||
#pragma once
|
||||
|
||||
#include "Volume.h"
|
||||
|
||||
@ -14,6 +13,3 @@ IVolume* CreateVolumeFromDirectory(const std::string& _rDirectory, bool _bIsWii,
|
||||
bool IsVolumeWiiDisc(const IVolume *_rVolume);
|
||||
bool IsVolumeWadFile(const IVolume *_rVolume);
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _VOLUME_DIRECTORY
|
||||
#define _VOLUME_DIRECTORY
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
@ -142,5 +141,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _VOLUME_GC
|
||||
#define _VOLUME_GC
|
||||
#pragma once
|
||||
|
||||
#include "Volume.h"
|
||||
#include "Blob.h"
|
||||
@ -40,5 +39,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _VOLUME_WAD
|
||||
#define _VOLUME_WAD
|
||||
#pragma once
|
||||
|
||||
#include "Volume.h"
|
||||
#include "Blob.h"
|
||||
@ -39,5 +38,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _VOLUME_WII_CRYPTED
|
||||
#define _VOLUME_WII_CRYPTED
|
||||
#pragma once
|
||||
|
||||
#include "Volume.h"
|
||||
#include "Blob.h"
|
||||
@ -48,6 +47,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _WBFS_BLOB_H
|
||||
#define _WBFS_BLOB_H
|
||||
#pragma once
|
||||
|
||||
#include "Blob.h"
|
||||
#include "FileUtil.h"
|
||||
@ -65,5 +64,3 @@ bool IsWbfsBlob(const char* filename);
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif // _FILE_BLOB_H
|
||||
|
@ -2,8 +2,7 @@
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#ifndef _WII_WAD_H
|
||||
#define _WII_WAD_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@ -60,6 +59,3 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user