Rename Misc.cpp to CommonFuncs.cpp

Because its only function is declared in CommonFuncs.h.
This commit is contained in:
JosJuice 2017-04-14 21:07:37 +02:00
parent 722aca0830
commit 2f9df072d6
5 changed files with 3 additions and 4 deletions

View File

@ -2,6 +2,7 @@ set(SRCS
Analytics.cpp Analytics.cpp
CDUtils.cpp CDUtils.cpp
ColorUtil.cpp ColorUtil.cpp
CommonFuncs.cpp
Config/Config.cpp Config/Config.cpp
Config/Layer.cpp Config/Layer.cpp
Config/Section.cpp Config/Section.cpp
@ -15,7 +16,6 @@ set(SRCS
MathUtil.cpp MathUtil.cpp
MemArena.cpp MemArena.cpp
MemoryUtil.cpp MemoryUtil.cpp
Misc.cpp
MsgHandler.cpp MsgHandler.cpp
NandPaths.cpp NandPaths.cpp
Network.cpp Network.cpp

View File

@ -158,6 +158,7 @@
<ClCompile Include="Analytics.cpp" /> <ClCompile Include="Analytics.cpp" />
<ClCompile Include="CDUtils.cpp" /> <ClCompile Include="CDUtils.cpp" />
<ClCompile Include="ColorUtil.cpp" /> <ClCompile Include="ColorUtil.cpp" />
<ClCompile Include="CommonFuncs.cpp" />
<ClCompile Include="Config\Config.cpp" /> <ClCompile Include="Config\Config.cpp" />
<ClCompile Include="Config\Layer.cpp" /> <ClCompile Include="Config\Layer.cpp" />
<ClCompile Include="Config\Section.cpp" /> <ClCompile Include="Config\Section.cpp" />
@ -177,7 +178,6 @@
<ClCompile Include="MD5.cpp" /> <ClCompile Include="MD5.cpp" />
<ClCompile Include="MemArena.cpp" /> <ClCompile Include="MemArena.cpp" />
<ClCompile Include="MemoryUtil.cpp" /> <ClCompile Include="MemoryUtil.cpp" />
<ClCompile Include="Misc.cpp" />
<ClCompile Include="MsgHandler.cpp" /> <ClCompile Include="MsgHandler.cpp" />
<ClCompile Include="NandPaths.cpp" /> <ClCompile Include="NandPaths.cpp" />
<ClCompile Include="Network.cpp" /> <ClCompile Include="Network.cpp" />

View File

@ -252,6 +252,7 @@
<ItemGroup> <ItemGroup>
<ClCompile Include="CDUtils.cpp" /> <ClCompile Include="CDUtils.cpp" />
<ClCompile Include="ColorUtil.cpp" /> <ClCompile Include="ColorUtil.cpp" />
<ClCompile Include="CommonFuncs.cpp" />
<ClCompile Include="Config\Config.cpp" /> <ClCompile Include="Config\Config.cpp" />
<ClCompile Include="Config\Layer.cpp" /> <ClCompile Include="Config\Layer.cpp" />
<ClCompile Include="Config\Section.cpp" /> <ClCompile Include="Config\Section.cpp" />
@ -263,7 +264,6 @@
<ClCompile Include="MathUtil.cpp" /> <ClCompile Include="MathUtil.cpp" />
<ClCompile Include="MemArena.cpp" /> <ClCompile Include="MemArena.cpp" />
<ClCompile Include="MemoryUtil.cpp" /> <ClCompile Include="MemoryUtil.cpp" />
<ClCompile Include="Misc.cpp" />
<ClCompile Include="MsgHandler.cpp" /> <ClCompile Include="MsgHandler.cpp" />
<ClCompile Include="NandPaths.cpp" /> <ClCompile Include="NandPaths.cpp" />
<ClCompile Include="Network.cpp" /> <ClCompile Include="Network.cpp" />

View File

@ -89,5 +89,4 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
// Generic function to get last error message. // Generic function to get last error message.
// Call directly after the command or use the error num. // Call directly after the command or use the error num.
// This function might change the error code. // This function might change the error code.
// Defined in Misc.cpp.
std::string GetLastErrorMsg(); std::string GetLastErrorMsg();