diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-02-20 07:55:02 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-02-20 07:55:02 +0000 |
commit | c7f4afbd3109c59adc0acdc391ac46a3ff11cc49 (patch) | |
tree | 9b52c8c3235f7fabf4a49695f66b25341c3c4ad0 | |
parent | bd101972a977edb38fc0c12f4c5b556eb7a2ac99 (diff) |
precompiled headers revert
git-svn-id: http://svn.miranda-ng.org/main/trunk@8185 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Dropbox/Dropbox_11.vcxproj | 9 | ||||
-rw-r--r-- | plugins/Dropbox/Dropbox_11.vcxproj.filters | 8 | ||||
-rw-r--r-- | plugins/Dropbox/Dropbox_12.vcxproj | 21 | ||||
-rw-r--r-- | plugins/Dropbox/Dropbox_12.vcxproj.filters | 32 | ||||
-rw-r--r-- | plugins/Dropbox/src/common.h | 1 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox_dialogs.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox_events.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox_icons.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox_menus.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox_services.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox_transfers.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox_utils.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/stdafx.cpp | 18 |
15 files changed, 72 insertions, 35 deletions
diff --git a/plugins/Dropbox/Dropbox_11.vcxproj b/plugins/Dropbox/Dropbox_11.vcxproj index 86a93e74c5..cdd3d7aae4 100644 --- a/plugins/Dropbox/Dropbox_11.vcxproj +++ b/plugins/Dropbox/Dropbox_11.vcxproj @@ -88,7 +88,7 @@ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -113,7 +113,7 @@ <FunctionLevelLinking>true</FunctionLevelLinking>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
@@ -138,7 +138,7 @@ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
</ClCompile>
@@ -203,6 +203,9 @@ <ClCompile Include="src\dropbox.cpp" />
<ClCompile Include="src\dropbox_services.cpp" />
<ClCompile Include="src\dropbox_transfers.cpp" />
+ <ClCompile Include="src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="res\resource.rc" />
diff --git a/plugins/Dropbox/Dropbox_11.vcxproj.filters b/plugins/Dropbox/Dropbox_11.vcxproj.filters index 1393a38512..ad97939cf2 100644 --- a/plugins/Dropbox/Dropbox_11.vcxproj.filters +++ b/plugins/Dropbox/Dropbox_11.vcxproj.filters @@ -28,6 +28,9 @@ <ClCompile Include="src\dropbox_utils.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="src\stdafx.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\http_request.h">
@@ -59,6 +62,9 @@ <Filter Include="Source Files">
<UniqueIdentifier>{badc339a-531c-4f2a-8a2e-e46bd5630044}</UniqueIdentifier>
</Filter>
+ <Filter Include="Resource Files\Icons">
+ <UniqueIdentifier>{bcf6c793-f4ae-4c61-be3c-1ad015244533}</UniqueIdentifier>
+ </Filter>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="res\resource.rc">
@@ -70,7 +76,7 @@ </ItemGroup>
<ItemGroup>
<Image Include="res\dropbox.ico">
- <Filter>Resource Files</Filter>
+ <Filter>Resource Files\Icons</Filter>
</Image>
</ItemGroup>
</Project>
\ No newline at end of file diff --git a/plugins/Dropbox/Dropbox_12.vcxproj b/plugins/Dropbox/Dropbox_12.vcxproj index 5b73201f0e..b7549c55b7 100644 --- a/plugins/Dropbox/Dropbox_12.vcxproj +++ b/plugins/Dropbox/Dropbox_12.vcxproj @@ -87,8 +87,8 @@ <FunctionLevelLinking>true</FunctionLevelLinking>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <PrecompiledHeader>Use</PrecompiledHeader>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -113,7 +113,7 @@ <FunctionLevelLinking>true</FunctionLevelLinking>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
@@ -138,7 +138,7 @@ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
</ClCompile>
@@ -166,7 +166,7 @@ <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
</ClCompile>
@@ -194,22 +194,25 @@ <ClInclude Include="src\version.h" />
</ItemGroup>
<ItemGroup>
- <ClCompile Include="src\dropbox.cpp" />
<ClCompile Include="src\dropbox_dialogs.cpp" />
<ClCompile Include="src\dropbox_events.cpp" />
<ClCompile Include="src\dropbox_icons.cpp" />
<ClCompile Include="src\dropbox_menus.cpp" />
- <ClCompile Include="src\dropbox_services.cpp" />
- <ClCompile Include="src\dropbox_transfers.cpp" />
<ClCompile Include="src\dropbox_utils.cpp" />
<ClCompile Include="src\main.cpp" />
+ <ClCompile Include="src\dropbox.cpp" />
+ <ClCompile Include="src\dropbox_services.cpp" />
+ <ClCompile Include="src\dropbox_transfers.cpp" />
+ <ClCompile Include="src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
- <ResourceCompile Include="res\Resource.rc" />
+ <ResourceCompile Include="res\resource.rc" />
<ResourceCompile Include="res\version.rc" />
</ItemGroup>
<ItemGroup>
- <None Include="res\dropbox.ico" />
+ <Image Include="res\dropbox.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
diff --git a/plugins/Dropbox/Dropbox_12.vcxproj.filters b/plugins/Dropbox/Dropbox_12.vcxproj.filters index 98aad36d22..ad97939cf2 100644 --- a/plugins/Dropbox/Dropbox_12.vcxproj.filters +++ b/plugins/Dropbox/Dropbox_12.vcxproj.filters @@ -1,33 +1,36 @@ <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <ClCompile Include="src\main.cpp">
+ <ClCompile Include="src\dropbox_menus.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\dropbox.cpp">
+ <ClCompile Include="src\dropbox_icons.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\dropbox_dialogs.cpp">
+ <ClCompile Include="src\dropbox_services.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\dropbox_events.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\dropbox_icons.cpp">
+ <ClCompile Include="src\dropbox_transfers.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\dropbox_menus.cpp">
+ <ClCompile Include="src\dropbox_dialogs.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\dropbox_services.cpp">
+ <ClCompile Include="src\main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\dropbox_transfers.cpp">
+ <ClCompile Include="src\dropbox.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\dropbox_utils.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="src\stdafx.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\http_request.h">
@@ -36,13 +39,13 @@ <ClInclude Include="src\version.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="src\common.h">
+ <ClInclude Include="src\resource.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="src\dropbox.h">
+ <ClInclude Include="src\common.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="src\resource.h">
+ <ClInclude Include="src\dropbox.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\singleton.h">
@@ -59,6 +62,9 @@ <Filter Include="Source Files">
<UniqueIdentifier>{badc339a-531c-4f2a-8a2e-e46bd5630044}</UniqueIdentifier>
</Filter>
+ <Filter Include="Resource Files\Icons">
+ <UniqueIdentifier>{bcf6c793-f4ae-4c61-be3c-1ad015244533}</UniqueIdentifier>
+ </Filter>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="res\resource.rc">
@@ -69,8 +75,8 @@ </ResourceCompile>
</ItemGroup>
<ItemGroup>
- <None Include="res\dropbox.ico">
- <Filter>Resource Files</Filter>
- </None>
+ <Image Include="res\dropbox.ico">
+ <Filter>Resource Files\Icons</Filter>
+ </Image>
</ItemGroup>
</Project>
\ No newline at end of file diff --git a/plugins/Dropbox/src/common.h b/plugins/Dropbox/src/common.h index 89afef0c2c..d30863a33b 100644 --- a/plugins/Dropbox/src/common.h +++ b/plugins/Dropbox/src/common.h @@ -26,6 +26,7 @@ #include "version.h"
#include "resource.h"
+#include "dropbox.h"
#define MODULE "Dropbox"
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp index ed705d6dea..d6a6bd65d9 100644 --- a/plugins/Dropbox/src/dropbox.cpp +++ b/plugins/Dropbox/src/dropbox.cpp @@ -1,4 +1,4 @@ -#include "dropbox.h"
+#include "common.h"
void CDropbox::Init()
{
diff --git a/plugins/Dropbox/src/dropbox_dialogs.cpp b/plugins/Dropbox/src/dropbox_dialogs.cpp index 1bbe8af20c..6c07e4f0bf 100644 --- a/plugins/Dropbox/src/dropbox_dialogs.cpp +++ b/plugins/Dropbox/src/dropbox_dialogs.cpp @@ -1,4 +1,4 @@ -#include "dropbox.h"
+#include "common.h"
INT_PTR CALLBACK CDropbox::TokenRequestProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
diff --git a/plugins/Dropbox/src/dropbox_events.cpp b/plugins/Dropbox/src/dropbox_events.cpp index 62684d66d5..02e2a788bd 100644 --- a/plugins/Dropbox/src/dropbox_events.cpp +++ b/plugins/Dropbox/src/dropbox_events.cpp @@ -1,4 +1,4 @@ -#include "dropbox.h"
+#include "common.h"
int CDropbox::OnModulesLoaded(WPARAM wParam, LPARAM lParam)
{
diff --git a/plugins/Dropbox/src/dropbox_icons.cpp b/plugins/Dropbox/src/dropbox_icons.cpp index c781369f8e..d13ed695f7 100644 --- a/plugins/Dropbox/src/dropbox_icons.cpp +++ b/plugins/Dropbox/src/dropbox_icons.cpp @@ -1,4 +1,4 @@ -#include "dropbox.h"
+#include "common.h"
void CDropbox::InitIcons()
{
diff --git a/plugins/Dropbox/src/dropbox_menus.cpp b/plugins/Dropbox/src/dropbox_menus.cpp index b111e51884..7ae155bcf5 100644 --- a/plugins/Dropbox/src/dropbox_menus.cpp +++ b/plugins/Dropbox/src/dropbox_menus.cpp @@ -1,4 +1,4 @@ -#include "dropbox.h"
+#include "common.h"
HGENMENU CDropbox::ContactMenuItems[CMI_MAX];
diff --git a/plugins/Dropbox/src/dropbox_services.cpp b/plugins/Dropbox/src/dropbox_services.cpp index 0389021920..124a76b4e3 100644 --- a/plugins/Dropbox/src/dropbox_services.cpp +++ b/plugins/Dropbox/src/dropbox_services.cpp @@ -1,4 +1,4 @@ -#include "dropbox.h"
+#include "common.h"
INT_PTR CDropbox::GetCaps(WPARAM wParam, LPARAM lParam)
{
diff --git a/plugins/Dropbox/src/dropbox_transfers.cpp b/plugins/Dropbox/src/dropbox_transfers.cpp index 6a0d885894..54c2f854af 100644 --- a/plugins/Dropbox/src/dropbox_transfers.cpp +++ b/plugins/Dropbox/src/dropbox_transfers.cpp @@ -1,4 +1,4 @@ -#include "dropbox.h"
+#include "common.h"
HttpRequest *CDropbox::CreateFileSendChunkedRequest(const char *data, int length)
{
diff --git a/plugins/Dropbox/src/dropbox_utils.cpp b/plugins/Dropbox/src/dropbox_utils.cpp index caf4d9c980..eaed860e19 100644 --- a/plugins/Dropbox/src/dropbox_utils.cpp +++ b/plugins/Dropbox/src/dropbox_utils.cpp @@ -1,4 +1,4 @@ -#include "dropbox.h"
+#include "common.h"
void CDropbox::ShowNotification(const wchar_t *caption, const wchar_t *message, int flags, MCONTACT hContact)
{
diff --git a/plugins/Dropbox/src/main.cpp b/plugins/Dropbox/src/main.cpp index c5bfbd358a..30ce75dc2a 100644 --- a/plugins/Dropbox/src/main.cpp +++ b/plugins/Dropbox/src/main.cpp @@ -1,4 +1,4 @@ -#include "dropbox.h"
+#include "common.h"
int hLangpack;
HINSTANCE g_hInstance;
diff --git a/plugins/Dropbox/src/stdafx.cpp b/plugins/Dropbox/src/stdafx.cpp new file mode 100644 index 0000000000..2aa7ce281e --- /dev/null +++ b/plugins/Dropbox/src/stdafx.cpp @@ -0,0 +1,18 @@ +/*
+Copyright (C) 2012-14 Miranda NG project (http://miranda-ng.org)
+
+This program 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 version 2
+of the License.
+
+This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "common.h"
\ No newline at end of file |