From 57e1faf818b58378d83f6b583d4f048d3dd5a4d9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 May 2013 13:55:38 +0000 Subject: we don't need VS2003/2005 support as well git-svn-id: http://svn.miranda-ng.org/main/trunk@4673 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_keybindings.h | 57 ------------------ include/m_stdhdr.h | 70 ---------------------- plugins/AdvaImg/src/main.cpp | 3 +- plugins/BossKeyPlus/src/BossKey.h | 1 - .../Clist_modern/src/hdr/modern_commonheaders.h | 3 +- plugins/Clist_modern/src/modern_row.cpp | 2 - plugins/Clist_mw/src/commonheaders.h | 5 +- plugins/Clist_nicer/src/Include/commonheaders.h | 1 - plugins/CrashDumper/src/utils.h | 3 +- plugins/CryptoPP/src/commonheaders.h | 3 +- plugins/FlashAvatars/src/stdafx.h | 3 +- plugins/Import/src/import.h | 3 +- plugins/Scriver/src/commonheaders.h | 9 +-- plugins/SecureIM/src/commonheaders.h | 3 +- protocols/FacebookRM/src/common.h | 2 - protocols/Gadu-Gadu/src/gg.h | 4 +- protocols/IRCG/IRC_10.vcxproj | 1 - protocols/IRCG/IRC_10.vcxproj.filters | 3 - protocols/IRCG/IRC_11.vcxproj | 1 - protocols/IRCG/IRC_11.vcxproj.filters | 3 - protocols/IRCG/src/commandmonitor.h | 22 ------- protocols/IRCG/src/irc.h | 3 +- protocols/IcqOscarJ/src/icqoscar.h | 2 - protocols/JabberG/src/jabber.h | 6 +- protocols/MSN/src/msn_global.h | 3 +- protocols/MSN/src/msn_proto.h | 1 - protocols/Omegle/src/common.h | 2 - protocols/Tlen/src/jabber.h | 4 -- protocols/Yahoo/src/libyahoo2/config.h | 2 - protocols/Yahoo/src/yahoo.h | 7 +-- src/core/commonheaders.h | 2 - src/core/stdchat/src/chat.h | 3 +- src/core/stdclist/src/commonheaders.h | 2 - src/core/stdmsg/src/commonheaders.h | 3 +- src/mir_core/commonheaders.h | 3 +- 35 files changed, 33 insertions(+), 212 deletions(-) delete mode 100644 include/m_keybindings.h delete mode 100644 include/m_stdhdr.h delete mode 100644 protocols/IRCG/src/commandmonitor.h diff --git a/include/m_keybindings.h b/include/m_keybindings.h deleted file mode 100644 index faac722791..0000000000 --- a/include/m_keybindings.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2008 Miranda ICQ/IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -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; either version 2 -of the License, or (at your option) any later version. - -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, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -#define KB_CTRL_FLAG 0x10000 -#define KB_SHIFT_FLAG 0x20000 -#define KB_ALT_FLAG 0x40000 -#define KBDF_UNICODE 1 - -typedef struct { - int cbSize; //size of the structure - union { - char *pszSection; // section name used to display key bindings in the tree view - TCHAR *ptszSection; // [TRANSLATED-BY-CORE] - WCHAR *pwszSection; - }; - union { - char *pszActionName; // action name used to display key bindings in the tree view - TCHAR *ptszActionName; // [TRANSLATED-BY-CORE] - WCHAR *pwszActionName; - }; - char *pszActionGroup; // action group name used to group unique shortcuts, shortcuts cannot be duplicated within a group - DWORD key[5]; // virtual key + KB_* flags, up to 5 different shortcuts may be defined for each action - DWORD flags; // flags (KBDF_*) - int action; // id of the action -} KEYBINDINGDESC; - -//Registers action with default key bindings assigned to it. -//wParam = (WPARAM) 0; not used -//lParam = (LPARAM) (KEYBINDINGDESC*) -//return: 0 on success, error code otherwise -#define MS_KEYBINDINGS_REGISTER "KeyBindings/Register" -//Gets action assigned to the given key -//key[0] and pszActionGroup in KEYBINDINGDESC should be set before calling this service -//wParam = (WPARAM) 0; not used -//lParam = (LPARAM) (KEYBINDINGDESC*) -//return: 0 if action assigned to the given key was found, 1 otherwise -#define MS_KEYBINDINGS_GET "KeyBindings/Get" diff --git a/include/m_stdhdr.h b/include/m_stdhdr.h deleted file mode 100644 index 85bebfd5d8..0000000000 --- a/include/m_stdhdr.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2008 Miranda ICQ/IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -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; either version 2 -of the License, or (at your option) any later version. - -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, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -#ifndef M_STDHDR_H__ -#define M_STDHDR_H__ 1 - -#if defined( UNICODE ) && !defined( _UNICODE ) -# define _UNICODE -#endif - -#ifndef _WIN64 -#define _USE_32BIT_TIME_T -#endif - -#include - -#ifndef __GNUC__ -# ifdef _DEBUG -# define _CRTDBG_MAP_ALLOC -# include -# include -# define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) -# else -# include -# endif -#else -# include -/* GCC has not __try/except */ -# define __try -# define __except(x) if (0) /* don't execute handler */ -# define __finally -/* neither _ASSERT */ -# ifdef _DEBUG -# include -# define _ASSERT assert -# else -# define _ASSERT(x) -# endif -/* neither some CRT debugging things */ -# define _CRTDBG_REPORT_FLAG -1 -# define _CRTDBG_LEAK_CHECK_DF 0x20 -# define _CrtSetDbgFlag(x) 0 -#endif - -#if _MSC_VER >= 1400 -# include // to avoid a warning in VS2005 & 2008 -#endif - - -#endif // M_STDHDR_H__ diff --git a/plugins/AdvaImg/src/main.cpp b/plugins/AdvaImg/src/main.cpp index a0342505e8..cb4500501d 100644 --- a/plugins/AdvaImg/src/main.cpp +++ b/plugins/AdvaImg/src/main.cpp @@ -24,10 +24,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include - #include #include +#include #include #include diff --git a/plugins/BossKeyPlus/src/BossKey.h b/plugins/BossKeyPlus/src/BossKey.h index 6c7577afc2..37a805a50c 100644 --- a/plugins/BossKeyPlus/src/BossKey.h +++ b/plugins/BossKeyPlus/src/BossKey.h @@ -28,7 +28,6 @@ #define BOSSKEY_LISTEN_INFO _T("MY6BossKey_Param") -#include #include #include diff --git a/plugins/Clist_modern/src/hdr/modern_commonheaders.h b/plugins/Clist_modern/src/hdr/modern_commonheaders.h index cc0b819c9e..cdf1b7426b 100644 --- a/plugins/Clist_modern/src/hdr/modern_commonheaders.h +++ b/plugins/Clist_modern/src/hdr/modern_commonheaders.h @@ -68,12 +68,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include + +#include #include #include #include #include -#include #include #include #include diff --git a/plugins/Clist_modern/src/modern_row.cpp b/plugins/Clist_modern/src/modern_row.cpp index 093bfb6d68..a83ef4ffae 100644 --- a/plugins/Clist_modern/src/modern_row.cpp +++ b/plugins/Clist_modern/src/modern_row.cpp @@ -27,8 +27,6 @@ Created by Anton Senko aka ZORG , tweaked by Artem Shpynov aka FYR #include "hdr/modern_commonheaders.h" /* -#include "m_stdhdr.h" - #include #include #include diff --git a/plugins/Clist_mw/src/commonheaders.h b/plugins/Clist_mw/src/commonheaders.h index 8b4c9181de..f20960a1cf 100644 --- a/plugins/Clist_mw/src/commonheaders.h +++ b/plugins/Clist_mw/src/commonheaders.h @@ -29,10 +29,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include -#include + +#include #include +#include -#include #include #include #include diff --git a/plugins/Clist_nicer/src/Include/commonheaders.h b/plugins/Clist_nicer/src/Include/commonheaders.h index a094b29235..7dafdfee0a 100644 --- a/plugins/Clist_nicer/src/Include/commonheaders.h +++ b/plugins/Clist_nicer/src/Include/commonheaders.h @@ -47,7 +47,6 @@ #include #include -#include #include #include #include diff --git a/plugins/CrashDumper/src/utils.h b/plugins/CrashDumper/src/utils.h index d82b32b703..0399c28bb3 100644 --- a/plugins/CrashDumper/src/utils.h +++ b/plugins/CrashDumper/src/utils.h @@ -20,7 +20,9 @@ along with this program. If not, see . #include #include + #include +#include #include #include @@ -30,7 +32,6 @@ along with this program. If not, see . #include #include #include -#include #include #include #include diff --git a/plugins/CryptoPP/src/commonheaders.h b/plugins/CryptoPP/src/commonheaders.h index 1e16f4e6d8..d6eae14c33 100644 --- a/plugins/CryptoPP/src/commonheaders.h +++ b/plugins/CryptoPP/src/commonheaders.h @@ -25,12 +25,12 @@ #include #define MIRANDA_VER 0x0A00 -#include #include #include #include +#include #include #include #include @@ -44,7 +44,6 @@ // Miranda API #include -#include #include #include #include diff --git a/plugins/FlashAvatars/src/stdafx.h b/plugins/FlashAvatars/src/stdafx.h index 731c64963b..fb175de920 100644 --- a/plugins/FlashAvatars/src/stdafx.h +++ b/plugins/FlashAvatars/src/stdafx.h @@ -31,8 +31,6 @@ #include #include -#include -#include #include #include #include @@ -41,6 +39,7 @@ #include #include #include +#include #include #include diff --git a/plugins/Import/src/import.h b/plugins/Import/src/import.h index f3fd07bd2f..eb8bfe696f 100644 --- a/plugins/Import/src/import.h +++ b/plugins/Import/src/import.h @@ -29,9 +29,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include // datetimepicker + +#include #include -#include #include #include #include diff --git a/plugins/Scriver/src/commonheaders.h b/plugins/Scriver/src/commonheaders.h index 48c0af734b..ca81b3b2b4 100644 --- a/plugins/Scriver/src/commonheaders.h +++ b/plugins/Scriver/src/commonheaders.h @@ -37,13 +37,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -#include -#include #include #include -#include -#include +#include +#include +#include + #include #include #include @@ -65,6 +65,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include +#include #include #include diff --git a/plugins/SecureIM/src/commonheaders.h b/plugins/SecureIM/src/commonheaders.h index 5b0b0173d7..15e739cf32 100644 --- a/plugins/SecureIM/src/commonheaders.h +++ b/plugins/SecureIM/src/commonheaders.h @@ -25,11 +25,12 @@ #include #include #include + +#include #include #include #include -#include #include #include #include diff --git a/protocols/FacebookRM/src/common.h b/protocols/FacebookRM/src/common.h index 23084b8d35..ab8faf4db0 100644 --- a/protocols/FacebookRM/src/common.h +++ b/protocols/FacebookRM/src/common.h @@ -30,8 +30,6 @@ along with this program. If not, see . #define _WIN32_WINNT 0x0500 #define _WIN32_WINDOWS 0x0500 -#include - #include #include #include diff --git a/protocols/Gadu-Gadu/src/gg.h b/protocols/Gadu-Gadu/src/gg.h index 2ae43a64d2..9e7f16e454 100644 --- a/protocols/Gadu-Gadu/src/gg.h +++ b/protocols/Gadu-Gadu/src/gg.h @@ -32,8 +32,6 @@ #define _WIN32_WINNT 0x0501 #endif -#include - // Windows headers // Visual C++ .NET tries to include winsock.h // which is very ver bad @@ -44,6 +42,8 @@ #endif #include #include + +#include #include #include #include diff --git a/protocols/IRCG/IRC_10.vcxproj b/protocols/IRCG/IRC_10.vcxproj index 1e050d5274..a3b41d3fe3 100644 --- a/protocols/IRCG/IRC_10.vcxproj +++ b/protocols/IRCG/IRC_10.vcxproj @@ -215,7 +215,6 @@ - diff --git a/protocols/IRCG/IRC_10.vcxproj.filters b/protocols/IRCG/IRC_10.vcxproj.filters index 25e3c6de44..93048461ca 100644 --- a/protocols/IRCG/IRC_10.vcxproj.filters +++ b/protocols/IRCG/IRC_10.vcxproj.filters @@ -69,9 +69,6 @@ - - Header Files - Header Files diff --git a/protocols/IRCG/IRC_11.vcxproj b/protocols/IRCG/IRC_11.vcxproj index 64a0fd3353..8b703db493 100644 --- a/protocols/IRCG/IRC_11.vcxproj +++ b/protocols/IRCG/IRC_11.vcxproj @@ -218,7 +218,6 @@ - diff --git a/protocols/IRCG/IRC_11.vcxproj.filters b/protocols/IRCG/IRC_11.vcxproj.filters index 3fe7a31e89..7075dac8fe 100644 --- a/protocols/IRCG/IRC_11.vcxproj.filters +++ b/protocols/IRCG/IRC_11.vcxproj.filters @@ -69,9 +69,6 @@ - - Header Files - Header Files diff --git a/protocols/IRCG/src/commandmonitor.h b/protocols/IRCG/src/commandmonitor.h deleted file mode 100644 index 940cb9cc02..0000000000 --- a/protocols/IRCG/src/commandmonitor.h +++ /dev/null @@ -1,22 +0,0 @@ -/* -IRC plugin for Miranda IM - -Copyright (C) 2003-05 Jurgen Persson -Copyright (C) 2007-09 George Hazan - -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; either version 2 -of the License, or (at your option) any later version. - -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, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -using namespace irc; diff --git a/protocols/IRCG/src/irc.h b/protocols/IRCG/src/irc.h index 0fe14cb629..d82b394a70 100644 --- a/protocols/IRCG/src/irc.h +++ b/protocols/IRCG/src/irc.h @@ -26,8 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define _WIN32_WINNT 0x0501 #define _WIN32_IE 0x0501 -#include "m_stdhdr.h" - #define _CRT_SECURE_NO_WARNINGS #define WIN32_LEAN_AND_MEAN @@ -39,6 +37,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include +#include #include #include #include diff --git a/protocols/IcqOscarJ/src/icqoscar.h b/protocols/IcqOscarJ/src/icqoscar.h index d946da5ac5..05101b81eb 100644 --- a/protocols/IcqOscarJ/src/icqoscar.h +++ b/protocols/IcqOscarJ/src/icqoscar.h @@ -32,8 +32,6 @@ #define _WIN32_WINNT 0x0501 #define _WIN32_IE 0x0501 -#include - // Windows includes #include #include diff --git a/protocols/JabberG/src/jabber.h b/protocols/JabberG/src/jabber.h index b999103128..c0074cda96 100644 --- a/protocols/JabberG/src/jabber.h +++ b/protocols/JabberG/src/jabber.h @@ -31,8 +31,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define MIRANDA_VER 0x0A00 -#include "m_stdhdr.h" - #define LISTFOREACH(var__, obj__, list__) \ for (int var__ = 0; (var__ = obj__->ListFindNext(list__, var__)) >= 0; ++var__) #define LISTFOREACH_NODEF(var__, obj__, list__) \ @@ -43,9 +41,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *******************************************************************/ #define _WIN32_WINNT 0x501 #define _WIN32_IE 0x501 + #include #include #include + +#include #include #include #include @@ -53,6 +54,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include + #include #include #include diff --git a/protocols/MSN/src/msn_global.h b/protocols/MSN/src/msn_global.h index 5df5eff0da..a2588bb523 100644 --- a/protocols/MSN/src/msn_global.h +++ b/protocols/MSN/src/msn_global.h @@ -23,12 +23,11 @@ along with this program. If not, see . // this plugin is for Miranda 0.9 or later #define MIRANDA_VER 0x0A00 -#include - #include #include #include +#include #include #include #include diff --git a/protocols/MSN/src/msn_proto.h b/protocols/MSN/src/msn_proto.h index b9819eb099..22b3a924a1 100644 --- a/protocols/MSN/src/msn_proto.h +++ b/protocols/MSN/src/msn_proto.h @@ -21,7 +21,6 @@ along with this program. If not, see . #ifndef _MSN_PROTO_H_ #define _MSN_PROTO_H_ -#include #include struct CMsnProto; diff --git a/protocols/Omegle/src/common.h b/protocols/Omegle/src/common.h index c2d5be0c2e..76ca316359 100644 --- a/protocols/Omegle/src/common.h +++ b/protocols/Omegle/src/common.h @@ -28,8 +28,6 @@ along with this program. If not, see . #define _WIN32_WINNT 0x0500 #define _WIN32_WINDOWS 0x0500 -#include - #include #include #include diff --git a/protocols/Tlen/src/jabber.h b/protocols/Tlen/src/jabber.h index 28459d781a..cb06e7e34e 100644 --- a/protocols/Tlen/src/jabber.h +++ b/protocols/Tlen/src/jabber.h @@ -39,10 +39,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define _except __except #define _finally __finally - -#include "m_stdhdr.h" - - #ifdef _DEBUG #define _CRTDBG_MAP_ALLOC #include diff --git a/protocols/Yahoo/src/libyahoo2/config.h b/protocols/Yahoo/src/libyahoo2/config.h index 53ef7ca7cf..5de1dbc82d 100644 --- a/protocols/Yahoo/src/libyahoo2/config.h +++ b/protocols/Yahoo/src/libyahoo2/config.h @@ -22,8 +22,6 @@ #define PACKAGE "libyahoo2" #define VERSION "0.7.5" -#include - #include #include diff --git a/protocols/Yahoo/src/yahoo.h b/protocols/Yahoo/src/yahoo.h index c0875f3f02..cab4ba5aa4 100644 --- a/protocols/Yahoo/src/yahoo.h +++ b/protocols/Yahoo/src/yahoo.h @@ -19,15 +19,14 @@ #define snprintf _snprintf #endif -#include +#include +#include +#include #include #include #include -#include -#include - /* * Yahoo Services */ diff --git a/src/core/commonheaders.h b/src/core/commonheaders.h index 65ce0c653a..401e7beab7 100644 --- a/src/core/commonheaders.h +++ b/src/core/commonheaders.h @@ -30,8 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define INCL_WINSOCK_API_TYPEDEFS 1 -#include "m_stdhdr.h" - #include #include #include diff --git a/src/core/stdchat/src/chat.h b/src/core/stdchat/src/chat.h index 8881e1e112..739f835f85 100644 --- a/src/core/stdchat/src/chat.h +++ b/src/core/stdchat/src/chat.h @@ -25,8 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define _WIN32_WINNT 0x0501 #define _WIN32_IE 0x0501 -#include - #include #include #include @@ -38,6 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include +#include #include #include diff --git a/src/core/stdclist/src/commonheaders.h b/src/core/stdclist/src/commonheaders.h index e68da0be82..5bc04d3066 100644 --- a/src/core/stdclist/src/commonheaders.h +++ b/src/core/stdclist/src/commonheaders.h @@ -26,8 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define _WIN32_WINNT 0x0600 #define _WIN32_IE 0x0501 -#include "m_stdhdr.h" - #include #include #include diff --git a/src/core/stdmsg/src/commonheaders.h b/src/core/stdmsg/src/commonheaders.h index 31e72d7ff1..83e20872e2 100644 --- a/src/core/stdmsg/src/commonheaders.h +++ b/src/core/stdmsg/src/commonheaders.h @@ -26,8 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define _CRT_SECURE_NO_WARNINGS -#include - #include #include #include @@ -36,6 +34,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include +#include #include #include "resource.h" diff --git a/src/mir_core/commonheaders.h b/src/mir_core/commonheaders.h index 600d7bc9b0..4a76153e96 100644 --- a/src/mir_core/commonheaders.h +++ b/src/mir_core/commonheaders.h @@ -27,8 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define INCL_WINSOCK_API_TYPEDEFS 1 -#include "m_stdhdr.h" - #include #include #include @@ -38,6 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include +#include #include #include #include -- cgit v1.2.3