summaryrefslogtreecommitdiff
path: root/plugins/AuthState
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-03 20:23:11 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-03 20:23:11 +0000
commit1070c5b23c8884fae66b3ea0f865f85ed8414bed (patch)
treedba16a367a4098087181041ecf4ed5e0ad33a164 /plugins/AuthState
parent9eb6e7d5845ebee4c0997fc34e75a82337a8db27 (diff)
removed _EXPORTS
removed not used headers git-svn-id: http://svn.miranda-ng.org/main/trunk@2942 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AuthState')
-rw-r--r--plugins/AuthState/authstate_11.vcxproj8
-rw-r--r--plugins/AuthState/src/commonheaders.h23
-rw-r--r--plugins/AuthState/src/main.cpp8
-rw-r--r--plugins/AuthState/src/options.cpp8
-rw-r--r--plugins/AuthState/src/version.h8
5 files changed, 11 insertions, 44 deletions
diff --git a/plugins/AuthState/authstate_11.vcxproj b/plugins/AuthState/authstate_11.vcxproj
index 49019a016a..1c5477a7b9 100644
--- a/plugins/AuthState/authstate_11.vcxproj
+++ b/plugins/AuthState/authstate_11.vcxproj
@@ -77,7 +77,7 @@
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>Commonheaders.h</PrecompiledHeaderFile>
@@ -105,7 +105,7 @@
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>Commonheaders.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
@@ -132,7 +132,7 @@
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>Commonheaders.h</PrecompiledHeaderFile>
@@ -159,7 +159,7 @@
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>Commonheaders.h</PrecompiledHeaderFile>
<WarningLevel>Level3</WarningLevel>
diff --git a/plugins/AuthState/src/commonheaders.h b/plugins/AuthState/src/commonheaders.h
index ba5fd1ebc6..213e900423 100644
--- a/plugins/AuthState/src/commonheaders.h
+++ b/plugins/AuthState/src/commonheaders.h
@@ -1,6 +1,6 @@
/*
- Authorization State plugin for Miranda-IM (www.miranda-im.org)
- (c) 2006-2009 by Thief
+ Authorization State plugin for Miranda NG (www.miranda-ng.org)
+ (c) 2006-2010 by Thief
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
@@ -15,42 +15,27 @@
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.miranda.im/mainrepo/authstate/trunk/commonheaders.h $
- Revision : $Rev: 1686 $
- Last change on : $Date: 2010-10-06 08:26:58 +0200 (Ср, 06 окт 2010) $
- Last change by : $Author: ghazan $
-
*/
#ifndef COMMHEADERS_H
#define COMMHEADERS_H
-#define MIRANDA_VER 0x0A00
-
#include <windows.h>
-#include <stdio.h> // needed by m_utils.h
-#include <stddef.h> // needed by m_icolib.h > r9256
-#include <commctrl.h>
// Miranda API headers
#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 <m_cluiframes.h>
#include <win2k.h>
+#include <m_extraicons.h>
+
#include "resource.h"
#include "Version.h"
-// Third party SDK headers
-#include "m_extraicons.h"
-
#define MODULENAME "AuthState"
int onOptInitialise(WPARAM wParam, LPARAM lParam);
diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp
index e2a4a07e5c..1c41ecd299 100644
--- a/plugins/AuthState/src/main.cpp
+++ b/plugins/AuthState/src/main.cpp
@@ -1,5 +1,5 @@
/*
- Authorization State plugin for Miranda-IM (www.miranda-im.org)
+ Authorization State plugin for Miranda NG (www.miranda-ng.org)
(c) 2006-2010 by Thief
This program is free software; you can redistribute it and/or modify
@@ -15,12 +15,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.miranda.im/mainrepo/authstate/trunk/main.cpp $
- Revision : $Rev: 1686 $
- Last change on : $Date: 2010-10-06 08:26:58 +0200 (Ср, 06 окт 2010) $
- Last change by : $Author: ghazan $
-
*/
#include "commonheaders.h"
diff --git a/plugins/AuthState/src/options.cpp b/plugins/AuthState/src/options.cpp
index f860c62e7b..823269e648 100644
--- a/plugins/AuthState/src/options.cpp
+++ b/plugins/AuthState/src/options.cpp
@@ -1,5 +1,5 @@
/*
- Authorization State plugin for Miranda-IM (www.miranda-im.org)
+ Authorization State plugin for Miranda NG (www.miranda-ng.org)
(c) 2006-2010 by Thief
This program is free software; you can redistribute it and/or modify
@@ -15,12 +15,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.miranda.im/mainrepo/authstate/trunk/options.cpp $
- Revision : $Rev: 1686 $
- Last change on : $Date: 2010-10-06 08:26:58 +0200 (Ср, 06 окт 2010) $
- Last change by : $Author: ghazan $
-
*/
#include "commonheaders.h"
diff --git a/plugins/AuthState/src/version.h b/plugins/AuthState/src/version.h
index 5c00786988..254161210e 100644
--- a/plugins/AuthState/src/version.h
+++ b/plugins/AuthState/src/version.h
@@ -4,14 +4,8 @@
#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 "Authorization State"
-#define __INTERNAL_NAME "AuthState"
+#define __PLUGIN_NAME "Authorization state"
#define __FILENAME "AuthState.dll"
#define __DESCRIPTION "If contact didn't authorized you this plugin puts an icon in front of contacts name."
#define __AUTHOR "Thief, idea by snwbrdr"