Ensure all header files can be included (in any order) after stdafx.h. (PR #866)

This commit is contained in:
Andrea
2020-11-11 21:15:27 +00:00
committed by GitHub
parent 9cc49af0dc
commit 01ad5d1882
64 changed files with 105 additions and 52 deletions
+1
View File
@@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "StdAfx.h"
#include "About.h"
#include "../Applewin.h"
#include "../Frame.h"
#include "../resource/resource.h"
+2
View File
@@ -1 +1,3 @@
#pragma once
bool AboutDlg(void);
+2
View File
@@ -1,5 +1,7 @@
#pragma once
#include "Common.h"
class CConfigNeedingRestart;
__interface IPropertySheet
+3 -3
View File
@@ -22,14 +22,14 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "StdAfx.h"
#include "../Common.h"
#include "PageAdvanced.h"
#include "PropertySheetHelper.h"
#include "../Common.h"
#include "../ParallelPrinter.h"
#include "../Registry.h"
#include "../SaveState.h"
#include "../resource/resource.h"
#include "PageAdvanced.h"
#include "PropertySheetHelper.h"
CPageAdvanced* CPageAdvanced::ms_this = 0; // reinit'd in ctor
+3 -1
View File
@@ -1,7 +1,9 @@
#pragma once
#include "IPropertySheetPage.h"
#include "PropertySheetDefs.h"
#include "IPropertySheetPage.h"
#include "Common.h"
class CPropertySheetHelper;
class CPageAdvanced : private IPropertySheetPage
+3 -2
View File
@@ -23,14 +23,15 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "StdAfx.h"
#include "PageConfig.h"
#include "PropertySheetHelper.h"
#include "../Applewin.h"
#include "../Frame.h"
#include "../Registry.h"
#include "../SerialComms.h"
#include "../Video.h"
#include "../resource/resource.h"
#include "PageConfig.h"
#include "PropertySheetHelper.h"
CPageConfig* CPageConfig::ms_this = 0; // reinit'd in ctor
+2
View File
@@ -3,6 +3,8 @@
#include "IPropertySheetPage.h"
#include "PropertySheetDefs.h"
#include "PageConfigTfe.h"
#include "Common.h"
class CPropertySheetHelper;
class CPageConfig : private IPropertySheetPage
+2 -1
View File
@@ -23,12 +23,13 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "StdAfx.h"
#include "PageConfigTfe.h"
#include "../Common.h"
#include "../Registry.h"
#include "../resource/resource.h"
#include "../Tfe/Tfe.h"
#include "../Tfe/Tfesupp.h"
#include "PageConfigTfe.h"
CPageConfigTfe* CPageConfigTfe::ms_this = 0; // reinit'd in ctor
+3 -2
View File
@@ -23,14 +23,15 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "StdAfx.h"
#include "PageDisk.h"
#include "PropertySheetHelper.h"
#include "../Applewin.h"
#include "../CardManager.h"
#include "../Disk.h" // Drive_e, Disk_Status_e
#include "../Frame.h"
#include "../Registry.h"
#include "../resource/resource.h"
#include "PageDisk.h"
#include "PropertySheetHelper.h"
CPageDisk* CPageDisk::ms_this = 0; // reinit'd in ctor
+4 -3
View File
@@ -22,14 +22,15 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "StdAfx.h"
#include "PageInput.h"
#include "PropertySheetHelper.h"
#include "../SaveState_Structs_common.h"
#include "../Common.h"
#include "../Keyboard.h"
#include "../Registry.h"
#include "../resource/resource.h"
#include "PageInput.h"
#include "PropertySheetHelper.h"
CPageInput* CPageInput::ms_this = 0; // reinit'd in ctor
+4 -3
View File
@@ -22,16 +22,17 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "StdAfx.h"
#include "PageSound.h"
#include "PropertySheetHelper.h"
#include "../SaveState_Structs_common.h"
#include "../Common.h"
#include "../CardManager.h"
#include "../Mockingboard.h"
#include "../Registry.h"
#include "../Speaker.h"
#include "../resource/resource.h"
#include "PageSound.h"
#include "PropertySheetHelper.h"
CPageSound* CPageSound::ms_this = 0; // reinit'd in ctor
+2
View File
@@ -2,6 +2,8 @@
#include "IPropertySheetPage.h"
#include "PropertySheetDefs.h"
#include "Card.h"
class CPropertySheetHelper;
class CPageSound : private IPropertySheetPage
+2 -1
View File
@@ -29,10 +29,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "StdAfx.h"
#include "PropertySheet.h"
#include "../Applewin.h"
#include "../Frame.h"
#include "../resource/resource.h"
#include "PropertySheet.h"
void CPropertySheet::Init(void)
{
+3 -2
View File
@@ -23,6 +23,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "StdAfx.h"
#include "PropertySheetHelper.h"
#include "IPropertySheet.h"
#include "../Applewin.h" // g_nAppMode, g_uScrollLockToggle, sg_PropertySheet
#include "../CardManager.h"
#include "../Disk.h"
@@ -30,8 +33,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "../Log.h"
#include "../Registry.h"
#include "../SaveState.h"
#include "IPropertySheet.h"
#include "PropertySheetHelper.h"
/*
Config causing AfterClose msgs: