Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2013-09-14 15:38:49 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2013-09-29 19:19:07 +0400
commit80c34c0e0a9611eeca935ba11681453917824e23 (patch)
tree40a3ab5b0f6ec3b54c057883fa325e9daa38b47b /src/filters/parser
parent56cc28fb555f5ff6dcb2bf1df1b8a9042a40c403 (diff)
Remove stdafx_common*.h.
Diffstat (limited to 'src/filters/parser')
-rw-r--r--src/filters/parser/BaseSplitter/stdafx.h16
-rw-r--r--src/filters/parser/DSMSplitter/stdafx.h15
-rw-r--r--src/filters/parser/StreamDriveThru/stdafx.h15
3 files changed, 34 insertions, 12 deletions
diff --git a/src/filters/parser/BaseSplitter/stdafx.h b/src/filters/parser/BaseSplitter/stdafx.h
index 5b6b09e05..619304dd6 100644
--- a/src/filters/parser/BaseSplitter/stdafx.h
+++ b/src/filters/parser/BaseSplitter/stdafx.h
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2012 see Authors.txt
+ * (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -22,6 +22,14 @@
#pragma once
#include "../../../DSUtil/SharedInclude.h"
-#include "../../../../include/stdafx_common.h"
-#include "../../../../include/stdafx_common_afx.h"
-#include "../../../../include/stdafx_common_dshow.h"
+
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
+
+#include <afx.h>
+#include <afxwin.h> // MFC core and standard components
+
+#include <dshow.h>
+#include "BaseClasses/streams.h"
+#include <dvdmedia.h>
diff --git a/src/filters/parser/DSMSplitter/stdafx.h b/src/filters/parser/DSMSplitter/stdafx.h
index 0767d5e5e..5647391d2 100644
--- a/src/filters/parser/DSMSplitter/stdafx.h
+++ b/src/filters/parser/DSMSplitter/stdafx.h
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2012 see Authors.txt
+ * (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -22,8 +22,15 @@
#pragma once
#include "../../../DSUtil/SharedInclude.h"
-#include "../../../../include/stdafx_common.h"
-#include "../../../../include/stdafx_common_afx.h"
-#include "../../../../include/stdafx_common_dshow.h"
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
+
+#include <afx.h>
+#include <afxwin.h> // MFC core and standard components
#include <atlcoll.h>
+
+#include <dshow.h>
+#include "BaseClasses/streams.h"
+#include <dvdmedia.h>
diff --git a/src/filters/parser/StreamDriveThru/stdafx.h b/src/filters/parser/StreamDriveThru/stdafx.h
index 5b6b09e05..104edd03d 100644
--- a/src/filters/parser/StreamDriveThru/stdafx.h
+++ b/src/filters/parser/StreamDriveThru/stdafx.h
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2012 see Authors.txt
+ * (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -22,6 +22,13 @@
#pragma once
#include "../../../DSUtil/SharedInclude.h"
-#include "../../../../include/stdafx_common.h"
-#include "../../../../include/stdafx_common_afx.h"
-#include "../../../../include/stdafx_common_dshow.h"
+
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
+
+#include <afx.h>
+#include <afxwin.h> // MFC core and standard components
+
+#include <dshow.h>
+#include "BaseClasses/streams.h"