Przeglądaj źródła

Refactoring and updating for using as library

Created and mover 3rd-party projects to specific directory. Moved
headers to include directory.
Ivan Arkhipov 6 lat temu
rodzic
commit
e63441e75f
78 zmienionych plików z 87 dodań i 103 usunięć
  1. 24 40
      CMakeLists.txt
  2. 0 0
      Third-party/SQLite/shell.c
  3. 0 0
      Third-party/SQLite/sqlite3.c
  4. 0 0
      Third-party/SQLite/sqlite3.h
  5. 0 0
      Third-party/Yaml/libyaml-cpp.a
  6. 0 0
      Third-party/Yaml/libyaml-cppmt.lib
  7. 0 0
      Third-party/Yaml/libyaml-cppmtd.lib
  8. 0 0
      Third-party/Yaml/yaml-cpp/anchor.h
  9. 0 0
      Third-party/Yaml/yaml-cpp/binary.h
  10. 0 0
      Third-party/Yaml/yaml-cpp/contrib/anchordict.h
  11. 0 0
      Third-party/Yaml/yaml-cpp/contrib/graphbuilder.h
  12. 0 0
      Third-party/Yaml/yaml-cpp/dll.h
  13. 0 0
      Third-party/Yaml/yaml-cpp/emitfromevents.h
  14. 0 0
      Third-party/Yaml/yaml-cpp/emitter.h
  15. 0 0
      Third-party/Yaml/yaml-cpp/emitterdef.h
  16. 0 0
      Third-party/Yaml/yaml-cpp/emittermanip.h
  17. 0 0
      Third-party/Yaml/yaml-cpp/emitterstyle.h
  18. 0 0
      Third-party/Yaml/yaml-cpp/eventhandler.h
  19. 0 0
      Third-party/Yaml/yaml-cpp/exceptions.h
  20. 0 0
      Third-party/Yaml/yaml-cpp/mark.h
  21. 0 0
      Third-party/Yaml/yaml-cpp/node/convert.h
  22. 0 0
      Third-party/Yaml/yaml-cpp/node/detail/bool_type.h
  23. 0 0
      Third-party/Yaml/yaml-cpp/node/detail/impl.h
  24. 0 0
      Third-party/Yaml/yaml-cpp/node/detail/iterator.h
  25. 0 0
      Third-party/Yaml/yaml-cpp/node/detail/iterator_fwd.h
  26. 0 0
      Third-party/Yaml/yaml-cpp/node/detail/memory.h
  27. 0 0
      Third-party/Yaml/yaml-cpp/node/detail/node.h
  28. 0 0
      Third-party/Yaml/yaml-cpp/node/detail/node_data.h
  29. 0 0
      Third-party/Yaml/yaml-cpp/node/detail/node_iterator.h
  30. 0 0
      Third-party/Yaml/yaml-cpp/node/detail/node_ref.h
  31. 0 0
      Third-party/Yaml/yaml-cpp/node/emit.h
  32. 0 0
      Third-party/Yaml/yaml-cpp/node/impl.h
  33. 0 0
      Third-party/Yaml/yaml-cpp/node/iterator.h
  34. 0 0
      Third-party/Yaml/yaml-cpp/node/node.h
  35. 0 0
      Third-party/Yaml/yaml-cpp/node/parse.h
  36. 0 0
      Third-party/Yaml/yaml-cpp/node/ptr.h
  37. 0 0
      Third-party/Yaml/yaml-cpp/node/type.h
  38. 0 0
      Third-party/Yaml/yaml-cpp/noncopyable.h
  39. 0 0
      Third-party/Yaml/yaml-cpp/null.h
  40. 0 0
      Third-party/Yaml/yaml-cpp/ostream_wrapper.h
  41. 0 0
      Third-party/Yaml/yaml-cpp/parser.h
  42. 0 0
      Third-party/Yaml/yaml-cpp/stlemitter.h
  43. 0 0
      Third-party/Yaml/yaml-cpp/traits.h
  44. 0 0
      Third-party/Yaml/yaml-cpp/yaml.h
  45. 0 0
      Third-party/ZLib/libzlibstatic.a
  46. 0 0
      Third-party/ZLib/zconf.h
  47. 0 0
      Third-party/ZLib/zlib.h
  48. 0 0
      Third-party/ZLib/zlibstatic.lib
  49. 0 0
      include/BinaryData.h
  50. 0 0
      include/CommonFunctions.h
  51. 0 0
      include/DatException.h
  52. 0 0
      include/DatFile.h
  53. 2 2
      include/Database.h
  54. 3 3
      include/LotroDatPatcher.h
  55. 0 0
      include/SubDirectory.h
  56. 0 0
      include/Subfile.h
  57. 0 0
      include/SubfileData.h
  58. 3 3
      src/BinaryData.cpp
  59. 6 6
      src/DatFile.cpp
  60. 2 2
      src/Database.cpp
  61. 1 1
      src/Examples/extractor_example.cpp
  62. 1 1
      src/Examples/patcher_example.cpp
  63. 5 5
      src/SubDirectory.cpp
  64. 5 5
      src/Subfile.cpp
  65. 4 4
      src/Subfiles/DdsSubfile.cpp
  66. 1 1
      src/Subfiles/DdsSubfile.h
  67. 4 4
      src/Subfiles/FontSubfile.cpp
  68. 1 1
      src/Subfiles/FontSubfile.h
  69. 4 4
      src/Subfiles/JpgSubfile.cpp
  70. 1 1
      src/Subfiles/JpgSubfile.h
  71. 4 4
      src/Subfiles/OggSubfile.cpp
  72. 1 1
      src/Subfiles/OggSubfile.h
  73. 4 4
      src/Subfiles/TextSubfile.cpp
  74. 1 1
      src/Subfiles/TextSubfile.h
  75. 4 4
      src/Subfiles/UnknownSubfile.cpp
  76. 1 1
      src/Subfiles/UnknownSubfile.h
  77. 4 4
      src/Subfiles/WavSubfile.cpp
  78. 1 1
      src/Subfiles/WavSubfile.h

