summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-07-24 10:08:42 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-07-24 10:08:42 +0000
commit1a6e6a2265719faed255a2483eb7c3ab03d30d08 (patch)
tree1cc02891b5d7b89b0774b166f5632b8f1de68774 /plugins/IgnoreState/src
parent7895cc6fe02c577394578d0d45cbcf20cbdfc80b (diff)
ignore: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14670 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IgnoreState/src')
-rw-r--r--plugins/IgnoreState/src/main.cpp4
-rw-r--r--plugins/IgnoreState/src/options.cpp2
-rw-r--r--plugins/IgnoreState/src/stdafx.cxx (renamed from plugins/IgnoreState/src/stdafx.cpp)2
-rw-r--r--plugins/IgnoreState/src/stdafx.h (renamed from plugins/IgnoreState/src/commonheaders.h)2
4 files changed, 4 insertions, 6 deletions
diff --git a/plugins/IgnoreState/src/main.cpp b/plugins/IgnoreState/src/main.cpp
index 353efadb94..89013018cc 100644
--- a/plugins/IgnoreState/src/main.cpp
+++ b/plugins/IgnoreState/src/main.cpp
@@ -18,7 +18,7 @@
*/
-#include "commonheaders.h"
+#include "stdafx.h"
HINSTANCE g_hInst;
@@ -74,7 +74,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
/////////////////////////////////////////////////////////////////////////////////////////
-inline BOOL checkState(int type)
+BOOL checkState(int type)
{
return ((currentFilter >> (type - 1)) & 1);
}
diff --git a/plugins/IgnoreState/src/options.cpp b/plugins/IgnoreState/src/options.cpp
index 6118fbbd25..26bd7df886 100644
--- a/plugins/IgnoreState/src/options.cpp
+++ b/plugins/IgnoreState/src/options.cpp
@@ -18,7 +18,7 @@
*/
-#include "commonheaders.h"
+#include "stdafx.h"
#define MS_SKINENG_DRAWICONEXFIX "SkinEngine/DrawIconEx_Fix"
diff --git a/plugins/IgnoreState/src/stdafx.cpp b/plugins/IgnoreState/src/stdafx.cxx
index 048b14e9d2..6fb37564b7 100644
--- a/plugins/IgnoreState/src/stdafx.cpp
+++ b/plugins/IgnoreState/src/stdafx.cxx
@@ -15,4 +15,4 @@ 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
+#include "stdafx.h" \ No newline at end of file
diff --git a/plugins/IgnoreState/src/commonheaders.h b/plugins/IgnoreState/src/stdafx.h
index e0abfe1972..644f8ee04f 100644
--- a/plugins/IgnoreState/src/commonheaders.h
+++ b/plugins/IgnoreState/src/stdafx.h
@@ -22,8 +22,6 @@
#ifndef COMMHEADERS_H
#define COMMHEADERS_H
-#define _CRT_SECURE_NO_WARNINGS
-
#include <windows.h>
#include <commctrl.h>