summaryrefslogtreecommitdiff
path: root/plugins/Console/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-10 18:41:05 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-10 18:41:05 +0000
commit05c460ac137d831f1f264c4a70c81320b5297c0f (patch)
tree9c100e18867f91563d07d95b391c31781719542b /plugins/Console/src
parenta25fa3693ae90d95b784b0797bf9f8060c2f4e30 (diff)
fixed version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3535 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Console/src')
-rw-r--r--plugins/Console/src/commonheaders.cpp24
-rw-r--r--plugins/Console/src/commonheaders.h20
-rw-r--r--plugins/Console/src/init.cpp14
-rw-r--r--plugins/Console/src/version.h54
4 files changed, 23 insertions, 89 deletions
diff --git a/plugins/Console/src/commonheaders.cpp b/plugins/Console/src/commonheaders.cpp
deleted file mode 100644
index cbfb79d624..0000000000
--- a/plugins/Console/src/commonheaders.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-
-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.
-*/
-
-#include "commonheaders.h" \ No newline at end of file
diff --git a/plugins/Console/src/commonheaders.h b/plugins/Console/src/commonheaders.h
index 7689c7dce2..4f6f420148 100644
--- a/plugins/Console/src/commonheaders.h
+++ b/plugins/Console/src/commonheaders.h
@@ -24,40 +24,24 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define _CRT_SECURE_NO_WARNINGS
#define _WIN32_WINNT 0x0501
-#pragma comment( lib, "comctl32.lib")
-
#include <windows.h>
-#include <stdio.h>
-#include <time.h>
-#include <stddef.h>
-#include <process.h>
#include <commctrl.h>
-#include <Richedit.h>
#include <malloc.h>
-#include <tchar.h>
-#include <io.h>
-#include <fcntl.h>
-
-#define MIRANDA_VER 0x0A00
#include <newpluginapi.h>
#include <win2k.h>
-#include <m_system.h>
-#include <m_utils.h>
#include <m_netlib.h>
#include <m_database.h>
#include <m_options.h>
#include <m_langpack.h>
-#include <m_clui.h>
#include <m_clist.h>
-#include <m_langpack.h>
#include <m_button.h>
#include <m_fontservice.h>
#include <m_hotkeys.h>
-#include <m_icolib.h>
+
#include <m_toptoolbar.h>
-#include "resource.h"
+#include "resource.h"
#include "version.h"
extern HINSTANCE hInst;
diff --git a/plugins/Console/src/init.cpp b/plugins/Console/src/init.cpp
index 5dc110e778..4a31091bd2 100644
--- a/plugins/Console/src/init.cpp
+++ b/plugins/Console/src/init.cpp
@@ -30,14 +30,14 @@ HINSTANCE hInst;
PLUGININFOEX pluginInfoEx={
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
- __VERSION_DWORD,
- __PLUGIN_LONGDESC,
- __PLUGIN_AUTHOR,
- __PLUGIN_EMAIL,
- __PLUGIN_RIGHTS,
- __PLUGIN_URL,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
- // {23D4F302-D513-45b7-9027-445F29557311}
+ // {23D4F302-D513-45B7-9027-445F29557311}
{0x23d4f302, 0xd513, 0x45b7, {0x90, 0x27, 0x44, 0x5f, 0x29, 0x55, 0x73, 0x11}}
};
diff --git a/plugins/Console/src/version.h b/plugins/Console/src/version.h
index 7cde649cc9..9e6cc6d752 100644
--- a/plugins/Console/src/version.h
+++ b/plugins/Console/src/version.h
@@ -1,40 +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 __FILEVERSION_STRING 0,0,7,3
-#define __VERSION_STRING "0.0.7.3"
-#define __VERSION_DWORD 0x00000703
-
-
-#define __PLUGIN_DESC "Console log window for Miranda."
-#define __PLUGIN_LONGDESC __PLUGIN_DESC
-#define __PLUGIN_AUTHOR "Bio"
-#define __PLUGIN_EMAIL "bio@ktaspb.ru"
-#define __PLUGIN_RIGHTS "© 2005-2012 Bio"
-#define __PLUGIN_FILE "Console.dll"
-#define __PLUGIN_SHORTNAME "Console"
-
-
-#define __PLUGIN_NAME __PLUGIN_SHORTNAME
-#define __PLUGIN_URL "http://miranda-ng.org/"
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 7
+#define __BUILD_NUM 3
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+
+#define __PLUGIN_NAME "Console"
+#define __FILENAME "Console.dll"
+#define __DESCRIPTION "Console log window for Miranda."
+#define __AUTHOR "Bio"
+#define __AUTHOREMAIL "bio@ktaspb.ru"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "© 2005-2012 Bio"