From dd556d2a3e2b7f7c4fdef1bcd9a7293f730df732 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 21:11:34 +0000 Subject: precompiled headers for WhenWasIt git-svn-id: http://svn.miranda-ng.org/main/trunk@273 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WhenWasIt/WhenWasIt_10.vcxproj | 19 ++++++++++++++++--- plugins/WhenWasIt/WhenWasIt_10.vcxproj.filters | 2 +- plugins/WhenWasIt/birthdays.cpp | 1 + plugins/WhenWasIt/birthdays.h | 2 -- plugins/WhenWasIt/commonheaders.h | 3 +++ plugins/WhenWasIt/date_utils.cpp | 1 + plugins/WhenWasIt/date_utils.h | 1 - plugins/WhenWasIt/dlg_handlers.cpp | 1 + plugins/WhenWasIt/dlg_handlers.h | 2 -- plugins/WhenWasIt/events.cpp | 1 + plugins/WhenWasIt/events.h | 2 -- plugins/WhenWasIt/hooked_events.cpp | 1 + plugins/WhenWasIt/hooked_events.h | 1 - plugins/WhenWasIt/icons.cpp | 1 + plugins/WhenWasIt/icons.h | 3 --- plugins/WhenWasIt/notifiers.cpp | 1 + plugins/WhenWasIt/notifiers.h | 2 -- plugins/WhenWasIt/services.cpp | 1 + plugins/WhenWasIt/services.h | 2 -- plugins/WhenWasIt/utils.cpp | 1 + plugins/WhenWasIt/utils.h | 1 - 21 files changed, 29 insertions(+), 20 deletions(-) (limited to 'plugins') diff --git a/plugins/WhenWasIt/WhenWasIt_10.vcxproj b/plugins/WhenWasIt/WhenWasIt_10.vcxproj index 83e0024b16..e78b79bb1c 100644 --- a/plugins/WhenWasIt/WhenWasIt_10.vcxproj +++ b/plugins/WhenWasIt/WhenWasIt_10.vcxproj @@ -82,6 +82,8 @@ Level3 EditAndContinue ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + Use + commonheaders.h comctl32.lib;%(AdditionalDependencies) @@ -106,6 +108,8 @@ Level3 ProgramDatabase ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + Use + commonheaders.h comctl32.lib;%(AdditionalDependencies) @@ -129,7 +133,9 @@ OnlyExplicitInline Size Level3 - WIN64;NDEBUG;_USE_32BIT_TIME_T;_WINDOWS;_USRDLL;WHENWASIT_EXPORTS;%(PreprocessorDefinitions) + WIN64;NDEBUG;_WINDOWS;_USRDLL;WHENWASIT_EXPORTS;%(PreprocessorDefinitions) + Use + commonheaders.h comctl32.lib;%(AdditionalDependencies) @@ -152,8 +158,10 @@ EnableFastChecks MultiThreadedDebugDLL Level3 - WIN64;_DEBUG;_USE_32BIT_TIME_T;_WINDOWS;_USRDLL;WHENWASIT_EXPORTS;%(PreprocessorDefinitions) + WIN64;_DEBUG;_WINDOWS;_USRDLL;WHENWASIT_EXPORTS;%(PreprocessorDefinitions) Disabled + Use + commonheaders.h comctl32.lib;%(AdditionalDependencies) @@ -178,7 +186,12 @@ - + + Create + Create + Create + Create + diff --git a/plugins/WhenWasIt/WhenWasIt_10.vcxproj.filters b/plugins/WhenWasIt/WhenWasIt_10.vcxproj.filters index 0a4f4f6b4d..fda13603f3 100644 --- a/plugins/WhenWasIt/WhenWasIt_10.vcxproj.filters +++ b/plugins/WhenWasIt/WhenWasIt_10.vcxproj.filters @@ -142,7 +142,7 @@ Resource Files - + diff --git a/plugins/WhenWasIt/birthdays.cpp b/plugins/WhenWasIt/birthdays.cpp index 357936a866..baed614aad 100644 --- a/plugins/WhenWasIt/birthdays.cpp +++ b/plugins/WhenWasIt/birthdays.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "commonheaders.h" #include "birthdays.h" CBirthdays &birthdays = CBirthdays(); diff --git a/plugins/WhenWasIt/birthdays.h b/plugins/WhenWasIt/birthdays.h index b20dd88554..c54042800c 100644 --- a/plugins/WhenWasIt/birthdays.h +++ b/plugins/WhenWasIt/birthdays.h @@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_WWI_BIRTHDAYS_H #define M_WWI_BIRTHDAYS_H -#include "commonheaders.h" - struct TBirthdayContact{ HANDLE hContact; HANDLE hClistIcon; diff --git a/plugins/WhenWasIt/commonheaders.h b/plugins/WhenWasIt/commonheaders.h index c3e9cc1734..f61d5fe547 100644 --- a/plugins/WhenWasIt/commonheaders.h +++ b/plugins/WhenWasIt/commonheaders.h @@ -21,6 +21,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_WWI_COMMONHEADERS_H #define M_WWI_COMMONHEADERS_H +#define _CRT_SECURE_NO_WARNINGS +#define _CRT_NON_CONFORMING_SWPRINTFS + #define MIRANDA_VER 0x0A00 #include diff --git a/plugins/WhenWasIt/date_utils.cpp b/plugins/WhenWasIt/date_utils.cpp index e4c8195890..e9da2253e0 100644 --- a/plugins/WhenWasIt/date_utils.cpp +++ b/plugins/WhenWasIt/date_utils.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "commonheaders.h" #include "date_utils.h" time_t Today() diff --git a/plugins/WhenWasIt/date_utils.h b/plugins/WhenWasIt/date_utils.h index 624fceb155..45db98fad7 100644 --- a/plugins/WhenWasIt/date_utils.h +++ b/plugins/WhenWasIt/date_utils.h @@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef H_WWI_DATE_UTILS_H #define H_WWI_DATE_UTILS_H -#include "commonheaders.h" #include "errno.h" #define SAVE_MODE_STANDARD 0 diff --git a/plugins/WhenWasIt/dlg_handlers.cpp b/plugins/WhenWasIt/dlg_handlers.cpp index 7e907264bd..86b64effcc 100644 --- a/plugins/WhenWasIt/dlg_handlers.cpp +++ b/plugins/WhenWasIt/dlg_handlers.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "commonheaders.h" #include "dlg_handlers.h" #define COLOR_USERINFO RGB(138, 190, 160) diff --git a/plugins/WhenWasIt/dlg_handlers.h b/plugins/WhenWasIt/dlg_handlers.h index c335ad026e..10e1b1ff2b 100644 --- a/plugins/WhenWasIt/dlg_handlers.h +++ b/plugins/WhenWasIt/dlg_handlers.h @@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_WWI_DIALOG_HANDLERS_H #define M_WWI_DIALOG_HANDLERS_H -#include "commonheaders.h" - #define FOREGROUND_COLOR RGB(0, 64, 128) #define BACKGROUND_COLOR RGB(255, 255, 255) diff --git a/plugins/WhenWasIt/events.cpp b/plugins/WhenWasIt/events.cpp index d9b9eab75e..70dc0ffee4 100644 --- a/plugins/WhenWasIt/events.cpp +++ b/plugins/WhenWasIt/events.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "commonheaders.h" #include "events.h" HANDLE heContactSendMessage; diff --git a/plugins/WhenWasIt/events.h b/plugins/WhenWasIt/events.h index 7944673fbf..8d63e59630 100644 --- a/plugins/WhenWasIt/events.h +++ b/plugins/WhenWasIt/events.h @@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_WWI_EVENTS_H #define M_WWI_EVENTS_H -#include "commonheaders.h" - #define ME_WWI_SENDMESSAGE "WWI/ContactSendMessage" extern HANDLE heContactSendMessage; diff --git a/plugins/WhenWasIt/hooked_events.cpp b/plugins/WhenWasIt/hooked_events.cpp index 4c23bc2bf4..20e9bfc86d 100644 --- a/plugins/WhenWasIt/hooked_events.cpp +++ b/plugins/WhenWasIt/hooked_events.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "commonheaders.h" #include "hooked_events.h" #define DATE_CHANGE_CHECK_INTERVAL 20 diff --git a/plugins/WhenWasIt/hooked_events.h b/plugins/WhenWasIt/hooked_events.h index 8db02414ff..69c75f0531 100644 --- a/plugins/WhenWasIt/hooked_events.h +++ b/plugins/WhenWasIt/hooked_events.h @@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_WWI_HOOKED_EVENTS_H #define M_WWI_HOOKED_EVENTS_H -#include "commonheaders.h" #include "dlg_handlers.h" extern HANDLE hModulesLoaded; diff --git a/plugins/WhenWasIt/icons.cpp b/plugins/WhenWasIt/icons.cpp index a366f9bf2c..facb02b574 100644 --- a/plugins/WhenWasIt/icons.cpp +++ b/plugins/WhenWasIt/icons.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "commonheaders.h" #include "icons.h" //HICON hiDlg = NULL; diff --git a/plugins/WhenWasIt/icons.h b/plugins/WhenWasIt/icons.h index 42095b51f7..f9d85ce7a4 100644 --- a/plugins/WhenWasIt/icons.h +++ b/plugins/WhenWasIt/icons.h @@ -21,9 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_WWI_ICONS_H #define M_WWI_ICONS_H -#include "commonheaders.h" - -//extern HICON hiDlg; extern HICON hiMainMenu; extern HICON hiCheckMenu; extern HICON hiListMenu; diff --git a/plugins/WhenWasIt/notifiers.cpp b/plugins/WhenWasIt/notifiers.cpp index 654dbbbe53..102511cfaa 100644 --- a/plugins/WhenWasIt/notifiers.cpp +++ b/plugins/WhenWasIt/notifiers.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "commonheaders.h" #include "notifiers.h" void FillPopupData(POPUPDATAT &pd, int dtb) diff --git a/plugins/WhenWasIt/notifiers.h b/plugins/WhenWasIt/notifiers.h index 22ddb96c8d..ff9f9fe229 100644 --- a/plugins/WhenWasIt/notifiers.h +++ b/plugins/WhenWasIt/notifiers.h @@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_WWI_NOTIFIERS_H #define M_WWI_NOTIFIERS_H -#include "commonheaders.h" - #ifdef _UNICODE #define POPUPDATAT POPUPDATAW #define PUAddPopUpT PUAddPopUpW diff --git a/plugins/WhenWasIt/services.cpp b/plugins/WhenWasIt/services.cpp index 303866bffa..09edb81c80 100644 --- a/plugins/WhenWasIt/services.cpp +++ b/plugins/WhenWasIt/services.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "commonheaders.h" #include "services.h" #define COMMENT_CHAR '#' diff --git a/plugins/WhenWasIt/services.h b/plugins/WhenWasIt/services.h index 39f49abde6..47619acc26 100644 --- a/plugins/WhenWasIt/services.h +++ b/plugins/WhenWasIt/services.h @@ -40,8 +40,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define NOTFOUND_FORMAT "Could not find UID '%s [%s]' in current database, skipping" #endif -#include "commonheaders.h" - extern int bShouldCheckBirthdays; extern int bBirthdayFound; diff --git a/plugins/WhenWasIt/utils.cpp b/plugins/WhenWasIt/utils.cpp index 36759393f0..86dfc05c44 100644 --- a/plugins/WhenWasIt/utils.cpp +++ b/plugins/WhenWasIt/utils.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "commonheaders.h" #include "utils.h" int LogInit() diff --git a/plugins/WhenWasIt/utils.h b/plugins/WhenWasIt/utils.h index 0528c0440f..6d76c72d2a 100644 --- a/plugins/WhenWasIt/utils.h +++ b/plugins/WhenWasIt/utils.h @@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define M_WWI_UTILS_H #include -#include "commonheaders.h" #define LOG_FILE "wwi.log" -- cgit v1.2.3