languages support (WIP)

This commit is contained in:
MihailRis
2023-12-12 22:02:17 +03:00
parent 0837cf4f03
commit 7bf70bb26e
21 changed files with 456 additions and 38 deletions
+17
View File
@@ -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;
}
+18
View File
@@ -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_