mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
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 <json/json.h>
|
||||
#include <unordered_set>
|
||||
#include "util/basic_macros.h"
|
||||
#include "config.h"
|
||||
#include "metadata.h"
|
||||
|
||||
@ -146,20 +147,10 @@ public:
|
||||
};
|
||||
#endif
|
||||
|
||||
struct ModLicenseInfo {
|
||||
int id;
|
||||
std::string shortinfo;
|
||||
std::string url;
|
||||
};
|
||||
|
||||
struct ModAuthorInfo {
|
||||
int id;
|
||||
std::string username;
|
||||
};
|
||||
|
||||
class ModMetadata: public Metadata
|
||||
{
|
||||
public:
|
||||
ModMetadata() = delete;
|
||||
ModMetadata(const std::string &mod_name);
|
||||
~ModMetadata() = default;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user