mirror of
https://git.chinosk6.cn/chinosk/gkms-local.git
synced 2026-02-05 01:14:05 +00:00
init commit
This commit is contained in:
17
app/src/main/cpp/GakumasLocalify/Local.h
Normal file
17
app/src/main/cpp/GakumasLocalify/Local.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef GAKUMAS_LOCALIFY_LOCAL_H
|
||||
#define GAKUMAS_LOCALIFY_LOCAL_H
|
||||
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
|
||||
namespace GakumasLocal::Local {
|
||||
std::filesystem::path GetBasePath();
|
||||
void LoadData();
|
||||
bool GetI18n(const std::string& key, std::string* ret);
|
||||
void DumpI18nItem(const std::string& key, const std::string& value);
|
||||
|
||||
bool GetResourceText(const std::string& name, std::string* ret);
|
||||
bool GetGenericText(const std::string& origText, std::string* newStr);
|
||||
}
|
||||
|
||||
#endif //GAKUMAS_LOCALIFY_LOCAL_H
|
||||
Reference in New Issue
Block a user