diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-10-10 20:20:08 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-10-10 20:20:08 +0200 |
commit | 78f7218006528fbc04cadce02173374021a44968 (patch) | |
tree | 449ce00a0d0e01ece6c0716937cbcd53eb163a43 /src/openvic-simulation/dataloader/Dataloader.hpp | |
parent | 5b4c5b19897a94f6c9a6213733b096007221a83f (diff) |
Expose `Dataloader::parse_defines`
Expose `Dataloader::parse_csv`
Diffstat (limited to 'src/openvic-simulation/dataloader/Dataloader.hpp')
-rw-r--r-- | src/openvic-simulation/dataloader/Dataloader.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openvic-simulation/dataloader/Dataloader.hpp b/src/openvic-simulation/dataloader/Dataloader.hpp index f833a2c..9d28132 100644 --- a/src/openvic-simulation/dataloader/Dataloader.hpp +++ b/src/openvic-simulation/dataloader/Dataloader.hpp @@ -2,6 +2,9 @@ #include <filesystem> +#include <openvic-dataloader/csv/Parser.hpp> +#include <openvic-dataloader/v2script/Parser.hpp> + #include "openvic-simulation/dataloader/NodeTools.hpp" namespace OpenVic { @@ -23,6 +26,9 @@ namespace OpenVic { bool _load_map_dir(GameManager& game_manager, fs::path const& map_directory) const; public: + static ovdl::v2script::Parser parse_defines(fs::path const& path); + static ovdl::csv::Windows1252Parser parse_csv(fs::path const& path); + Dataloader() = default; /* In reverse-load order, so base defines first and final loaded mod last */ |