3 Star 9 Fork 7

Gitee 极速下载/WinMerge

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/winmerge/winmerge
克隆/下载
MergeApp.h 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
#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);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/mirrors/WinMerge.git
git@gitee.com:mirrors/WinMerge.git
mirrors
WinMerge
WinMerge
master

搜索帮助