chore(*): .h -> .hpp

Preferences change a bit.
This commit is contained in:
Lily Tsuru 2022-09-21 02:59:16 -05:00
parent 8d607675d0
commit f79c92c742
18 changed files with 23 additions and 36 deletions

View File

@ -9,9 +9,8 @@
#ifndef EUROPA_IO_PAKFILE_H #ifndef EUROPA_IO_PAKFILE_H
#define EUROPA_IO_PAKFILE_H #define EUROPA_IO_PAKFILE_H
#include <europa/structs/Pak.h>
#include <cstdint> #include <cstdint>
#include <europa/structs/Pak.hpp>
#include <vector> #include <vector>
namespace europa::io { namespace europa::io {

View File

@ -9,9 +9,8 @@
#ifndef EUROPA_IO_PAKREADER_H #ifndef EUROPA_IO_PAKREADER_H
#define EUROPA_IO_PAKREADER_H #define EUROPA_IO_PAKREADER_H
#include <europa/io/PakFile.h> #include <europa/io/PakFile.hpp>
#include <europa/structs/Pak.h> #include <europa/structs/Pak.hpp>
#include <iosfwd> #include <iosfwd>
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>

View File

@ -9,8 +9,7 @@
#ifndef EUROPA_IO_PAKWRITER_H #ifndef EUROPA_IO_PAKWRITER_H
#define EUROPA_IO_PAKWRITER_H #define EUROPA_IO_PAKWRITER_H
#include <europa/io/PakFile.h> #include <europa/io/PakFile.hpp>
#include <iosfwd> #include <iosfwd>
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>

View File

@ -9,9 +9,9 @@
#ifndef EUROPA_IO_YATFREADER_H #ifndef EUROPA_IO_YATFREADER_H
#define EUROPA_IO_YATFREADER_H #define EUROPA_IO_YATFREADER_H
#include <europa/structs/Yatf.h>
#include <pixel/RgbaImage.h> #include <pixel/RgbaImage.h>
#include <europa/structs/Yatf.hpp>
#include <iosfwd> #include <iosfwd>
namespace europa::io { namespace europa::io {

View File

@ -9,10 +9,9 @@
#ifndef EUROPA_STRUCTS_PAK_H #ifndef EUROPA_STRUCTS_PAK_H
#define EUROPA_STRUCTS_PAK_H #define EUROPA_STRUCTS_PAK_H
#include <europa/structs/ImHexAdapter.h>
#include <cstdint> #include <cstdint>
#include <cstring> #include <cstring>
#include <europa/structs/ImHexAdapter.hpp>
namespace europa::structs { namespace europa::structs {

View File

@ -9,9 +9,8 @@
#ifndef EUROPA_STRUCTS_YATF_H #ifndef EUROPA_STRUCTS_YATF_H
#define EUROPA_STRUCTS_YATF_H #define EUROPA_STRUCTS_YATF_H
#include <europa/structs/ImHexAdapter.h> #include <europa/structs/ImHexAdapter.hpp>
#include <europa/util/FourCC.h> #include <europa/util/FourCC.hpp>
#include <type_traits> #include <type_traits>
namespace europa::structs { namespace europa::structs {

View File

@ -9,9 +9,8 @@
#ifndef EUROPA_FOURCC_H #ifndef EUROPA_FOURCC_H
#define EUROPA_FOURCC_H #define EUROPA_FOURCC_H
#include <europa/util/FixedString.h>
#include <bit> #include <bit>
#include <europa/util/FixedString.hpp>
namespace europa::util { namespace europa::util {

View File

@ -6,7 +6,7 @@
// SPDX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
// //
#include <europa/io/PakFile.h> #include <europa/io/PakFile.hpp>
namespace europa::io { namespace europa::io {

View File

@ -6,10 +6,9 @@
// SPDX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
// //
#include <europa/io/PakReader.h>
#include <europa/structs/Pak.h>
#include <cstring> #include <cstring>
#include <europa/io/PakReader.hpp>
#include <europa/structs/Pak.hpp>
#include "StreamUtils.h" #include "StreamUtils.h"

View File

@ -6,15 +6,13 @@
// SPDX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
// //
#include <europa/io/PakWriter.h> #include <algorithm>
#include <europa/io/PakWriter.hpp>
#include <europa/util/TupleElement.hpp>
#include <iostream> #include <iostream>
#include "StreamUtils.h" #include "StreamUtils.h"
#include <algorithm>
#include <europa/util/TupleElement.h>
namespace europa::io { namespace europa::io {
void PakWriter::Init(structs::PakHeader::Version version) { void PakWriter::Init(structs::PakHeader::Version version) {

View File

@ -6,8 +6,7 @@
// SPDX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
// //
#include <europa/io/YatfReader.h> #include <europa/io/YatfReader.hpp>
#include <vector> #include <vector>
#include "StreamUtils.h" #include "StreamUtils.h"

View File

@ -6,8 +6,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-License-Identifier: GPL-3.0-or-later
// //
#include <europa/io/PakReader.h> #include <europa/io/PakReader.hpp>
#include <filesystem> #include <filesystem>
#include <fstream> #include <fstream>
#include <indicators/cursor_control.hpp> #include <indicators/cursor_control.hpp>

View File

@ -8,12 +8,11 @@
// A test utility to regurgitate a pak. // A test utility to regurgitate a pak.
#include <europa/io/PakReader.h> #include <europa/io/PakReader.hpp>
#include <europa/io/PakWriter.h> #include <europa/io/PakWriter.hpp>
#include <filesystem>
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>
#include <filesystem>
namespace fs = std::filesystem; namespace fs = std::filesystem;

View File

@ -8,9 +8,8 @@
// A test utility to regurgitate a pak. // A test utility to regurgitate a pak.
#include <europa/io/PakReader.h> #include <europa/io/PakReader.hpp>
#include <europa/io/PakWriter.h> #include <europa/io/PakWriter.hpp>
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>

View File

@ -6,9 +6,9 @@
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-License-Identifier: GPL-3.0-or-later
// //
#include <europa/io/YatfReader.h>
#include <pixel/ImageWriter.h> #include <pixel/ImageWriter.h>
#include <europa/io/YatfReader.hpp>
#include <filesystem> #include <filesystem>
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>