Don't include Foreach.h in RageUtil.h which does not use it. Instead, include it in the individual files that actually use it.

This commit is contained in:
Steve Checkoway
2006-11-01 11:18:46 +00:00
parent b7493d25f7
commit e3e5cf77e5
11 changed files with 10 additions and 2 deletions
+1
View File
@@ -8,6 +8,7 @@
#include "LuaManager.h"
#include "ProductInfo.h"
#include "DateTime.h"
#include "Foreach.h"
const RString INSTALLER_LANGUAGES_DIR = "Themes/_Installer/Languages/";
+1
View File
@@ -2,6 +2,7 @@
#include "LuaBinding.h"
#include "LuaReference.h"
#include "RageUtil.h"
#include "Foreach.h"
#include "SubscriptionManager.h"
static SubscriptionManager<LuaBinding> m_Subscribers;
+1
View File
@@ -2,6 +2,7 @@
#include "PlayerState.h"
#include "GameState.h"
#include "RageLog.h"
#include "Foreach.h"
PlayerState::PlayerState()
{
+1
View File
@@ -5,6 +5,7 @@
#include "LuaManager.h"
#include "MessageManager.h"
#include "SubscriptionManager.h"
#include "Foreach.h"
static SubscriptionManager<IPreference> m_Subscribers;
+1 -1
View File
@@ -6,7 +6,7 @@
#include "global.h"
#include "RageInputDevice.h"
#include "RageUtil.h"
#include "EnumHelper.h"
#include "Foreach.h"
static map<DeviceButton,RString> g_mapNamesToString;
static map<RString,DeviceButton> g_mapStringToNames;
+1
View File
@@ -4,6 +4,7 @@
#include "RageTimer.h"
#include "RageFile.h"
#include "RageThreads.h"
#include "Foreach.h"
#include <ctime>
#if defined(_WINDOWS)
-1
View File
@@ -5,7 +5,6 @@
#include <map>
#include <vector>
#include "Foreach.h"
class RageFileDriver;
#define SAFE_DELETE(p) do { delete (p); (p)=NULL; } while( false )
+1
View File
@@ -7,6 +7,7 @@
#include "XmlFile.h"
#include "XmlFileUtil.h"
#include "Course.h"
#include "Foreach.h"
static const char *WorkoutProgramNames[] = {
"FatBurn",
+1
View File
@@ -10,6 +10,7 @@
#include "Workout.h"
#include "WorkoutManager.h"
#include "StatsManager.h"
#include "Foreach.h"
const int MAX_METERS_TO_SHOW = Workout::GetEstimatedNumSongsFromSeconds( 90 * 60 );
+1
View File
@@ -6,6 +6,7 @@
#include "RageUtil.h"
#include "RageLog.h"
#include "arch/Dialog/Dialog.h"
#include "Foreach.h"
bool XmlFileUtil::LoadFromFileShowErrors( XNode &xml, RageFileBasic &f )
{
@@ -1,6 +1,7 @@
#include "global.h"
#include "JoystickDevice.h"
#include "RageUtil.h"
#include "Foreach.h"
using namespace std;
using __gnu_cxx::hash_map;