#ifndef INSTALLATIONMANAGER_HPP #define INSTALLATIONMANAGER_HPP #include #include #include "rapidjson/document.h" class InstallationManager { public: InstallationManager(const std::string&, const std::string&); void execute(); private: std::string _hd, _mod, _modname, _ver; int _campaigns, _turns; std::vector _packs; rapidjson::Document _cfg; void _print_title(const std::string&); void _print_selection(const int); void _grab_json(const std::string&, rapidjson::Document&); void _version_query(); void _campaign_query(); void _pack_query(); }; #endif