mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-09-11 03:55:42 -05:00
Revisions, SVI import fix.
This commit is contained in:
44
include/strings/names.hpp
Normal file
44
include/strings/names.hpp
Normal file
@@ -0,0 +1,44 @@
|
||||
#pragma once
|
||||
#include <string_view>
|
||||
|
||||
namespace strings
|
||||
{
|
||||
namespace names
|
||||
{
|
||||
inline constexpr std::string_view BACKUPMENU_MENU = "BackupMenu";
|
||||
inline constexpr std::string_view BACKUPMENU_CONFS = "BackupMenuConfirmations";
|
||||
inline constexpr std::string_view BACKUPMENU_POPS = "BackupMenuPops";
|
||||
inline constexpr std::string_view BACKUPMENU_STATUS = "BackupMenuStatus";
|
||||
inline constexpr std::string_view CONTROL_GUIDES = "ControlGuides";
|
||||
inline constexpr std::string_view DATA_LOADING_STATUS = "DataLoadingStatus";
|
||||
inline constexpr std::string_view EXTRASMENU_MENU = "ExtrasMenu";
|
||||
inline constexpr std::string_view EXTRASMENU_POPS = "ExtrasPops";
|
||||
inline constexpr std::string_view GENERAL_POPS = "GeneralPops";
|
||||
inline constexpr std::string_view GOOGLE_DRIVE = "GoogleDriveStrings";
|
||||
inline constexpr std::string_view HOLDING_STRINGS = "HoldingStrings";
|
||||
inline constexpr std::string_view IO_STATUSES = "IOStatuses";
|
||||
inline constexpr std::string_view IO_POPS = "IOPops";
|
||||
inline constexpr std::string_view KEYBOARD = "KeyboardStrings";
|
||||
inline constexpr std::string_view MAINMENU_CONFS = "MainMenuConfs";
|
||||
inline constexpr std::string_view MAINMENU_POPS = "MainMenuPops";
|
||||
inline constexpr std::string_view ON_OFF = "OnOff";
|
||||
inline constexpr std::string_view REMOTE_POPS = "RemotePops";
|
||||
inline constexpr std::string_view SAVECREATE_POPS = "SaveCreatePops";
|
||||
inline constexpr std::string_view SAVE_DATA_TYPES = "SaveDataTypes";
|
||||
inline constexpr std::string_view SETTINGS_DESCRIPTIONS = "SettingsDescriptions";
|
||||
inline constexpr std::string_view SETTINGS_MENU = "SettingsMenu";
|
||||
inline constexpr std::string_view SETTINGS_POPS = "SettingsPops";
|
||||
inline constexpr std::string_view SORT_TYPES = "SortTypes";
|
||||
inline constexpr std::string_view TITLEINFO = "TitleInfo";
|
||||
inline constexpr std::string_view TITLEOPTION_CONFS = "TitleOptionConfirmations";
|
||||
inline constexpr std::string_view TITLEOPTION_POPS = "TitleOptionPops";
|
||||
inline constexpr std::string_view TITLEOPTION_STATUS = "TitleOptionStatus";
|
||||
inline constexpr std::string_view TITLEOPTION = "TitleOptions";
|
||||
inline constexpr std::string_view TRANSLATION = "TranslationInfo";
|
||||
inline constexpr std::string_view USEROPTION_CONFS = "UserOptionConfirmations";
|
||||
inline constexpr std::string_view USEROPTION_STATUS = "UserOptionStatus";
|
||||
inline constexpr std::string_view USEROPTION_MENU = "UserOptions";
|
||||
inline constexpr std::string_view WEBDAV = "WebDavStrings";
|
||||
inline constexpr std::string_view YES_NO_OK = "YesNoOK";
|
||||
}
|
||||
}
|
||||
13
include/strings/strings.hpp
Normal file
13
include/strings/strings.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "strings/names.hpp"
|
||||
|
||||
#include <string_view>
|
||||
|
||||
namespace strings
|
||||
{
|
||||
// Attempts to load strings from file in RomFS.
|
||||
bool initialize();
|
||||
|
||||
// Returns string with name and index. Returns nullptr if string doesn't exist.
|
||||
const char *get_by_name(std::string_view name, int index);
|
||||
} // namespace strings
|
||||
Reference in New Issue
Block a user