mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Common/MsgHandler: Convert type aliases over to using
Same thing, nicer to read.
This commit is contained in:
@ -15,8 +15,8 @@ enum class MsgType
|
|||||||
Critical
|
Critical
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef bool (*MsgAlertHandler)(const char* caption, const char* text, bool yes_no, MsgType style);
|
using MsgAlertHandler = bool (*)(const char* caption, const char* text, bool yes_no, MsgType style);
|
||||||
typedef std::string (*StringTranslator)(const char* text);
|
using StringTranslator = std::string (*)(const char* text);
|
||||||
|
|
||||||
void RegisterMsgAlertHandler(MsgAlertHandler handler);
|
void RegisterMsgAlertHandler(MsgAlertHandler handler);
|
||||||
void RegisterStringTranslator(StringTranslator translator);
|
void RegisterStringTranslator(StringTranslator translator);
|
||||||
|
Reference in New Issue
Block a user