Rename stdafx.h to pch.h

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2020-02-10 14:10:29 +01:00
parent dffc4bf9af
commit 0800f813ff
54 changed files with 360 additions and 360 deletions

@ -1 +1 @@
Subproject commit 830befb8da217efacbb69107e247b9ccb633863c Subproject commit 45cbc9ac150c22798e35fc0a066acaf486644079

@ -1 +1 @@
Subproject commit 5ae6dd56c26ef749e328addd3fdb5e487cea9d43 Subproject commit 62a7d4e715aad8227c50a783b5eebb7b49dd8001

View File

@ -114,7 +114,7 @@
</ImportGroup> </ImportGroup>
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<ItemGroup> <ItemGroup>
<ClCompile Include="stdafx.cpp"> <ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
@ -137,7 +137,7 @@
<ClCompile Include="zrcolaupdater.cpp" /> <ClCompile Include="zrcolaupdater.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="stdafx.h" /> <ClInclude Include="pch.h" />
<ClInclude Include="zrcolaabout.h" /> <ClInclude Include="zrcolaabout.h" />
<ClInclude Include="zrcolaapp.h" /> <ClInclude Include="zrcolaapp.h" />
<ClInclude Include="zrcolachrcatpnl.h" /> <ClInclude Include="zrcolachrcatpnl.h" />

View File

@ -19,7 +19,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="stdafx.cpp"> <ClCompile Include="pch.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="zrcolaapp.cpp"> <ClCompile Include="zrcolaapp.cpp">
@ -63,7 +63,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="stdafx.h"> <ClInclude Include="pch.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="zrcolaapp.h"> <ClInclude Include="zrcolaapp.h">

View File

