From 0ab8d461ef00c1b47d56c6f270673a44246f0c0a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 May 2013 13:38:08 +0000 Subject: another bunch of unused junk git-svn-id: http://svn.miranda-ng.org/main/trunk@4672 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/commonheaders.h | 1 - src/core/stdauth/commonheaders.h | 2 -- src/core/stdautoaway/commonheaders.h | 1 - src/core/stdaway/commonheaders.h | 1 - src/core/stdcrypt/commonheaders.h | 2 -- src/core/stdemail/commonheaders.h | 2 -- src/core/stdfile/commonheaders.h | 2 -- src/core/stdhelp/commonheaders.h | 2 -- src/core/stdhelp/help.cpp | 12 ------------ src/core/stdidle/commonheaders.h | 2 -- src/core/stduihist/commonheaders.h | 2 -- src/core/stdurl/commonheaders.h | 2 -- src/core/stduserinfo/commonheaders.h | 2 -- src/core/stduseronline/commonheaders.h | 2 -- 14 files changed, 35 deletions(-) (limited to 'src') diff --git a/src/core/commonheaders.h b/src/core/commonheaders.h index 85d7e47fd8..65ce0c653a 100644 --- a/src/core/commonheaders.h +++ b/src/core/commonheaders.h @@ -92,7 +92,6 @@ using namespace std; #include #include #include -#include #include #include #include diff --git a/src/core/stdauth/commonheaders.h b/src/core/stdauth/commonheaders.h index 9c8fcb984a..9dcba494c6 100644 --- a/src/core/stdauth/commonheaders.h +++ b/src/core/stdauth/commonheaders.h @@ -73,12 +73,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" diff --git a/src/core/stdautoaway/commonheaders.h b/src/core/stdautoaway/commonheaders.h index d813cb1c7d..30cddbfe57 100644 --- a/src/core/stdautoaway/commonheaders.h +++ b/src/core/stdautoaway/commonheaders.h @@ -77,7 +77,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -#include #include #include "version.h" diff --git a/src/core/stdaway/commonheaders.h b/src/core/stdaway/commonheaders.h index d813cb1c7d..30cddbfe57 100644 --- a/src/core/stdaway/commonheaders.h +++ b/src/core/stdaway/commonheaders.h @@ -77,7 +77,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -#include #include #include "version.h" diff --git a/src/core/stdcrypt/commonheaders.h b/src/core/stdcrypt/commonheaders.h index 405b080cb3..6ed0c1cc54 100644 --- a/src/core/stdcrypt/commonheaders.h +++ b/src/core/stdcrypt/commonheaders.h @@ -72,12 +72,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" diff --git a/src/core/stdemail/commonheaders.h b/src/core/stdemail/commonheaders.h index 405b080cb3..6ed0c1cc54 100644 --- a/src/core/stdemail/commonheaders.h +++ b/src/core/stdemail/commonheaders.h @@ -72,12 +72,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" diff --git a/src/core/stdfile/commonheaders.h b/src/core/stdfile/commonheaders.h index 5227b185b9..7da238e151 100644 --- a/src/core/stdfile/commonheaders.h +++ b/src/core/stdfile/commonheaders.h @@ -75,12 +75,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" diff --git a/src/core/stdhelp/commonheaders.h b/src/core/stdhelp/commonheaders.h index df2d455fbd..779db1f96c 100644 --- a/src/core/stdhelp/commonheaders.h +++ b/src/core/stdhelp/commonheaders.h @@ -72,12 +72,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" diff --git a/src/core/stdhelp/help.cpp b/src/core/stdhelp/help.cpp index 4440aece1f..654b9fc255 100644 --- a/src/core/stdhelp/help.cpp +++ b/src/core/stdhelp/help.cpp @@ -51,15 +51,6 @@ static INT_PTR WebsiteCommand(WPARAM, LPARAM) return 0; } -static int BugCommandEvent(WPARAM wParam, LPARAM lParam) -{ - char *szUrl = (char*)lParam; - if (szUrl) - CallService(MS_UTILS_OPENURL, 1, (LPARAM)szUrl); - - return 0; -} - static INT_PTR BugCommand(WPARAM, LPARAM) { NotifyEventHooks(hBugEvent, 0, (LPARAM)"http://bugs.miranda-ng.org"); @@ -82,9 +73,6 @@ int LoadHelpModule(void) CreateServiceFunction("Help/WebsiteCommand", WebsiteCommand); CreateServiceFunction("Help/BugCommand", BugCommand); - hBugEvent = CreateHookableEvent(ME_HELP_BUGREPORT); - SetHookDefaultForHookableEvent(hBugEvent, BugCommandEvent); - CLISTMENUITEM mi = { sizeof(mi) }; mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_MIRANDA); mi.pszPopupName = LPGEN("&Help"); diff --git a/src/core/stdidle/commonheaders.h b/src/core/stdidle/commonheaders.h index 39f9b681db..d0a817e55c 100644 --- a/src/core/stdidle/commonheaders.h +++ b/src/core/stdidle/commonheaders.h @@ -72,12 +72,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" diff --git a/src/core/stduihist/commonheaders.h b/src/core/stduihist/commonheaders.h index df2d455fbd..779db1f96c 100644 --- a/src/core/stduihist/commonheaders.h +++ b/src/core/stduihist/commonheaders.h @@ -72,12 +72,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" diff --git a/src/core/stdurl/commonheaders.h b/src/core/stdurl/commonheaders.h index 9c8fcb984a..9dcba494c6 100644 --- a/src/core/stdurl/commonheaders.h +++ b/src/core/stdurl/commonheaders.h @@ -73,12 +73,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" diff --git a/src/core/stduserinfo/commonheaders.h b/src/core/stduserinfo/commonheaders.h index 57dec6f7c4..6c37a49c36 100644 --- a/src/core/stduserinfo/commonheaders.h +++ b/src/core/stduserinfo/commonheaders.h @@ -72,12 +72,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" diff --git a/src/core/stduseronline/commonheaders.h b/src/core/stduseronline/commonheaders.h index 405b080cb3..6ed0c1cc54 100644 --- a/src/core/stduseronline/commonheaders.h +++ b/src/core/stduseronline/commonheaders.h @@ -72,12 +72,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include -//#include #include #include #include #include -#include #include #include "version.h" -- cgit v1.2.3