mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-07-14 15:11:58 -05:00
16 lines
476 B
C++
16 lines
476 B
C++
#pragma once
|
|
#include <string_view>
|
|
|
|
namespace Strings
|
|
{
|
|
// Attempts to load strings from file in RomFS.
|
|
bool Initialize(void);
|
|
// Returns string with name and index. Returns nullptr if string doesn't exist.
|
|
const char *GetByName(std::string_view Name, int Index);
|
|
// Names of strings to prevent typos.
|
|
namespace Names
|
|
{
|
|
static constexpr std::string_view TranslationInfo = "TranslationInfo";
|
|
} // namespace Names
|
|
} // namespace Strings
|