OSDN Git Service

2d1529ab8bdb12fe9c925735130ccaf5ba699d9a
[winmerge-jp/winmerge-jp.git] / Testing / GoogleTest / UnitTests / misc.cpp
1 #include "pch.h"
2 #include "MergeApp.h"
3 #include "unicoder.h"
4 #include "RegOptionsMgr.h"
5 #include "OptionsDef.h"
6
7 void LogErrorStringUTF8(const std::string& sz)
8 {
9 }
10
11 void LogErrorString(const String& sz)
12 {
13 }
14
15 void AppErrorMessageBox(const String& msg)
16 {
17 }
18
19 String LoadResString(unsigned id)
20 {
21         return _T("");
22 }
23
24 String GetSysError(int nerr)
25 {
26         return _T("");
27 }
28
29 String tr(const std::string& str)
30 {
31         return ucr::toTString(str);
32 }
33
34 CRegOptionsMgr m_option;
35
36 COptionsMgr * GetOptionsMgr()
37 {
38         m_option.InitOption(OPT_PLUGINS_DISABLED_LIST, _T(""));
39         m_option.InitOption(OPT_PLUGINS_CUSTOM_FILTERS_LIST, _T(""));
40         return &m_option;
41 }