+ 24 - 40
CMakeLists.txt

@@ -16,57 +16,41 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
 
-set(CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR}/src)
-
-include_directories(${CMAKE_SOURCE_DIR}/Common/Yaml)
+include_directories(${CMAKE_SOURCE_DIR}/include)
+include_directories(${CMAKE_SOURCE_DIR}/Third-party/Yaml)
+include_directories(${CMAKE_SOURCE_DIR}/Third-party/SQLite)
+include_directories(${CMAKE_SOURCE_DIR}/Third-party/Zlib)
 
 SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_OUTPUT_DIR})
 SET(LIBRARY_OUTPUT_PATH ${CMAKE_OUTPUT_DIR})
 
 set(SOURCE_FILES
-        ${CMAKE_SOURCE_DIR}/Common/CommonFunctions.h
-        ${CMAKE_SOURCE_DIR}/Common/DatException.h
-        ${CMAKE_SOURCE_DIR}/LotroDatPatcher.h
-
-        ${CMAKE_SOURCE_DIR}/DatFile.cpp
-        ${CMAKE_SOURCE_DIR}/DatFile.h
+        ${CMAKE_SOURCE_DIR}/src/DatFile.cpp
 
-        ${CMAKE_SOURCE_DIR}/BinaryData.cpp
-        ${CMAKE_SOURCE_DIR}/BinaryData.h
+        ${CMAKE_SOURCE_DIR}/src/BinaryData.cpp
 
-        ${CMAKE_SOURCE_DIR}/Database.cpp
-        ${CMAKE_SOURCE_DIR}/Database.h
+        ${CMAKE_SOURCE_DIR}/src/Database.cpp
 
-        ${CMAKE_SOURCE_DIR}/Subfile.cpp
-        ${CMAKE_SOURCE_DIR}/Subfile.h
+        ${CMAKE_SOURCE_DIR}/src/Subfile.cpp
 
-        ${CMAKE_SOURCE_DIR}/SubDirectory.cpp
-        ${CMAKE_SOURCE_DIR}/SubDirectory.h
+        ${CMAKE_SOURCE_DIR}/src/SubDirectory.cpp
 
-        ${CMAKE_SOURCE_DIR}/Common/SQLite/sqlite3.c
-        ${CMAKE_SOURCE_DIR}/Common/SQLite/sqlite3.h
+        ${CMAKE_SOURCE_DIR}/Third-party/SQLite/sqlite3.c
 
-        ${CMAKE_SOURCE_DIR}/Subfiles/TextSubfile.cpp
-        ${CMAKE_SOURCE_DIR}/Subfiles/TextSubfile.h
+        ${CMAKE_SOURCE_DIR}/src/Subfiles/TextSubfile.cpp
 
-        ${CMAKE_SOURCE_DIR}/Subfiles/JpgSubfile.cpp
-        ${CMAKE_SOURCE_DIR}/Subfiles/JpgSubfile.h
+        ${CMAKE_SOURCE_DIR}/src/Subfiles/JpgSubfile.cpp
 
-        ${CMAKE_SOURCE_DIR}/Subfiles/DdsSubfile.cpp
-        ${CMAKE_SOURCE_DIR}/Subfiles/DdsSubfile.h
+        ${CMAKE_SOURCE_DIR}/src/Subfiles/DdsSubfile.cpp
 
-        ${CMAKE_SOURCE_DIR}/Subfiles/OggSubfile.cpp
-        ${CMAKE_SOURCE_DIR}/Subfiles/OggSubfile.h
+        ${CMAKE_SOURCE_DIR}/src/Subfiles/OggSubfile.cpp
 
-        ${CMAKE_SOURCE_DIR}/Subfiles/FontSubfile.cpp
-        ${CMAKE_SOURCE_DIR}/Subfiles/FontSubfile.h
+        ${CMAKE_SOURCE_DIR}/src/Subfiles/FontSubfile.cpp
 
-        ${CMAKE_SOURCE_DIR}/Subfiles/WavSubfile.cpp
-        ${CMAKE_SOURCE_DIR}/Subfiles/WavSubfile.h
+        ${CMAKE_SOURCE_DIR}/src/Subfiles/WavSubfile.cpp
 
-        ${CMAKE_SOURCE_DIR}/Subfiles/UnknownSubfile.cpp
-        ${CMAKE_SOURCE_DIR}/Subfiles/UnknownSubfile.h
-        src/SubfileData.h)
+        ${CMAKE_SOURCE_DIR}/src/Subfiles/UnknownSubfile.cpp
+)
 
 set(CompilerFlags
         CMAKE_CXX_FLAGS
@@ -90,18 +74,18 @@ add_library(LotroDat_static STATIC ${SOURCE_FILES})
 # SHARED LIBRARY
 add_library(LotroDat SHARED ${SOURCE_FILES})
 # CONSOLE EXTRACTOR TOOL
-add_executable(LotRO_dat_extract_tester ${SOURCE_FILES} ${CMAKE_SOURCE_DIR}/Examples/extractor_example.cpp)
+add_executable(LotRO_dat_extract_tester ${SOURCE_FILES} ${CMAKE_SOURCE_DIR}/src/Examples/extractor_example.cpp)
 # CONSOLE PATCHER TOOL
-add_executable(LotRO_dat_pat_tester ${SOURCE_FILES} ${CMAKE_SOURCE_DIR}/Examples/patcher_example.cpp)
+add_executable(LotRO_dat_pat_tester ${SOURCE_FILES} ${CMAKE_SOURCE_DIR}/src/Examples/patcher_example.cpp)
 
 foreach(TARGET LotroDat_static LotroDat LotRO_dat_extract_tester LotRO_dat_pat_tester)
     if(MSVC)
-        target_link_libraries(${TARGET} ${CMAKE_SOURCE_DIR}/Common/Zlib/zlibstatic.lib)
-        target_link_libraries(${TARGET} ${CMAKE_SOURCE_DIR}/Common/Yaml/libyaml-cppmt.lib)
+        target_link_libraries(${TARGET} ${CMAKE_SOURCE_DIR}/Third-Party/Zlib/zlibstatic.lib)
+        target_link_libraries(${TARGET} ${CMAKE_SOURCE_DIR}/Third-Party/Yaml/libyaml-cppmt.lib)
         target_link_libraries(${TARGET} vcruntime.lib MSVCRT.lib)
     else(MSVC)
-        target_link_libraries(${TARGET} ${CMAKE_SOURCE_DIR}/Common/Zlib/libzlibstatic.a)
-        target_link_libraries(${TARGET} ${CMAKE_SOURCE_DIR}/Common/Yaml/libyaml-cpp.a)
+        target_link_libraries(${TARGET} ${CMAKE_SOURCE_DIR}/Third-Party/Zlib/libzlibstatic.a)
+        target_link_libraries(${TARGET} ${CMAKE_SOURCE_DIR}/Third-Party/Yaml/libyaml-cpp.a)
         target_link_libraries(${TARGET} -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic)
     endif(MSVC)
 endforeach(TARGET LotroDat_static LotroDat LotRO_dat_extract_tester LotRO_dat_pat_tester)

+ 0 - 0
src/Common/SQLite/shell.c → Third-party/SQLite/shell.c


+ 0 - 0
src/Common/SQLite/sqlite3.c → Third-party/SQLite/sqlite3.c


+ 0 - 0
src/Common/SQLite/sqlite3.h → Third-party/SQLite/sqlite3.h


+ 0 - 0
src/Common/Yaml/libyaml-cpp.a → Third-party/Yaml/libyaml-cpp.a


+ 0 - 0
src/Common/Yaml/libyaml-cppmt.lib → Third-party/Yaml/libyaml-cppmt.lib


+ 0 - 0
src/Common/Yaml/libyaml-cppmtd.lib → Third-party/Yaml/libyaml-cppmtd.lib


+ 0 - 0
src/Common/Yaml/yaml-cpp/anchor.h → Third-party/Yaml/yaml-cpp/anchor.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/binary.h → Third-party/Yaml/yaml-cpp/binary.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/contrib/anchordict.h → Third-party/Yaml/yaml-cpp/contrib/anchordict.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/contrib/graphbuilder.h → Third-party/Yaml/yaml-cpp/contrib/graphbuilder.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/dll.h → Third-party/Yaml/yaml-cpp/dll.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/emitfromevents.h → Third-party/Yaml/yaml-cpp/emitfromevents.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/emitter.h → Third-party/Yaml/yaml-cpp/emitter.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/emitterdef.h → Third-party/Yaml/yaml-cpp/emitterdef.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/emittermanip.h → Third-party/Yaml/yaml-cpp/emittermanip.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/emitterstyle.h → Third-party/Yaml/yaml-cpp/emitterstyle.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/eventhandler.h → Third-party/Yaml/yaml-cpp/eventhandler.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/exceptions.h → Third-party/Yaml/yaml-cpp/exceptions.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/mark.h → Third-party/Yaml/yaml-cpp/mark.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/convert.h → Third-party/Yaml/yaml-cpp/node/convert.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/detail/bool_type.h → Third-party/Yaml/yaml-cpp/node/detail/bool_type.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/detail/impl.h → Third-party/Yaml/yaml-cpp/node/detail/impl.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/detail/iterator.h → Third-party/Yaml/yaml-cpp/node/detail/iterator.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/detail/iterator_fwd.h → Third-party/Yaml/yaml-cpp/node/detail/iterator_fwd.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/detail/memory.h → Third-party/Yaml/yaml-cpp/node/detail/memory.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/detail/node.h → Third-party/Yaml/yaml-cpp/node/detail/node.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/detail/node_data.h → Third-party/Yaml/yaml-cpp/node/detail/node_data.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/detail/node_iterator.h → Third-party/Yaml/yaml-cpp/node/detail/node_iterator.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/detail/node_ref.h → Third-party/Yaml/yaml-cpp/node/detail/node_ref.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/emit.h → Third-party/Yaml/yaml-cpp/node/emit.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/impl.h → Third-party/Yaml/yaml-cpp/node/impl.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/iterator.h → Third-party/Yaml/yaml-cpp/node/iterator.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/node.h → Third-party/Yaml/yaml-cpp/node/node.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/parse.h → Third-party/Yaml/yaml-cpp/node/parse.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/ptr.h → Third-party/Yaml/yaml-cpp/node/ptr.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/node/type.h → Third-party/Yaml/yaml-cpp/node/type.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/noncopyable.h → Third-party/Yaml/yaml-cpp/noncopyable.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/null.h → Third-party/Yaml/yaml-cpp/null.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/ostream_wrapper.h → Third-party/Yaml/yaml-cpp/ostream_wrapper.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/parser.h → Third-party/Yaml/yaml-cpp/parser.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/stlemitter.h → Third-party/Yaml/yaml-cpp/stlemitter.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/traits.h → Third-party/Yaml/yaml-cpp/traits.h


+ 0 - 0
src/Common/Yaml/yaml-cpp/yaml.h → Third-party/Yaml/yaml-cpp/yaml.h


+ 0 - 0
src/Common/ZLib/libzlibstatic.a → Third-party/ZLib/libzlibstatic.a


+ 0 - 0
src/Common/ZLib/zconf.h → Third-party/ZLib/zconf.h


+ 0 - 0
src/Common/ZLib/zlib.h → Third-party/ZLib/zlib.h


+ 0 - 0
src/Common/ZLib/zlibstatic.lib → Third-party/ZLib/zlibstatic.lib


+ 0 - 0
src/BinaryData.h → include/BinaryData.h


+ 0 - 0
src/Common/CommonFunctions.h → include/CommonFunctions.h


+ 0 - 0
src/Common/DatException.h → include/DatException.h


+ 0 - 0
src/DatFile.h → include/DatFile.h


+ 2 - 2
src/Database.h → include/Database.h

@@ -5,9 +5,9 @@
 #ifndef LOTRO_DAT_PATCHER_DATABASE_H
 #define LOTRO_DAT_PATCHER_DATABASE_H
 
-#include "Common/SQLite/sqlite3.h"
+#include <sqlite3.h>
 #include <string>
-#include "yaml-cpp/yaml.h"
+#include <yaml-cpp/yaml.h>
 
 extern  "C++"
 {

+ 3 - 3
src/LotroDatPatcher.h → include/LotroDatPatcher.h

@@ -5,7 +5,7 @@
 #include "DatFile.h"
 #include "Database.h"
 #include "SubfileData.h"
-#include "Common/DatException.h"
+#include "DatException.h"
 
-#include <yaml-cpp/yaml.h>
-#include "Common\ZLib\zlib.h"
+#include "yaml-cpp/yaml.h"
+#include "zlib.h"

+ 0 - 0
src/SubDirectory.h → include/SubDirectory.h


+ 0 - 0
src/Subfile.h → include/Subfile.h


+ 0 - 0
src/SubfileData.h → include/SubfileData.h


+ 3 - 3
src/BinaryData.cpp

@@ -2,9 +2,9 @@
 // Created by Иван_Архипов on 31.10.2017.
 //
 
-#include "BinaryData.h"
-#include "Common/DatException.h"
-#include "Common/ZLib/zlib.h"
+#include <BinaryData.h>
+#include <DatException.h>
+#include <zlib.h>
 #include <algorithm>
 
 extern  "C++"

+ 6 - 6
src/DatFile.cpp

@@ -2,13 +2,13 @@
 // Created by Иван_Архипов on 31.10.2017.
 //
 
-#include "DatFile.h"
+#include "../include/DatFile.h"
 
-#include "BinaryData.h"
-#include "Common/DatException.h"
-#include "SubDirectory.h"
-#include "Subfile.h"
-#include "SubfileData.h"
+#include "../include/BinaryData.h"
+#include "../include/DatException.h"
+#include "../include/SubDirectory.h"
+#include "../include/Subfile.h"
+#include "../include/SubfileData.h"
 
 #include <locale>
 #include <algorithm>

+ 2 - 2
src/Database.cpp

@@ -5,9 +5,9 @@
 #define _UNICODE 
 
 #include "Database.h"
-#include "Common/DatException.h"
+#include "DatException.h"
 #include "BinaryData.h"
-#include "Common/CommonFunctions.h"
+#include "CommonFunctions.h"
 #include "SubfileData.h"
 
 #include <cstring>

+ 1 - 1
src/Examples/extractor_example.cpp

@@ -11,7 +11,7 @@
 #define mkdir(dir, mode) _mkdir(dir)
 #endif
 
-#include "../LotroDatPatcher.h"
+#include "../../include/LotroDatPatcher.h"
 using namespace LOTRO_DAT;
 
 

+ 1 - 1
src/Examples/patcher_example.cpp

@@ -11,7 +11,7 @@
 #define mkdir(dir, mode) _mkdir(dir)
 #endif
 
-#include "../LotroDatPatcher.h"
+#include "../../include/LotroDatPatcher.h"
 using namespace LOTRO_DAT;
 using namespace std;
 

+ 5 - 5
src/SubDirectory.cpp

@@ -1,12 +1,12 @@
 //
 // Created by Иван_Архипов on 07.11.2017.
 //
-#include "SubDirectory.h"
+#include "../include/SubDirectory.h"
 
-#include "DatFile.h"
-#include "Common/DatException.h"
-#include "Subfile.h"
-#include "BinaryData.h"
+#include "../include/DatFile.h"
+#include "../include/DatException.h"
+#include "../include/Subfile.h"
+#include "../include/BinaryData.h"
 
 #include "Subfiles/TextSubfile.h"
 #include "Subfiles/DdsSubfile.h"

+ 5 - 5
src/Subfile.cpp

@@ -2,11 +2,11 @@
 // Created by Иван_Архипов on 01.11.2017.
 //
 
-#include "Subfile.h"
-#include "BinaryData.h"
-#include "DatFile.h"
-#include "Common/DatException.h"
-#include "SubfileData.h"
+#include "../include/Subfile.h"
+#include "../include/BinaryData.h"
+#include "../include/DatFile.h"
+#include "../include/DatException.h"
+#include "../include/SubfileData.h"
 
 #include <algorithm>
 

+ 4 - 4
src/Subfiles/DdsSubfile.cpp

@@ -4,10 +4,10 @@
 
 #include "DdsSubfile.h"
 
-#include "../BinaryData.h"
-#include "../DatFile.h"
-#include "../Common/DatException.h"
-#include "../SubfileData.h"
+#include "../../include/BinaryData.h"
+#include "../../include/DatFile.h"
+#include "../../include/DatException.h"
+#include "../../include/SubfileData.h"
 
 namespace LOTRO_DAT {
     DdsSubfile::DdsSubfile() = default;

+ 1 - 1
src/Subfiles/DdsSubfile.h

@@ -5,7 +5,7 @@
 #ifndef LOTRO_DAT_LIBRARY_DDSSUBFILE_H
 #define LOTRO_DAT_LIBRARY_DDSSUBFILE_H
 
-#include "../Subfile.h"
+#include "../../include/Subfile.h"
 
 namespace LOTRO_DAT {
     class DdsSubfile : public Subfile {

+ 4 - 4
src/Subfiles/FontSubfile.cpp

@@ -3,10 +3,10 @@
 //
 
 #include "FontSubfile.h"
-#include "../BinaryData.h"
-#include "../DatFile.h"
-#include "../Common/DatException.h"
-#include "../SubfileData.h"
+#include "../../include/BinaryData.h"
+#include "../../include/DatFile.h"
+#include "../../include/DatException.h"
+#include "../../include/SubfileData.h"
 
 namespace LOTRO_DAT {
     FontSubfile::FontSubfile() = default;

+ 1 - 1
src/Subfiles/FontSubfile.h

@@ -6,7 +6,7 @@
 #define LOTRO_DAT_LIBRARY_FONTSUBFILE_H
 
 
-#include "../Subfile.h"
+#include "../../include/Subfile.h"
 
 namespace LOTRO_DAT {
     class FontSubfile : public Subfile {

+ 4 - 4
src/Subfiles/JpgSubfile.cpp

@@ -3,10 +3,10 @@
 //
 
 #include "JpgSubfile.h"
-#include "../BinaryData.h"
-#include "../DatFile.h"
-#include "../Common/DatException.h"
-#include "../SubfileData.h"
+#include "../../include/BinaryData.h"
+#include "../../include/DatFile.h"
+#include "../../include/DatException.h"
+#include "../../include/SubfileData.h"
 
 namespace LOTRO_DAT {
     JpgSubfile::JpgSubfile() = default;

+ 1 - 1
src/Subfiles/JpgSubfile.h

@@ -6,7 +6,7 @@
 #define LOTRO_DAT_LIBRARY_JPGSUBFILE_H
 
 
-#include "../Subfile.h"
+#include "../../include/Subfile.h"
 
 namespace LOTRO_DAT {
     class JpgSubfile : public Subfile {

+ 4 - 4
src/Subfiles/OggSubfile.cpp

@@ -3,10 +3,10 @@
 //
 
 #include "OggSubfile.h"
-#include "../BinaryData.h"
-#include "../DatFile.h"
-#include "../Common/DatException.h"
-#include "../SubfileData.h"
+#include "../../include/BinaryData.h"
+#include "../../include/DatFile.h"
+#include "../../include/DatException.h"
+#include "../../include/SubfileData.h"
 
 namespace LOTRO_DAT {
     OggSubfile::OggSubfile() = default;

+ 1 - 1
src/Subfiles/OggSubfile.h

@@ -5,7 +5,7 @@
 #ifndef LOTRO_DAT_LIBRARY_OGGSUBFILE_H
 #define LOTRO_DAT_LIBRARY_OGGSUBFILE_H
 
-#include "../Subfile.h"
+#include "../../include/Subfile.h"
 
 namespace LOTRO_DAT {
     class OggSubfile : public Subfile {

+ 4 - 4
src/Subfiles/TextSubfile.cpp

@@ -3,10 +3,10 @@
 //
 
 #include "TextSubfile.h"
-#include "../BinaryData.h"
-#include "../DatFile.h"
-#include "../Common/DatException.h"
-#include "../SubfileData.h"
+#include "../../include/BinaryData.h"
+#include "../../include/DatFile.h"
+#include "../../include/DatException.h"
+#include "../../include/SubfileData.h"
 #include <algorithm>
 #include <codecvt>
 #include <locale>

+ 1 - 1
src/Subfiles/TextSubfile.h

@@ -5,7 +5,7 @@
 #ifndef LOTRO_DAT_LIBRARY_TEXTSUBFILE_H
 #define LOTRO_DAT_LIBRARY_TEXTSUBFILE_H
 
-#include "../Subfile.h"
+#include "../../include/Subfile.h"
 #include <vector>
 #include <unordered_map>
 

+ 4 - 4
src/Subfiles/UnknownSubfile.cpp

@@ -3,10 +3,10 @@
 //
 
 #include "UnknownSubfile.h"
-#include "../BinaryData.h"
-#include "../DatFile.h"
-#include "../Common/DatException.h"
-#include "../SubfileData.h"
+#include "../../include/BinaryData.h"
+#include "../../include/DatFile.h"
+#include "../../include/DatException.h"
+#include "../../include/SubfileData.h"
 
 namespace LOTRO_DAT {
     UnknownSubfile::UnknownSubfile() = default;

+ 1 - 1
src/Subfiles/UnknownSubfile.h

@@ -5,7 +5,7 @@
 #ifndef LOTRO_DAT_LIBRARY_UNKNOWNSUBFILE_H
 #define LOTRO_DAT_LIBRARY_UNKNOWNSUBFILE_H
 
-#include "../Subfile.h"
+#include "../../include/Subfile.h"
 
 namespace LOTRO_DAT {
     class UnknownSubfile : public Subfile {

+ 4 - 4
src/Subfiles/WavSubfile.cpp

@@ -3,10 +3,10 @@
 //
 
 #include "WavSubfile.h"
-#include "../BinaryData.h"
-#include "../DatFile.h"
-#include "../Common/DatException.h"
-#include "../SubfileData.h"
+#include "../../include/BinaryData.h"
+#include "../../include/DatFile.h"
+#include "../../include/DatException.h"
+#include "../../include/SubfileData.h"
 
 namespace LOTRO_DAT {
     WavSubfile::WavSubfile() = default;

+ 1 - 1
src/Subfiles/WavSubfile.h

@@ -5,7 +5,7 @@
 #ifndef LOTRO_DAT_LIBRARY_WAVSUBFILE_H
 #define LOTRO_DAT_LIBRARY_WAVSUBFILE_H
 
-#include "../Subfile.h"
+#include "../../include/Subfile.h"
 
 namespace LOTRO_DAT {
     class WavSubfile : public Subfile {