代码拉取完成,页面将自动刷新
#pragma once
#include "UnicodeString.h"
#define _(x) tr(x)
#define N_(x) (x)
#define NC_(c, x) (x)
class COptionsMgr;
class FileFilterHelper;
struct AboutInfo
{
AboutInfo();
String copyright;
String version;
String private_build;
String website;
};
/** @brief Retrieve error description from Windows; uses FormatMessage */
String GetSysError(int nerr = -1);
COptionsMgr * GetOptionsMgr();
void LogErrorString(const String& sz);
void LogErrorStringUTF8(const std::string& sz);
void AppErrorMessageBox(const String& msg);
void* AppGetMainHWND();
namespace AppMsgBox
{
enum
{
YES = 1,
OK = 2,
NO = 4,
CANCEL = 8,
YES_TO_ALL = 16,
DONT_DISPLAY_AGAIN = 32,
};
int error(const String& msg, int type = OK);
int warning(const String& msg, int type = OK);
int information(const String& msg, int type = OK);
};
/** @brief Load string from string resources; shortcut for String::LoadString */
String LoadResString(unsigned id);
String tr(const std::string &str);
String tr(const std::wstring &str);
String tr(const char *msgctxt, const std::string &str);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。