From c7f4afbd3109c59adc0acdc391ac46a3ff11cc49 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 20 Feb 2014 07:55:02 +0000 Subject: precompiled headers revert git-svn-id: http://svn.miranda-ng.org/main/trunk@8185 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/Dropbox_11.vcxproj | 9 ++++++--- plugins/Dropbox/Dropbox_11.vcxproj.filters | 8 +++++++- plugins/Dropbox/Dropbox_12.vcxproj | 21 +++++++++++--------- plugins/Dropbox/Dropbox_12.vcxproj.filters | 32 ++++++++++++++++++------------ plugins/Dropbox/src/common.h | 1 + plugins/Dropbox/src/dropbox.cpp | 2 +- plugins/Dropbox/src/dropbox_dialogs.cpp | 2 +- plugins/Dropbox/src/dropbox_events.cpp | 2 +- plugins/Dropbox/src/dropbox_icons.cpp | 2 +- plugins/Dropbox/src/dropbox_menus.cpp | 2 +- plugins/Dropbox/src/dropbox_services.cpp | 2 +- plugins/Dropbox/src/dropbox_transfers.cpp | 2 +- plugins/Dropbox/src/dropbox_utils.cpp | 2 +- plugins/Dropbox/src/main.cpp | 2 +- plugins/Dropbox/src/stdafx.cpp | 18 +++++++++++++++++ 15 files changed, 72 insertions(+), 35 deletions(-) create mode 100644 plugins/Dropbox/src/stdafx.cpp 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 @@ 4996;%(DisableSpecificWarnings) MultiThreadedDebugDLL common.h - NotUsing + Use Windows @@ -113,7 +113,7 @@ true 4996;%(DisableSpecificWarnings) MultiThreadedDebugDLL - NotUsing + Use common.h @@ -138,7 +138,7 @@ WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) 4996;%(DisableSpecificWarnings) - NotUsing + Use common.h Size @@ -203,6 +203,9 @@ + + Create + 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 @@ Source Files + + Source Files + @@ -59,6 +62,9 @@ {badc339a-531c-4f2a-8a2e-e46bd5630044} + + {bcf6c793-f4ae-4c61-be3c-1ad015244533} + @@ -70,7 +76,7 @@ - Resource Files + Resource Files\Icons \ 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 @@ true 4996;%(DisableSpecificWarnings) MultiThreadedDebugDLL - NotUsing common.h + Use Windows @@ -113,7 +113,7 @@ true 4996;%(DisableSpecificWarnings) MultiThreadedDebugDLL - NotUsing + Use common.h @@ -138,7 +138,7 @@ WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) 4996;%(DisableSpecificWarnings) - NotUsing + Use common.h Size @@ -166,7 +166,7 @@ NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) 4996;%(DisableSpecificWarnings) - NotUsing + Use common.h Size @@ -194,22 +194,25 @@ - - - + + + + + Create + - + - + 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 @@  - + Source Files - + Source Files - + Source Files Source Files - + Source Files - + Source Files - + Source Files - + Source Files Source Files + + Source Files + @@ -36,13 +39,13 @@ Header Files - + Header Files - + Header Files - + Header Files @@ -59,6 +62,9 @@ {badc339a-531c-4f2a-8a2e-e46bd5630044} + + {bcf6c793-f4ae-4c61-be3c-1ad015244533} + @@ -69,8 +75,8 @@ - - Resource Files - + + Resource Files\Icons + \ 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 . +*/ + +#include "common.h" \ No newline at end of file -- cgit v1.2.3