3 #include "UnicodeString.h"
\r
7 #define NC_(c, x) (x)
\r
10 class FileFilterHelper;
\r
17 String private_build;
\r
21 /** @brief Retrieve error description from Windows; uses FormatMessage */
\r
22 String GetSysError(int nerr = -1);
\r
24 COptionsMgr * GetOptionsMgr();
\r
25 void LogErrorString(const String& sz);
\r
26 void LogErrorStringUTF8(const std::string& sz);
\r
27 void AppErrorMessageBox(const String& msg);
\r
38 DONT_DISPLAY_AGAIN = 32,
\r
40 int error(const String& msg, int type = OK);
\r
41 int warning(const String& msg, int type = OK);
\r
42 int information(const String& msg, int type = OK);
\r
45 /** @brief Load string from string resources; shortcut for String::LoadString */
\r
46 String LoadResString(unsigned id);
\r
48 String tr(const std::string &str);
\r
49 String tr(const char *msgctxt, const std::string &str);