Reduced duplicated code between localize asset loaders

This commit is contained in:
Jan committed 2023-12-31 13:32:38 +01:00
1 parent 4eabf98712
commit 7c50dd84a7
11 files changed
+126 -108

No files matched your search

@@ -0,0 +1,9 @@
#include "CommonLocalizeEntry.h"
CommonLocalizeEntry::CommonLocalizeEntry() = default;
CommonLocalizeEntry::CommonLocalizeEntry(std::string key, std::string value)
: m_key(std::move(key)),
m_value(std::move(value))
{
}
@@ -0,0 +1,12 @@
#pragma once
#include <string>
class CommonLocalizeEntry
{
public:
std::string m_key;
std::string m_value;
CommonLocalizeEntry();
CommonLocalizeEntry(std::string key, std::string value);
};