summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/stdafx.h')
-rw-r--r--plugins/Quotes/src/stdafx.h108
1 files changed, 62 insertions, 46 deletions
diff --git a/plugins/Quotes/src/stdafx.h b/plugins/Quotes/src/stdafx.h
index 5e72bc0e0b..aa9fe75d34 100644
--- a/plugins/Quotes/src/stdafx.h
+++ b/plugins/Quotes/src/stdafx.h
@@ -5,74 +5,43 @@
#pragma once
-#include "targetver.h"
-#define MIRANDA_VER 0x0A00
-// #define CHART_IMPLEMENT
#define TEST_IMPORT_EXPORT
-
+//#define CHART_IMPLEMENT
+#define _CRT_SECURE_NO_WARNINGS
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
-// Windows Header Files:
+
#include <windows.h>
-#include <tchar.h>
-#include <stdio.h>
-#include <string>
-#include <wininet.h>
-#include <atlbase.h>
-#include <atlconv.h>
#include <mshtml.h>
-#include <atlcomcli.h>
-#include <comutil.h>
+#include <atlenc.h>
#include <comdef.h>
#include <commctrl.h>
#include <ShellAPI.h>
-#include <msxml2.h>
#include <sys\stat.h>
#include <CommDlg.h>
-#include <windowsx.h>
-#include <atlenc.h>
-
+#include <fstream>
-// Miranda headers
-#pragma warning(disable: 4996)
#include <newpluginapi.h>
#include <m_database.h>
-#include <m_protocols.h>
#include <m_protomod.h>
-#pragma warning(default: 4996)
#include <win2k.h>
#include <m_xml.h>
#include <m_langpack.h>
#include <m_options.h>
-#include <m_cluiframes.h>
#include <m_extraicons.h>
#include <m_icolib.h>
-#include <m_clist.h>
#include <m_genmenu.h>
#include <m_netlib.h>
#include <m_popup.h>
#include <m_userinfo.h>
+
#include <m_variables.h>
+#include <m_Quotes.h>
-// boost headers
-#include <boost\shared_ptr.hpp>
-#include <boost/bind.hpp>
-#include <boost\lexical_cast.hpp>
-#include <boost\noncopyable.hpp>
+#include <boost\bind.hpp>
#include <boost\scoped_ptr.hpp>
#include <boost\foreach.hpp>
-#include <boost/date_time/gregorian/gregorian.hpp>
-#include <boost/date_time/posix_time/posix_time.hpp>
-#include <boost\cast.hpp>
-#include "boost/date_time/c_local_time_adjustor.hpp"
-
-// stl headers
-#include <string>
-#include <vector>
-#include <sstream>
-#include <iomanip>
-#include <fstream>
-#include <map>
-
+#include <boost\date_time\posix_time\posix_time.hpp>
+#include <boost\date_time\c_local_time_adjustor.hpp>
typedef std::wstring tstring;
typedef std::wostringstream tostringstream;
@@ -84,11 +53,6 @@ typedef std::wistream tistream;
typedef boost::posix_time::wtime_input_facet ttime_input_facet;
typedef boost::posix_time::wtime_facet ttime_facet;
-inline int quotes_stricmp(LPCTSTR p1,LPCTSTR p2)
-{
- return _tcsicmp(p1,p2);
-}
-
inline std::string quotes_t2a(const TCHAR* t)
{
std::string s;
@@ -112,6 +76,58 @@ inline tstring quotes_a2t(const char* s)
}
return t;
}
+
+inline int quotes_stricmp(LPCTSTR p1,LPCTSTR p2)
+{
+ return _tcsicmp(p1,p2);
+}
+
+#include "resource.h"
+#include "version.h"
+#include "WorkingThread.h"
+#include "IconLib.h"
+#include "QuoteInfoDlg.h"
+#include "ModuleInfo.h"
+#include "DBUtils.h"
+#include "HTTPSession.h"
+#include "CurrencyConverter.h"
+#include "WinCtrlHelper.h"
+#include "ImportExport.h"
+#include "Base64.h"
+#include "ComHelper.h"
+#include "Log.h"
+#include "CommonOptionDlg.h"
+#include "EconomicRateInfo.h"
+#include "SettingsDlg.h"
+#include "CreateFilePath.h"
+#include "Locale.h"
+#include "LightMutex.h"
+#include "ExtraImages.h"
+#include "IsWithinAccuracy.h"
+#include "OptionDukasCopy.h"
+#include "IQuotesProvider.h"
+#include "QuotesProviders.h"
+#include "QuotesProviderBase.h"
+#include "QuotesProviderFinance.h"
+#include "QuotesProviderGoogle.h"
+#include "QuotesProviderYahoo.h"
+#include "QuotesProviderDukasCopy.h"
+#include "QuotesProviderGoogleFinance.h"
+#include "QuotesProviderVisitor.h"
+#include "QuotesProviderVisitorDbSettings.h"
+#include "QuotesProviderVisitorFormater.h"
+#include "QuotesProviderVisitorTendency.h"
+#include "QuotesProviderVisitorFormatSpecificator.h"
+#ifdef CHART_IMPLEMENT
+#include "QuoteChart.h"
+#include "Chart.h"
+#endif
+#include "IHTMLParser.h"
+#include "IHTMLEngine.h"
+#include "HTMLParserMS.h"
+#include "IXMLEngine.h"
+#include "XMLEngineMI.h"
+
namespace detail
{
template<typename T,typename TD> struct safe_string_impl