Clean up stdafx.h and other header includes.

#ifdef __AFX_H__ is now properly detected
This commit is contained in:
spacy51 2009-08-16 10:37:48 +00:00
parent daa8105c07
commit 9e5140e582
22 changed files with 31 additions and 24 deletions

View File

@ -1,11 +1,13 @@
// This file was written by denopqrihg
#include "../win32/stdafx.h"
#include "../win32/VBA.h"
#include "GBALink.h"
#include "GBA.h"
#include <stdio.h>
#include "../win32/stdafx.h"
#include "../common/port.h"
#include "GBALink.h"
#include "../win32/vba.h"
#include "../win32/MainWnd.h"
#include "../win32/LinkOptions.h"
#include "../win32/Reg.h"

View File

@ -27,8 +27,7 @@
////////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
//#include "resource.h"
#include "../System.h"
#include "VBA.h"
#include "AcceleratorManager.h"
#include "Reg.h"

View File

@ -1,3 +1,6 @@
#include "stdafx.h"
#include "VBA.h"
#include "AudioCoreSettingsDlg.h"
#define MIN_VOLUME 0.0f

View File

@ -1,10 +1,5 @@
#pragma once
#include "stdafx.h"
#include "afxwin.h"
#include "afxcmn.h"
// AudioCoreSettingsDlg dialog
class AudioCoreSettingsDlg : public CDialog

View File

@ -1,4 +1,6 @@
#include "stdafx.h"
#include "VBA.h"
#include "BIOSDialog.h"

View File

@ -1,5 +1,4 @@
#pragma once
#include "afxwin.h"
// BIOSDialog dialog

View File

@ -1,6 +1,9 @@
// MFC
#include "stdafx.h"
// Application
#include "VBA.h"
// Tools
#include "AVIWrite.h"
#include "WavWriter.h"

View File

@ -1,4 +1,6 @@
#include "stdafx.h"
#include "VBA.h"
#include "FullscreenSettings.h"

View File

@ -1,6 +1,5 @@
#pragma once
#include "afxwin.h"
#include "Display.h"

View File

@ -1,5 +1,5 @@
#include "stdafx.h"
#include "vba.h"
#include "VBA.h"
#include "LangSelect.h"
#ifdef _DEBUG

View File

@ -1,6 +1,7 @@
#pragma once
#include "stdafx.h"
#include "VBA.h"
class MainWnd : public CWnd

View File

@ -1,6 +1,6 @@
#include "stdafx.h"
#ifndef NO_OAL
#include "stdafx.h"
#include "VBA.h"
#include "OALConfig.h"

View File

@ -1,13 +1,11 @@
#ifndef NO_OAL
#pragma once
#include "afxwin.h"
// OpenAL
#include <al.h>
#include <alc.h>
#include "LoadOAL.h"
#include "afxcmn.h"
// OALConfig dialog

View File

@ -1,8 +1,8 @@
// === LOGALL writes very detailed informations to vba-trace.log ===
//#define LOGALL
#include "stdafx.h" // includes VBA.h for 'theApp.throttle'
#include "stdafx.h"
#include "VBA.h" // for 'theApp.throttle'
#ifndef NO_OAL

View File

@ -1,4 +1,5 @@
#include "stdafx.h"
#include "VBA.h"
#include "..\gba\GBALink.h"
static char buffer[2048];

View File

@ -5,6 +5,8 @@
#endif
#include "stdafx.h"
#include "VBA.h"
#include <intrin.h>
#include "AVIWrite.h"

View File

@ -4,7 +4,6 @@
#error include 'stdafx.h' before including this file for PCH
#endif
#include "stdafx.h"
#include "resource.h"
#include "AcceleratorManager.h"

View File

@ -3,6 +3,9 @@
// MFC
#include "stdafx.h"
// Application
#include "VBA.h"
// Interface
#include "../common/SoundDriver.h"

View File

@ -1,6 +1,8 @@
#ifndef NO_XAUDIO2
#include "stdafx.h"
#include "VBA.h"
#include "XAudio2_Config.h"
#include <xaudio2.h>

View File

@ -1,8 +1,6 @@
#ifndef NO_XAUDIO2
#pragma once
#include "afxwin.h"
#include "afxcmn.h"
class XAudio2_Config : public CDialog

View File

@ -1,4 +1,5 @@
#include "stdafx.h"
#include "VBA.h"
#include "rpi.h"
extern void SuperEagle(u8*,u32,u8*,u8*,u32,int,int);

View File

@ -25,5 +25,3 @@
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include "VBA.h" // It would be cleaner if we could leave this out