From 2e28da56cde50d5c5d8b7d83d7f9662a204d492a Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 10 Mar 2013 14:00:56 +0000 Subject: removed not used headers git-svn-id: http://svn.miranda-ng.org/main/trunk@3959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TopToolBar/src/InternalButtons.cpp | 2 -- plugins/TopToolBar/src/common.h | 41 +++++++++++-------------- plugins/TopToolBar/src/main.cpp | 12 ++++---- plugins/TopToolBar/src/version.h | 48 +++++------------------------- 4 files changed, 31 insertions(+), 72 deletions(-) (limited to 'plugins/TopToolBar/src') diff --git a/plugins/TopToolBar/src/InternalButtons.cpp b/plugins/TopToolBar/src/InternalButtons.cpp index eaf07853b6..5ee174c7e1 100644 --- a/plugins/TopToolBar/src/InternalButtons.cpp +++ b/plugins/TopToolBar/src/InternalButtons.cpp @@ -5,8 +5,6 @@ #define TTBI_SOUNDSONOFF "TTBInternal/SoundsOnOFF" #define TTBI_MAINMENUBUTT "TTBInternal/MainMenuBUTT" -extern HINSTANCE hInst; - static HWND hwndContactTree; struct diff --git a/plugins/TopToolBar/src/common.h b/plugins/TopToolBar/src/common.h index 64e15fcad4..ffadf7ef7c 100644 --- a/plugins/TopToolBar/src/common.h +++ b/plugins/TopToolBar/src/common.h @@ -6,32 +6,25 @@ #include #include -#include #include -#include -#include -#include - -#include "win2k.h" -#include "newpluginapi.h" -#include "m_system.h" -#include "m_system_cpp.h" -#include "m_database.h" -#include "m_clist.h" -#include "m_skin.h" -#include "m_utils.h" -#include "m_cluiframes.h" -#include "m_clui.h" -#include "m_clc.h" -#include "m_findadd.h" -#include "m_langpack.h" -#include "m_options.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + #include "resource.h" -#include "m_protocols.h" -#include "m_protosvc.h" -#include "m_toptoolbar.h" -#include "m_button.h" -#include "m_icolib.h" +#include "version.h" #include "BkgrCfg.h" #define TTB_BUTTON_CLASS _T("TopToolbarButtonClass") diff --git a/plugins/TopToolBar/src/main.cpp b/plugins/TopToolBar/src/main.cpp index 601de36408..de9d0a528c 100644 --- a/plugins/TopToolBar/src/main.cpp +++ b/plugins/TopToolBar/src/main.cpp @@ -1,6 +1,5 @@ #include "common.h" -#include "version.h" HINSTANCE hInst; int hLangpack; @@ -10,12 +9,13 @@ PLUGININFOEX pluginInfo = sizeof(PLUGININFOEX), __PLUGIN_NAME, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), - __PLUGIN_DESC, - __PLUGIN_AUTHOR, - __PLUGIN_EMAIL, - __PLUGIN_RIGHTS, - __PLUGIN_AUTHORWEB, + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, + // {F593C752-51D8-4D46-BA27-37577953F55C} {0xf593c752, 0x51d8, 0x4d46, {0xba, 0x27, 0x37, 0x57, 0x79, 0x53, 0xf5, 0x5c}} }; diff --git a/plugins/TopToolBar/src/version.h b/plugins/TopToolBar/src/version.h index f32fd595eb..cb2873e045 100644 --- a/plugins/TopToolBar/src/version.h +++ b/plugins/TopToolBar/src/version.h @@ -1,46 +1,14 @@ -/* - -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 __MAJOR_VERSION 0 #define __MINOR_VERSION 8 #define __RELEASE_NUM 0 #define __BUILD_NUM 3 -// other stuff for Version resource -#define __STRINGIFY_IMPL(x) #x -#define __STRINGIFY(x) __STRINGIFY_IMPL(x) - -#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM -#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -#define __VERSION_STRING __STRINGIFY(__FILEVERSION_STRING_DOTS) - -#define __PLUGIN_DESC "ToptoolBar adds buttons in top frame for fast access." -#define __PLUGIN_LONGDESC __PLUGIN_DESC -#define __PLUGIN_AUTHOR "Bethoven" -#define __PLUGIN_AUTHORWEB "http://miranda-ng.org/" -#define __PLUGIN_EMAIL "Bethoven@mailgate.ru" -#define __PLUGIN_RIGHTS "© 2003-2008 Bethoven" -#define __PLUGIN_FILE "TopToolbar.dll" -#define __PLUGIN_SHORTNAME "TopToolBar" +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM -#define __PLUGIN_NAME __PLUGIN_SHORTNAME +#define __PLUGIN_NAME "TopToolBar" +#define __FILENAME "TopToolbar.dll" +#define __DESCRIPTION "ToptoolBar adds buttons in top frame for fast access." +#define __AUTHOR "Bethoven" +#define __AUTHOREMAIL "Bethoven@mailgate.ru" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "© 2003-2008 Bethoven" -- cgit v1.2.3