summaryrefslogtreecommitdiff
path: root/plugins/QuickReplies/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-07 05:22:03 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-07 05:22:03 +0000
commit4177f512d1918ac15642df63607080dad9998c4b (patch)
treecc5321dcbc60edc8d5512378902bcbe6e89c5e44 /plugins/QuickReplies/src
parent9de0202a0b12838d505825413c3cbcce5edabc11 (diff)
added precompiled header
git-svn-id: http://svn.miranda-ng.org/main/trunk@3910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickReplies/src')
-rw-r--r--plugins/QuickReplies/src/common.h12
-rw-r--r--plugins/QuickReplies/src/stdafx.cpp18
-rw-r--r--plugins/QuickReplies/src/version.h10
3 files changed, 23 insertions, 17 deletions
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 <windows.h>
#include <vector>
-#include <string>
-
-#include "tchar.h"
#include <newpluginapi.h>
#include <m_database.h>
-#include <m_icolib.h>
#include <m_langpack.h>
#include <m_message.h>
#include <m_options.h>
-#include "m_msg_buttonsbar.h"
-#include "m_variables.h"
+#include <m_msg_buttonsbar.h>
+#include <m_variables.h>
#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 <http://www.gnu.org/licenses/>.
+*/
+
+#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 ""