Drop unused struct ModLicenseInfo & ModAuthorInfo + default constructor in ModMetadata
This commit is contained in:
parent
2c860a6a42
commit
3b27cf30d9
13
src/mods.h
13
src/mods.h
@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <json/json.h>
|
#include <json/json.h>
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
|
#include "util/basic_macros.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "metadata.h"
|
#include "metadata.h"
|
||||||
|
|
||||||
@ -146,20 +147,10 @@ public:
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct ModLicenseInfo {
|
|
||||||
int id;
|
|
||||||
std::string shortinfo;
|
|
||||||
std::string url;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ModAuthorInfo {
|
|
||||||
int id;
|
|
||||||
std::string username;
|
|
||||||
};
|
|
||||||
|
|
||||||
class ModMetadata: public Metadata
|
class ModMetadata: public Metadata
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
ModMetadata() = delete;
|
||||||
ModMetadata(const std::string &mod_name);
|
ModMetadata(const std::string &mod_name);
|
||||||
~ModMetadata() = default;
|
~ModMetadata() = default;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user