From dc3ca09e0e0e25f40cccae12c73830b0334ffb60 Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Fri, 14 Jul 2017 11:37:58 -0700 Subject: Remove remaining modstore code (#6120) --- src/mods.h | 60 ------------------------------------------------------------ 1 file changed, 60 deletions(-) (limited to 'src/mods.h') diff --git a/src/mods.h b/src/mods.h index 1a5c32692..697fed38b 100644 --- a/src/mods.h +++ b/src/mods.h @@ -141,15 +141,6 @@ public: }; #endif -#if USE_CURL -Json::Value getModstoreUrl(const std::string &url); -#else -inline Json::Value getModstoreUrl(const std::string &url) -{ - return Json::Value(); -} -#endif - struct ModLicenseInfo { int id; std::string shortinfo; @@ -161,57 +152,6 @@ struct ModAuthorInfo { std::string username; }; -struct ModStoreMod { - int id; - std::string title; - std::string basename; - ModAuthorInfo author; - float rating; - bool valid; -}; - -struct ModStoreCategoryInfo { - int id; - std::string name; -}; - -struct ModStoreVersionEntry { - int id; - std::string date; - std::string file; - bool approved; - //ugly version number - int mtversion; -}; - -struct ModStoreTitlePic { - int id; - std::string file; - std::string description; - int mod; -}; - -struct ModStoreModDetails { - /* version_set?? */ - std::vector categories; - ModAuthorInfo author; - ModLicenseInfo license; - ModStoreTitlePic titlepic; - int id; - std::string title; - std::string basename; - std::string description; - std::string repository; - float rating; - std::vector depends; - std::vector softdeps; - - std::string download_url; - std::string screenshot_url; - std::vector versions; - bool valid; -}; - class ModMetadata: public Metadata { public: -- cgit v1.2.3