diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-10-12 13:47:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 13:47:54 +0200 |
commit | 1d113b46161f27551bc3a6a857b8727cfb657b81 (patch) | |
tree | 449ce00a0d0e01ece6c0716937cbcd53eb163a43 /src/openvic-simulation/dataloader/Dataloader.hpp | |
parent | 5b4c5b19897a94f6c9a6213733b096007221a83f (diff) | |
parent | 78f7218006528fbc04cadce02173374021a44968 (diff) |
Merge pull request #48 from OpenVicProject/expose/parse-methods
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 */ |