Skip to content
Permalink
Browse files

Common/MsgHandler: Convert type aliases over to using

Same thing, nicer to read.
  • Loading branch information...
lioncash committed Jun 17, 2019
1 parent 027c175 commit d1475f6d59fe5973e3e3bf945bd96ae110f96936
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/Common/MsgHandler.h
@@ -15,8 +15,8 @@ enum class MsgType
Critical
};

typedef bool (*MsgAlertHandler)(const char* caption, const char* text, bool yes_no, MsgType style);
typedef std::string (*StringTranslator)(const char* text);
using MsgAlertHandler = bool (*)(const char* caption, const char* text, bool yes_no, MsgType style);
using StringTranslator = std::string (*)(const char* text);

void RegisterMsgAlertHandler(MsgAlertHandler handler);
void RegisterStringTranslator(StringTranslator translator);

0 comments on commit d1475f6

Please sign in to comment.
You can’t perform that action at this time.