diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-08 10:59:29 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-08 10:59:29 +0000 |
commit | 1749350c4ae58f48b034aa373941dcf0edf8c969 (patch) | |
tree | 6db24637615a34c3afaed1d273fa9e90ba9ba5a5 /plugins/Rate/src | |
parent | 69739f33352395f72de7f2f52599e04183623233 (diff) |
added precompiled header
added version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3915 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Rate/src')
-rw-r--r-- | plugins/Rate/src/Version.h | 14 | ||||
-rw-r--r-- | plugins/Rate/src/commonheaders.h | 23 | ||||
-rw-r--r-- | plugins/Rate/src/main.cpp | 18 | ||||
-rw-r--r-- | plugins/Rate/src/stdafx.cpp | 18 |
4 files changed, 45 insertions, 28 deletions
diff --git a/plugins/Rate/src/Version.h b/plugins/Rate/src/Version.h new file mode 100644 index 0000000000..90fe5313dd --- /dev/null +++ b/plugins/Rate/src/Version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 2
+#define __BUILD_NUM 1
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+
+#define __PLUGIN_NAME "Contact`s rate"
+#define __FILENAME "Rate.dll"
+#define __DESCRIPTION "Shows rating of contact in contact list (if presents)."
+#define __AUTHOR "Kildor, Thief"
+#define __AUTHOREMAIL "kostia@ngs.ru"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT " 2006-2009 Kostia Romanov, based on AuthState by Alexander Turyak"
diff --git a/plugins/Rate/src/commonheaders.h b/plugins/Rate/src/commonheaders.h index bdced5d33b..8fe6e4011b 100644 --- a/plugins/Rate/src/commonheaders.h +++ b/plugins/Rate/src/commonheaders.h @@ -16,12 +16,6 @@ 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
-
- File name : $URL: http://svn.mirandaim.ru/mainrepo/authstate/trunk/commonheaders.h $
- Revision : $Rev: 222 $
- Last change on : $Date: 2006-09-26 05:54:03 +0700 (Вт, 26 сен 2006) $
- Last change by : $Author: Thief $
-
*/
#ifndef COMMHEADERS_H
@@ -29,26 +23,17 @@ #define _CRT_SECURE_NO_WARNINGS
-//Miranda API headers
#include <windows.h>
+
#include <win2k.h>
#include <newpluginapi.h>
#include <m_database.h>
-#include <m_system.h>
-//#include <m_protocols.h>
-#include <m_utils.h>
-#include <m_clist.h>
-#include <m_options.h>
#include <m_langpack.h>
-#include <m_icolib.h>
-#include "resource.h"
-
-//external SDK headers
#include <m_extraicons.h>
-#define MODULENAME "Rate"
+#include "resource.h"
+#include "Version.h"
-/* 0e2866a8-6f4c-4132-98ae-6afdb8766c48 */
-#define MIID_CONTACTSRATE {0x0e2866a8, 0x6f4c, 0x4132, {0x98, 0xae, 0x6a, 0xfd, 0xb8, 0x76, 0x6c, 0x48}}
+#define MODULENAME "Rate"
#endif //COMMHEADERS_H
diff --git a/plugins/Rate/src/main.cpp b/plugins/Rate/src/main.cpp index 0d00e56a9b..364a10214f 100644 --- a/plugins/Rate/src/main.cpp +++ b/plugins/Rate/src/main.cpp @@ -43,19 +43,19 @@ int hLangpack; PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
- "Contact`s Rate",
- PLUGIN_MAKE_VERSION(0,0,2,1),
- "Shows rating of contact in contact list (if presents).",
- "Kildor, Thief",
- "kostia@ngs.ru",
- " 2006-2009 Kostia Romanov, based on AuthState by Alexander Turyak",
- "http://miranda-ng.org/",
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
- // 45230488-977b-405b-856d-ea276d7083b7
+ // {45230488-977B-405B-856D-EA276D7083B7}
{0x45230488, 0x977b, 0x405b, {0x85, 0x6d, 0xea, 0x27, 0x6d, 0x70, 0x83, 0xb7}}
};
-extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
g_hInst = hinstDLL;
return TRUE;
diff --git a/plugins/Rate/src/stdafx.cpp b/plugins/Rate/src/stdafx.cpp new file mode 100644 index 0000000000..e7e41dae3c --- /dev/null +++ b/plugins/Rate/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 "commonheaders.h"
\ No newline at end of file |