summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-06 17:40:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-06 17:40:29 +0000
commit6266d59bee0d06a9d188ec01040659fcee7542e3 (patch)
treec34b8805164c6bbae99f47262b00211d6808d9ce /plugins
parent123e0df8cacb3caece0eef2735d929e42873d412 (diff)
fixes for vs2012
git-svn-id: http://svn.miranda-ng.org/main/trunk@2666 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/BasicHistory/src/stdafx.h1
-rw-r--r--plugins/Clist_modern/src/hdr/modern_commonheaders.h1
-rw-r--r--plugins/Clist_modern/src/modern_skinengine.cpp1
-rw-r--r--plugins/Clist_nicer/src/Include/commonheaders.h3
-rw-r--r--plugins/Scriver/src/chat/log.cpp2
-rw-r--r--plugins/Scriver/src/chat/options.cpp2
-rw-r--r--plugins/Scriver/src/chat/tools.cpp2
-rw-r--r--plugins/Scriver/src/commonheaders.h1
-rw-r--r--plugins/TabSRMM/src/chat/log.cpp1
-rw-r--r--plugins/TabSRMM/src/chat/options.cpp2
10 files changed, 6 insertions, 10 deletions
diff --git a/plugins/BasicHistory/src/stdafx.h b/plugins/BasicHistory/src/stdafx.h
index 32ef7720e7..9bde9513b3 100644
--- a/plugins/BasicHistory/src/stdafx.h
+++ b/plugins/BasicHistory/src/stdafx.h
@@ -30,6 +30,7 @@
#include <locale>
#include <string>
#include <fstream>
+#include <functional>
#define MIRANDA_VER 0x0A00
diff --git a/plugins/Clist_modern/src/hdr/modern_commonheaders.h b/plugins/Clist_modern/src/hdr/modern_commonheaders.h
index 9735c0787f..c8aa087968 100644
--- a/plugins/Clist_modern/src/hdr/modern_commonheaders.h
+++ b/plugins/Clist_modern/src/hdr/modern_commonheaders.h
@@ -73,6 +73,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "m_stdhdr.h"
#include <windows.h>
+#include <Shlwapi.h>
#include <commctrl.h>
#include <uxtheme.h>
#include <vssym32.h>
diff --git a/plugins/Clist_modern/src/modern_skinengine.cpp b/plugins/Clist_modern/src/modern_skinengine.cpp
index 4d3bea9a3c..8e70268998 100644
--- a/plugins/Clist_modern/src/modern_skinengine.cpp
+++ b/plugins/Clist_modern/src/modern_skinengine.cpp
@@ -34,7 +34,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "hdr/modern_skinengine.h"
#include "hdr/modern_commonprototypes.h"
-#include <shlwapi.h>
#include "hdr/modern_sync.h"
//Implementation
diff --git a/plugins/Clist_nicer/src/Include/commonheaders.h b/plugins/Clist_nicer/src/Include/commonheaders.h
index 383ad487d8..87cf90fd3d 100644
--- a/plugins/Clist_nicer/src/Include/commonheaders.h
+++ b/plugins/Clist_nicer/src/Include/commonheaders.h
@@ -56,7 +56,10 @@
#include <direct.h>
#include <math.h>
#include <shlwapi.h>
+#include <Richedit.h>
+
#include "resource.h"
+
#include <newpluginapi.h>
#include <win2k.h>
#include <m_clist.h>
diff --git a/plugins/Scriver/src/chat/log.cpp b/plugins/Scriver/src/chat/log.cpp
index a7fc260fd1..7cffea1360 100644
--- a/plugins/Scriver/src/chat/log.cpp
+++ b/plugins/Scriver/src/chat/log.cpp
@@ -23,8 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "chat.h"
#include <math.h>
#include <mbstring.h>
-#include <shlwapi.h>
-
#ifndef EM_GETSCROLLPOS
#define EM_GETSCROLLPOS (WM_USER+221)
diff --git a/plugins/Scriver/src/chat/options.cpp b/plugins/Scriver/src/chat/options.cpp
index 32d8f5124b..be785840ba 100644
--- a/plugins/Scriver/src/chat/options.cpp
+++ b/plugins/Scriver/src/chat/options.cpp
@@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "../commonheaders.h"
#include "chat.h"
-#include <shlobj.h>
-#include <shlwapi.h>
#define UM_CHECKSTATECHANGE (WM_USER+100)
diff --git a/plugins/Scriver/src/chat/tools.cpp b/plugins/Scriver/src/chat/tools.cpp
index f5adc887a5..43e29a7293 100644
--- a/plugins/Scriver/src/chat/tools.cpp
+++ b/plugins/Scriver/src/chat/tools.cpp
@@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "../commonheaders.h"
#include "chat.h"
-#include <string.h>
-#include <shlwapi.h>
extern FONTINFO aFonts[OPTIONS_FONTCOUNT];
extern HMENU g_hMenu;
diff --git a/plugins/Scriver/src/commonheaders.h b/plugins/Scriver/src/commonheaders.h
index 6271ef0aa9..1818bfd546 100644
--- a/plugins/Scriver/src/commonheaders.h
+++ b/plugins/Scriver/src/commonheaders.h
@@ -38,6 +38,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <windows.h>
#include <shellapi.h>
#include <shlobj.h>
+#include <shlwapi.h>
#include <commctrl.h>
#include <commdlg.h>
#include <ole2.h>
diff --git a/plugins/TabSRMM/src/chat/log.cpp b/plugins/TabSRMM/src/chat/log.cpp
index 48886bf0ba..a421c1aefb 100644
--- a/plugins/TabSRMM/src/chat/log.cpp
+++ b/plugins/TabSRMM/src/chat/log.cpp
@@ -40,7 +40,6 @@
#include "..\commonheaders.h"
#include <math.h>
#include <mbstring.h>
-#include <shlwapi.h>
/*
* The code for streaming the text is to a large extent copied from
diff --git a/plugins/TabSRMM/src/chat/options.cpp b/plugins/TabSRMM/src/chat/options.cpp
index b259319a45..559d3f3adc 100644
--- a/plugins/TabSRMM/src/chat/options.cpp
+++ b/plugins/TabSRMM/src/chat/options.cpp
@@ -40,8 +40,6 @@
#undef Translate
#define TranslateA(s) ((char*)CallService(MS_LANGPACK_TRANSLATESTRING,0,(LPARAM)(s)))
-#include <shlobj.h>
-#include <shlwapi.h>
extern HBRUSH hListBkgBrush;
extern HICON hIcons[30];