From 82bb569278e601b855c5df581e59f60cd0dcabee Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 5 Mar 2013 21:08:53 +0000 Subject: added precompiled header added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3902 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickMessages/src/Version.h | 14 ++++++++++ plugins/QuickMessages/src/main.cpp | 18 ++++++------- plugins/QuickMessages/src/quickmessages.h | 45 +++++++++++-------------------- plugins/QuickMessages/src/stdafx.cpp | 18 +++++++++++++ 4 files changed, 56 insertions(+), 39 deletions(-) create mode 100644 plugins/QuickMessages/src/Version.h create mode 100644 plugins/QuickMessages/src/stdafx.cpp (limited to 'plugins/QuickMessages/src') diff --git a/plugins/QuickMessages/src/Version.h b/plugins/QuickMessages/src/Version.h new file mode 100644 index 0000000000..e42cd7c92b --- /dev/null +++ b/plugins/QuickMessages/src/Version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 4 +#define __BUILD_NUM 2 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM + +#define __PLUGIN_NAME "Quick messages" +#define __FILENAME "QuickMessages.dll" +#define __DESCRIPTION "Plugin for quick insert pre-defined messages in message input area." +#define __AUTHOR "MaD_CLuSTeR" +#define __AUTHOREMAIL "daniok@yandex.ru" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "© 2008 Danil Mozhar" diff --git a/plugins/QuickMessages/src/main.cpp b/plugins/QuickMessages/src/main.cpp index 7fba5f8e4e..45777de3f7 100644 --- a/plugins/QuickMessages/src/main.cpp +++ b/plugins/QuickMessages/src/main.cpp @@ -33,16 +33,16 @@ BOOL g_bQuickMenu=0; PLUGININFOEX pluginInfo = { sizeof(PLUGININFOEX), - MODULENAME, - PLUGIN_MAKE_VERSION(0,0,4,2), - "Plugin for quick insert pre-defined messages in message input area.", - "MaD_CLuSTeR", - "daniok@yandex.ru", - "© 2008 Danil Mozhar", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, - // {37ED754B-6CF9-40ed-9EB6-0FEF8E822475} - { 0x37ed754b, 0x6cf9, 0x40ed, { 0x9e, 0xb6, 0xf, 0xef, 0x8e, 0x82, 0x24, 0x75 } } + // {37ED754B-6CF9-40ED-9EB6-0FEF8E822475} + {0x37ed754b, 0x6cf9, 0x40ed, {0x9e, 0xb6, 0xf, 0xef, 0x8e, 0x82, 0x24, 0x75}} }; int PreShutdown(WPARAM wparam,LPARAM lparam) diff --git a/plugins/QuickMessages/src/quickmessages.h b/plugins/QuickMessages/src/quickmessages.h index af7c4a5879..d68f03ee8b 100644 --- a/plugins/QuickMessages/src/quickmessages.h +++ b/plugins/QuickMessages/src/quickmessages.h @@ -16,36 +16,30 @@ 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 . */ -#define _CRT_SECURE_NO_DEPRECATE +#define _CRT_SECURE_NO_DEPRECATE -#include #include -#include "resource.h" -#include #include #include -#define MIRANDA_VER 0x0A00 -#include "newpluginapi.h" -#include "m_utils.h" -#include "m_system.h" -#include "m_clist.h" -#include "m_options.h" -#include "m_database.h" -#include "m_protomod.h" -#include "m_langpack.h" -#include "m_icolib.h" -#include "m_message.h" -#include "m_contacts.h" -#include "win2k.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include "Utils.h" -#include "m_msg_buttonsbar.h" +#include -#pragma optimize("gsy",on) +#include "resource.h" +#include "Version.h" +#include "Utils.h" -#define MODULENAME "Quick Messages" #define PLGNAME "QuickMessages" extern HINSTANCE hinstance; @@ -61,12 +55,3 @@ int OptionsInit(WPARAM,LPARAM); #define IDC_MESSAGE 1002 #define IDC_CHATMESSAGE 1009 - -#define QMESSAGES_NAME "quickmessages" - -#define QMESSAGES_VERSION_URL "http://miranda.radicaled.ru/public/updater/quickmessages.txt" -#define QMESSAGES_CHAGELOG_URL "http://miranda.radicaled.ru/public/quickmessages/changelog_en.txt" -#define QMESSAGES_UPDATE_URL "http://miranda.radicaled.ru/public/quickmessages/"QMESSAGES_NAME".zip" -#define QMESSAGES_UPDATE_URL "http://miranda.radicaled.ru/public/quickmessages/"QMESSAGES_NAME".zip" - -#define QMESSAGES_VERSION_PREFIX "QuickMessages " diff --git a/plugins/QuickMessages/src/stdafx.cpp b/plugins/QuickMessages/src/stdafx.cpp new file mode 100644 index 0000000000..bf6c2c9701 --- /dev/null +++ b/plugins/QuickMessages/src/stdafx.cpp @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-13 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 "quickmessages.h" \ No newline at end of file -- cgit v1.2.3