languages support (WIP)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#include "ContentPack.h"
|
||||
|
||||
using std::string;
|
||||
using std::filesystem::path;
|
||||
|
||||
ContentPack::ContentPack(const string id,
|
||||
const path folder)
|
||||
: id(id), folder(folder) {
|
||||
|
||||
}
|
||||
const string& ContentPack::getId() const {
|
||||
return id;
|
||||
}
|
||||
|
||||
const path& ContentPack::getFolder() const {
|
||||
return folder;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
#ifndef CONTENT_CONTENT_PACK_H_
|
||||
#define CONTENT_CONTENT_PACK_H_
|
||||
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
|
||||
class ContentPack {
|
||||
const std::string id;
|
||||
const std::filesystem::path folder;
|
||||
public:
|
||||
ContentPack(const std::string id,
|
||||
const std::filesystem::path folder);
|
||||
|
||||
const std::string& getId() const;
|
||||
const std::filesystem::path& getFolder() const;
|
||||
};
|
||||
|
||||
#endif // CONTENT_CONTENT_PACK_H_
|
||||
Reference in New Issue
Block a user