forked from PretendoNetwork/Inkay
chore: Introduce common directory to deduplicate shared code
This commit is contained in:
parent
68bc066c7b
commit
ea71879bb1
22 changed files with 110 additions and 278 deletions
|
|
@ -5,9 +5,6 @@
|
|||
#ifndef INKAY_CONFIG_H
|
||||
#define INKAY_CONFIG_H
|
||||
|
||||
#include <string_view>
|
||||
#include <nn/swkbd.h>
|
||||
|
||||
class Config {
|
||||
public:
|
||||
static void Init();
|
||||
|
|
@ -24,21 +21,4 @@ public:
|
|||
static bool unregister_task_item_pressed;
|
||||
};
|
||||
|
||||
struct config_strings {
|
||||
const char *plugin_name;
|
||||
std::string_view network_category;
|
||||
std::string_view connect_to_network_setting;
|
||||
std::string_view other_category;
|
||||
std::string_view reset_wwp_setting;
|
||||
std::string_view press_a_action;
|
||||
std::string_view restart_to_apply_action;
|
||||
std::string_view need_menu_action;
|
||||
std::string_view using_nintendo_network;
|
||||
std::string_view using_pretendo_network;
|
||||
std::string_view module_not_found;
|
||||
std::string_view module_init_not_found;
|
||||
};
|
||||
|
||||
config_strings get_config_strings(nn::swkbd::LanguageType language);
|
||||
|
||||
#endif //INKAY_CONFIG_H
|
||||
|
|
|
|||
Loading…
Reference in a new issue