2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-27 06:41:58 +00:00

Reduced duplicated code between localize asset loaders

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

View File

@ -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))
{
}

View File

@ -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);
};