@ -1,20 +1,20 @@
/* /*
Copyright 2015-2019 Amebis Copyright 2015-2019 Amebis
This file is part of ZRCola. This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"

View File

@ -1,66 +1,66 @@
/* /*
Copyright 2015-2019 Amebis Copyright 2015-2019 Amebis
This file is part of ZRCola. This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#pragma once #pragma once
#include "../include/version.h" #include "../include/version.h"
#include "zrcolaabout.h" #include "zrcolaabout.h"
#include "zrcolaapp.h" #include "zrcolaapp.h"
#include "zrcolachrcatpnl.h" #include "zrcolachrcatpnl.h"
#include "zrcolachrgrid.h" #include "zrcolachrgrid.h"
#include "zrcolachrreq.h" #include "zrcolachrreq.h"
#include "zrcolacomppnl.h" #include "zrcolacomppnl.h"
#include "zrcolafrm.h" #include "zrcolafrm.h"
#include "zrcolakeyhndlr.h" #include "zrcolakeyhndlr.h"
#include "zrcolasettings.h" #include "zrcolasettings.h"
#include "zrcolatranseq.h" #include "zrcolatranseq.h"
#include "zrcolaupdater.h" #include "zrcolaupdater.h"
#include <Updater/chkthread.h> #include <Updater/chkthread.h>
#include <wxex/common.h> #include <wxex/common.h>
#include <wxex/url.h> #include <wxex/url.h>
#include <wxex/persist/auimanager.h> #include <wxex/persist/auimanager.h>
#include <wxex/persist/toplevel.h> #include <wxex/persist/toplevel.h>
#include <wx/clipbrd.h> #include <wx/clipbrd.h>
#include <wx/dcclient.h> #include <wx/dcclient.h>
#include <wx/ffile.h> #include <wx/ffile.h>
#include <wx/msgdlg.h> #include <wx/msgdlg.h>
#include <wx/persist.h> #include <wx/persist.h>
#include <wx/persist/toplevel.h> #include <wx/persist/toplevel.h>
#include <wx/socket.h> #include <wx/socket.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#include <wx/utils.h> #include <wx/utils.h>
#include <wx/valtext.h> #include <wx/valtext.h>
#include <WinStd/MSI.h> #include <WinStd/MSI.h>
#include <fstream> #include <fstream>
#include <string> #include <string>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <stdex/idrec.h> #include <stdex/idrec.h>
#if defined(__WXMSW__) #if defined(__WXMSW__)
#include <Msi.h> #include <Msi.h>
#include <ShObjIdl.h> #include <ShObjIdl.h>
#include <ShlGuid.h> #include <ShlGuid.h>
#endif #endif

View File

@ -19,7 +19,7 @@
<property name="name">ZRCola</property> <property name="name">ZRCola</property>
<property name="namespace"></property> <property name="namespace"></property>
<property name="path">.</property> <property name="path">.</property>
<property name="precompiled_header">#include &quot;stdafx.h&quot;</property> <property name="precompiled_header">#include &quot;pch.h&quot;</property>
<property name="relative_path">1</property> <property name="relative_path">1</property>
<property name="skip_lua_events">1</property> <property name="skip_lua_events">1</property>
<property name="skip_php_events">1</property> <property name="skip_php_events">1</property>

View File

@ -5,7 +5,7 @@
// PLEASE DO *NOT* EDIT THIS FILE! // PLEASE DO *NOT* EDIT THIS FILE!
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#include "stdafx.h" #include "pch.h"
#include "zrcolachrgrid.h" #include "zrcolachrgrid.h"

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
#if defined(__WXMSW__) #if defined(__WXMSW__)
#pragma comment(lib, "msi.lib") #pragma comment(lib, "msi.lib")
#endif #endif

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -5,7 +5,7 @@
// PLEASE DO *NOT* EDIT THIS FILE! // PLEASE DO *NOT* EDIT THIS FILE!
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#include "stdafx.h" #include "pch.h"
#include "zrcolachrgrid.h" #include "zrcolachrgrid.h"

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////

View File

@ -49,7 +49,7 @@
<ClCompile Include="dbsource.cpp" /> <ClCompile Include="dbsource.cpp" />
<ClCompile Include="main.cpp" /> <ClCompile Include="main.cpp" />
<ClCompile Include="parse.cpp" /> <ClCompile Include="parse.cpp" />
<ClCompile Include="stdafx.cpp"> <ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile> </ClCompile>
@ -57,7 +57,7 @@
<ItemGroup> <ItemGroup>
<ClInclude Include="dbsource.h" /> <ClInclude Include="dbsource.h" />
<ClInclude Include="parse.h" /> <ClInclude Include="parse.h" />
<ClInclude Include="stdafx.h" /> <ClInclude Include="pch.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\lib\libZRColaUI\build\libZRColaUI.vcxproj"> <ProjectReference Include="..\lib\libZRColaUI\build\libZRColaUI.vcxproj">

View File

@ -19,7 +19,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="stdafx.cpp"> <ClCompile Include="pch.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="main.cpp"> <ClCompile Include="main.cpp">
@ -33,7 +33,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="stdafx.h"> <ClInclude Include="pch.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="dbsource.h"> <ClInclude Include="dbsource.h">

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
using namespace std; using namespace std;
using namespace stdex; using namespace stdex;

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
using namespace std; using namespace std;
using namespace stdex; using namespace stdex;

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
using namespace std; using namespace std;
using namespace stdex; using namespace stdex;

View File

@ -1,20 +1,20 @@
/* /*
Copyright 2015-2019 Amebis Copyright 2015-2019 Amebis
This file is part of ZRCola. This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"

View File

@ -1,56 +1,56 @@
/* /*
Copyright 2015-2019 Amebis Copyright 2015-2019 Amebis
This file is part of ZRCola. This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#pragma once #pragma once
#include "../include/version.h" #include "../include/version.h"
#include "dbsource.h" #include "dbsource.h"
#include "parse.h" #include "parse.h"
#include <wx/app.h> #include <wx/app.h>
#include <wx/cmdline.h> #include <wx/cmdline.h>
#include <wx/config.h> #include <wx/config.h>
#include <wx/intl.h> #include <wx/intl.h>
#include <wxex/common.h> #include <wxex/common.h>
#include <wxex/comutils.h> #include <wxex/comutils.h>
#include <stdex/idrec.h> #include <stdex/idrec.h>
#include <WinStd/Common.h> #include <WinStd/Common.h>
#include <initguid.h> // GUID helper to prevent LNK2001 errors (unresolved external symbol IID_IADO...) #include <initguid.h> // GUID helper to prevent LNK2001 errors (unresolved external symbol IID_IADO...)
#pragma warning(push) #pragma warning(push)
#pragma warning(disable: 4091) #pragma warning(disable: 4091)
#include <adoint.h> #include <adoint.h>
#include <adoid.h> #include <adoid.h>
#pragma warning(pop) #pragma warning(pop)
#include <process.h> #include <process.h>
#include <tchar.h> #include <tchar.h>
#include <stdlib.h> #include <stdlib.h>
#include <algorithm> #include <algorithm>
#include <codecvt> #include <codecvt>
#include <cwctype> #include <cwctype>
#include <fstream> #include <fstream>
#include <memory> #include <memory>
#include <set> #include <set>
#include <vector> #include <vector>

View File

@ -32,13 +32,13 @@
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="main.cpp" /> <ClCompile Include="main.cpp" />
<ClCompile Include="stdafx.cpp"> <ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="stdafx.h" /> <ClInclude Include="pch.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ResourceCompile Include="ZRColaInstall.rc" /> <ResourceCompile Include="ZRColaInstall.rc" />

View File

@ -15,7 +15,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="stdafx.cpp"> <ClCompile Include="pch.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="main.cpp"> <ClCompile Include="main.cpp">
@ -23,7 +23,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="stdafx.h"> <ClInclude Include="pch.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

View File

@ -15,7 +15,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="stdafx.cpp"> <ClCompile Include="pch.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="main.cpp"> <ClCompile Include="main.cpp">
@ -23,7 +23,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="stdafx.h"> <ClInclude Include="pch.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

View File

@ -15,7 +15,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="stdafx.cpp"> <ClCompile Include="pch.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="main.cpp"> <ClCompile Include="main.cpp">
@ -23,7 +23,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="stdafx.h"> <ClInclude Include="pch.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

View File

@ -15,7 +15,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="stdafx.cpp"> <ClCompile Include="pch.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="main.cpp"> <ClCompile Include="main.cpp">
@ -23,7 +23,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="stdafx.h"> <ClInclude Include="pch.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
/// ///

View File

@ -1,20 +1,20 @@
/* /*
Copyright 2015-2019 Amebis Copyright 2015-2019 Amebis
This file is part of ZRCola. This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"

View File

@ -1,22 +1,22 @@
/* /*
Copyright 2015-2019 Amebis Copyright 2015-2019 Amebis
This file is part of ZRCola. This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#pragma once #pragma once
#include <Windows.h> #include <Windows.h>

View File

@ -37,7 +37,7 @@
<WarningLevel>Level4</WarningLevel> <WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>NTDDI_VERSION=NTDDI_WINXP;_WIN32_WINNT=_WIN32_WINNT_WINXP;wxMSVC_VERSION=$(PlatformToolsetVersion);_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>NTDDI_VERSION=NTDDI_WINXP;_WIN32_WINNT=_WIN32_WINNT_WINXP;wxMSVC_VERSION=$(PlatformToolsetVersion);_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile> <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<StringPooling>true</StringPooling> <StringPooling>true</StringPooling>
<DisableSpecificWarnings>4100;4505</DisableSpecificWarnings> <DisableSpecificWarnings>4100;4505</DisableSpecificWarnings>

View File

@ -31,7 +31,7 @@
<ClCompile Include="..\src\common.cpp" /> <ClCompile Include="..\src\common.cpp" />
<ClCompile Include="..\src\language.cpp" /> <ClCompile Include="..\src\language.cpp" />
<ClCompile Include="..\src\mapping.cpp" /> <ClCompile Include="..\src\mapping.cpp" />
<ClCompile Include="..\src\stdafx.cpp"> <ClCompile Include="..\src\pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
@ -48,7 +48,7 @@
<ClInclude Include="..\include\zrcola\language.h" /> <ClInclude Include="..\include\zrcola\language.h" />
<ClInclude Include="..\include\zrcola\tag.h" /> <ClInclude Include="..\include\zrcola\tag.h" />
<ClInclude Include="..\include\zrcola\translate.h" /> <ClInclude Include="..\include\zrcola\translate.h" />
<ClInclude Include="..\src\stdafx.h" /> <ClInclude Include="..\src\pch.h" />
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{3C61929E-7289-4101-8D0A-DA22D6E1AEA8}</ProjectGuid> <ProjectGuid>{3C61929E-7289-4101-8D0A-DA22D6E1AEA8}</ProjectGuid>

View File

@ -11,7 +11,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\src\stdafx.cpp"> <ClCompile Include="..\src\pch.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\src\mapping.cpp"> <ClCompile Include="..\src\mapping.cpp">
@ -34,7 +34,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\src\stdafx.h"> <ClInclude Include="..\src\pch.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\zrcola\common.h"> <ClInclude Include="..\include\zrcola\common.h">

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
const ZRCola::chrcatid_t ZRCola::chrcatid_t::blank = {}; const ZRCola::chrcatid_t ZRCola::chrcatid_t::blank = {};

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
const ZRCola::langid_t ZRCola::langid_t::blank = {}; const ZRCola::langid_t ZRCola::langid_t::blank = {};

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
#ifdef _WIN32 #ifdef _WIN32

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
size_t ZRCola::mapping_vector::to_src(_In_ size_t dst) const size_t ZRCola::mapping_vector::to_src(_In_ size_t dst) const

View File

@ -1,20 +1,20 @@
/* /*
Copyright 2015-2019 Amebis Copyright 2015-2019 Amebis
This file is part of ZRCola. This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"

View File

@ -1,32 +1,32 @@
/* /*
Copyright 2015-2019 Amebis Copyright 2015-2019 Amebis
This file is part of ZRCola. This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#pragma once #pragma once
#include "../../../include/version.h" #include "../../../include/version.h"
#include "../include/zrcola/character.h" #include "../include/zrcola/character.h"
#include "../include/zrcola/language.h" #include "../include/zrcola/language.h"
#include "../include/zrcola/translate.h" #include "../include/zrcola/translate.h"
#include "../include/zrcola/tag.h" #include "../include/zrcola/tag.h"
#include <assert.h> #include <assert.h>
#include <algorithm> #include <algorithm>
#include <cwctype> #include <cwctype>

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
bool ZRCola::chrtag_db::Search(_In_ const std::map<tagid_t, unsigned __int16> &tags, _In_ const character_db &ch_db, _In_ const std::set<chrcatid_t> &cats, _Inout_ std::map<std::wstring, charrank_t> &hits, _In_opt_ bool (__cdecl *fn_abort)(void *cookie), _In_opt_ void *cookie) const bool ZRCola::chrtag_db::Search(_In_ const std::map<tagid_t, unsigned __int16> &tags, _In_ const character_db &ch_db, _In_ const std::set<chrcatid_t> &cats, _Inout_ std::map<std::wstring, charrank_t> &hits, _In_opt_ bool (__cdecl *fn_abort)(void *cookie), _In_opt_ void *cookie) const

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
void ZRCola::translation_db::Translate(_In_ transetid_t set, _In_z_count_(inputMax) const wchar_t* input, _In_ size_t inputMax, _Out_ std::wstring &output, _Out_opt_ std::vector<mapping>* map) const void ZRCola::translation_db::Translate(_In_ transetid_t set, _In_z_count_(inputMax) const wchar_t* input, _In_ size_t inputMax, _Out_ std::wstring &output, _Out_opt_ std::vector<mapping>* map) const

View File

@ -28,7 +28,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\src\keyboard.cpp" /> <ClCompile Include="..\src\keyboard.cpp" />
<ClCompile Include="..\src\stdafx.cpp"> <ClCompile Include="..\src\pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
@ -41,7 +41,7 @@
<ClInclude Include="..\include\zrcolaui\chargroup.h" /> <ClInclude Include="..\include\zrcolaui\chargroup.h" />
<ClInclude Include="..\include\zrcolaui\common.h" /> <ClInclude Include="..\include\zrcolaui\common.h" />
<ClInclude Include="..\include\zrcolaui\keyboard.h" /> <ClInclude Include="..\include\zrcolaui\keyboard.h" />
<ClInclude Include="..\src\stdafx.h" /> <ClInclude Include="..\src\pch.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<POCompile Include="..\locale\de_DE.po" /> <POCompile Include="..\locale\de_DE.po" />

View File

@ -18,7 +18,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\src\stdafx.cpp"> <ClCompile Include="..\src\pch.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\src\keyboard.cpp"> <ClCompile Include="..\src\keyboard.cpp">
@ -26,7 +26,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\src\stdafx.h"> <ClInclude Include="..\src\pch.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\zrcolaui\common.h"> <ClInclude Include="..\include\zrcolaui\common.h">

View File

@ -17,7 +17,7 @@
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "stdafx.h" #include "pch.h"
bool ZRCola::keyseq_db::GetSequenceAsText(_In_count_(seq_len) const keyseq::key_t *seq, _In_ size_t seq_len, _Out_ wxString& str) bool ZRCola::keyseq_db::GetSequenceAsText(_In_count_(seq_len) const keyseq::key_t *seq, _In_ size_t seq_len, _Out_ wxString& str)

View File

@ -0,0 +1,20 @@
/*
Copyright 2015-2019 Amebis
This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/
#include "pch.h"

View File

@ -1,28 +1,28 @@
/* /*
Copyright 2015-2019 Amebis Copyright 2015-2019 Amebis
This file is part of ZRCola. This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>. along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/ */
#pragma once #pragma once
#include "../../../include/version.h" #include "../../../include/version.h"
#include "../include/zrcolaui/chargroup.h" #include "../include/zrcolaui/chargroup.h"
#include "../include/zrcolaui/keyboard.h" #include "../include/zrcolaui/keyboard.h"
#include <wx/translation.h> #include <wx/translation.h>
#include <assert.h> #include <assert.h>

View File

@ -1,20 +0,0 @@
/*
Copyright 2015-2019 Amebis
This file is part of ZRCola.
ZRCola is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ZRCola is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
*/
#include "stdafx.h"

@ -1 +1 @@
Subproject commit 50cdbee3aea9928df1b3afa476f0c20b90aee34c Subproject commit 42cb00a22a7e41a67c7aace1b5c208f157a5a1bf