From 4177f512d1918ac15642df63607080dad9998c4b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 7 Mar 2013 05:22:03 +0000 Subject: added precompiled header git-svn-id: http://svn.miranda-ng.org/main/trunk@3910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickReplies/src/common.h | 12 +++--------- plugins/QuickReplies/src/stdafx.cpp | 18 ++++++++++++++++++ plugins/QuickReplies/src/version.h | 10 ++-------- 3 files changed, 23 insertions(+), 17 deletions(-) create mode 100644 plugins/QuickReplies/src/stdafx.cpp (limited to 'plugins/QuickReplies/src') diff --git a/plugins/QuickReplies/src/common.h b/plugins/QuickReplies/src/common.h index e65994372c..438fe0d388 100644 --- a/plugins/QuickReplies/src/common.h +++ b/plugins/QuickReplies/src/common.h @@ -21,28 +21,22 @@ Boston, MA 02111-1307, USA. #ifndef __QUICK_REPLY_H__ #define __QUICK_REPLY_H__ -#define MIRANDA_VER 0x0A00 - #include #include -#include - -#include "tchar.h" #include #include -#include #include #include #include -#include "m_msg_buttonsbar.h" -#include "m_variables.h" +#include +#include #include "resource.h" #include "version.h" -#define MODULE_NAME __INTERNAL_NAME +#define MODULE_NAME "QuickReplies" #define TEXT_LIMIT 2048 #define IDC_MESSAGE 1002 #define IDC_CHATMESSAGE 1009 diff --git a/plugins/QuickReplies/src/stdafx.cpp b/plugins/QuickReplies/src/stdafx.cpp new file mode 100644 index 0000000000..1976d867da --- /dev/null +++ b/plugins/QuickReplies/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 "common.h" \ No newline at end of file diff --git a/plugins/QuickReplies/src/version.h b/plugins/QuickReplies/src/version.h index 2836a5922a..d8dd844c18 100644 --- a/plugins/QuickReplies/src/version.h +++ b/plugins/QuickReplies/src/version.h @@ -4,15 +4,9 @@ #define __BUILD_NUM 0 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM -#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -#define __STRINGIFY_IMPL(x) #x -#define __STRINGIFY(x) __STRINGIFY_IMPL(x) -#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS) - -#define __PLUGIN_NAME "Quick Replies" -#define __INTERNAL_NAME "QuickReplies" -#define __FILENAME "quickreplies.dll" +#define __PLUGIN_NAME "Quick replies" +#define __FILENAME "QuickReplies.dll" #define __DESCRIPTION "Plugin for quick insert (or sending) pre-defined messages in message input area." #define __AUTHOR "Unsane" #define __AUTHOREMAIL "" -- cgit v1.2.3