Remove some unnecessary includes as well as simplifying exisiting ones if possible.

This commit is contained in:
Lioncash
2013-10-17 00:32:18 -04:00
parent bf352c3ed0
commit 97cd42f5c3
69 changed files with 30 additions and 98 deletions

View File

@ -8,7 +8,7 @@
#include <vector>
#include <string>
#include "Common.h"
#include "CommonTypes.h"
class DebugInterface;
@ -67,7 +67,7 @@ public:
void Remove(u32 _iAddress);
void Clear();
void DeleteByAddress(u32 _Address);
void DeleteByAddress(u32 _Address);
private:
TBreakPoints m_BreakPoints;
@ -93,7 +93,7 @@ public:
// memory breakpoint
TMemCheck *GetMemCheck(u32 address);
void Remove(u32 _Address);
void Remove(u32 _Address);
void Clear() { m_MemChecks.clear(); };
};

View File

@ -1,10 +1,8 @@
#ifndef _CDUTILS_H_
#define _CDUTILS_H_
#include <stdlib.h>
#include <vector>
#include <string>
#include <stdio.h>
// Returns a pointer to an array of strings with the device names
std::vector<std::string> cdio_get_devices();

View File

@ -3,18 +3,15 @@
// Refer to the license.txt file included.
#include <algorithm> // min
#include <cstdlib>
#include <string> // System: To be able to add strings with "+"
#include <stdio.h>
#include <math.h>
#ifdef _WIN32
#include <windows.h>
#include <array>
#else
#include <stdarg.h>
#endif
#include "Common.h"
#include "LogManager.h" // Common
#include "ConsoleListener.h" // Common
ConsoleListener::ConsoleListener()

View File

@ -2,7 +2,6 @@
#define _DEBUGINTERFACE_H
#include <string>
#include <string.h>
class DebugInterface
{

View File

@ -18,7 +18,6 @@
#if defined(WIN32)
#include <windows.h>
#include <tchar.h>
#include <string>

View File

@ -16,7 +16,7 @@
// http://code.google.com/p/dolphin-emu/
#ifndef FPU_ROUND_MODE_H_
#define FPU_ROUND_MODE_H_
#include "Common.h"
#include "CommonTypes.h"
namespace FPURoundMode
{

View File

@ -15,6 +15,6 @@
// Official Git repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "Common.h"
#include "CommonTypes.h"
bool SDCardCreate(u64 disk_size /*in MB*/, const char* filename);

View File

@ -5,7 +5,7 @@
#ifndef _TIMER_H_
#define _TIMER_H_
#include "Common.h"
#include "CommonTypes.h"
#include <string>
namespace Common