#include "json/json.h"
#include "config.h"
-#if USE_CURL
-#include <curl/curl.h>
-#endif
-
#define MODNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz0123456789_"
class ModError : public std::exception
bool is_modpack;
// if modpack:
std::map<std::string,ModSpec> modpack_content;
- ModSpec(const std::string name_="", const std::string path_=""):
+ ModSpec(const std::string &name_="", const std::string &path_=""):
name(name_),
path(path_),
depends(),
m_name_conflicts()
{}
-
+
ModConfiguration(std::string worldpath);
// checks if all dependencies are fullfilled.