diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-01-18 12:38:11 -0500 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-01-18 12:38:11 -0500 |
commit | 17f7b4abb480364fb5c2dcfacd29e0930fe129bc (patch) | |
tree | f951ec683c3797488af0bc69d5cf6a595d8ead33 | |
parent | e105ef38f1c8497e4c276839c175d7966413f860 (diff) | |
download | sigen-17f7b4abb480364fb5c2dcfacd29e0930fe129bc.tar.gz sigen-17f7b4abb480364fb5c2dcfacd29e0930fe129bc.tar.xz sigen-17f7b4abb480364fb5c2dcfacd29e0930fe129bc.zip |
Changed includes to forward declarations where possible in sigmod tests
32 files changed, 180 insertions, 84 deletions
diff --git a/sigmod/test/TestAbility.h b/sigmod/test/TestAbility.h index f819f715..bee9b72d 100644 --- a/sigmod/test/TestAbility.h +++ b/sigmod/test/TestAbility.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Ability.h" +// Forward declarations +namespace Sigmod +{ +class Ability; +} class TestAbility : public TestSigmodObject { diff --git a/sigmod/test/TestAuthor.h b/sigmod/test/TestAuthor.h index 1288b97e..280d46c2 100644 --- a/sigmod/test/TestAuthor.h +++ b/sigmod/test/TestAuthor.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Author.h" +// Forward declarations +namespace Sigmod +{ +class Author; +} class TestAuthor : public TestSigmodObject { diff --git a/sigmod/test/TestBadge.h b/sigmod/test/TestBadge.h index c609001a..f528fba1 100644 --- a/sigmod/test/TestBadge.h +++ b/sigmod/test/TestBadge.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Badge.h" +// Forward declarations +namespace Sigmod +{ +class Badge; +} class TestBadge : public TestSigmodObject { diff --git a/sigmod/test/TestCoinList.h b/sigmod/test/TestCoinList.h index 2580e04f..d8d4705c 100644 --- a/sigmod/test/TestCoinList.h +++ b/sigmod/test/TestCoinList.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../CoinList.h" +// Forward declarations +namespace Sigmod +{ +class CoinList; +} class TestCoinList : public TestSigmodObject { diff --git a/sigmod/test/TestCoinListItem.h b/sigmod/test/TestCoinListItem.h index 90e7a043..146af040 100644 --- a/sigmod/test/TestCoinListItem.h +++ b/sigmod/test/TestCoinListItem.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../CoinListItem.h" +// Forward declarations +namespace Sigmod +{ +class CoinListItem; +} class TestCoinListItem : public TestSigmodObject { diff --git a/sigmod/test/TestEggGroup.h b/sigmod/test/TestEggGroup.h index 4794a7e3..211c1b14 100644 --- a/sigmod/test/TestEggGroup.h +++ b/sigmod/test/TestEggGroup.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../EggGroup.h" +// Forward declarations +namespace Sigmod +{ +class EggGroup; +} class TestEggGroup : public TestSigmodObject { diff --git a/sigmod/test/TestGlobalScript.h b/sigmod/test/TestGlobalScript.h index a72883f6..9e65e6af 100644 --- a/sigmod/test/TestGlobalScript.h +++ b/sigmod/test/TestGlobalScript.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../GlobalScript.h" +// Forward declarations +namespace Sigmod +{ +class GlobalScript; +} class TestGlobalScript : public TestSigmodObject { diff --git a/sigmod/test/TestItem.h b/sigmod/test/TestItem.h index 0238cfc5..493aa863 100644 --- a/sigmod/test/TestItem.h +++ b/sigmod/test/TestItem.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Item.h" +// Forward declarations +namespace Sigmod +{ +class Item; +} class TestItem : public TestSigmodObject { diff --git a/sigmod/test/TestItemType.h b/sigmod/test/TestItemType.h index 7ab0af78..41e2f871 100644 --- a/sigmod/test/TestItemType.h +++ b/sigmod/test/TestItemType.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../ItemType.h" +// Forward declarations +namespace Sigmod +{ +class ItemType; +} class TestItemType : public TestSigmodObject { diff --git a/sigmod/test/TestMap.h b/sigmod/test/TestMap.h index e0912ec3..6cf4a8a1 100644 --- a/sigmod/test/TestMap.h +++ b/sigmod/test/TestMap.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Map.h" +// Forward declarations +namespace Sigmod +{ +class Map; +} class TestMap : public TestSigmodObject { diff --git a/sigmod/test/TestMapEffect.h b/sigmod/test/TestMapEffect.h index ec9a77da..9a07d96b 100644 --- a/sigmod/test/TestMapEffect.h +++ b/sigmod/test/TestMapEffect.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../MapEffect.h" +// Forward declarations +namespace Sigmod +{ +class MapEffect; +} class TestMapEffect : public TestSigmodObject { diff --git a/sigmod/test/TestMapTile.h b/sigmod/test/TestMapTile.h index fb8a5220..86294bd8 100644 --- a/sigmod/test/TestMapTile.h +++ b/sigmod/test/TestMapTile.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../MapTile.h" +// Forward declarations +namespace Sigmod +{ +class MapTile; +} class TestMapTile : public TestSigmodObject { diff --git a/sigmod/test/TestMapTrainer.h b/sigmod/test/TestMapTrainer.h index c84323b6..7c4b1aaf 100644 --- a/sigmod/test/TestMapTrainer.h +++ b/sigmod/test/TestMapTrainer.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../MapTrainer.h" +// Forward declarations +namespace Sigmod +{ +class MapTrainer; +} class TestMapTrainer : public TestSigmodObject { diff --git a/sigmod/test/TestMapTrainerTeamMember.h b/sigmod/test/TestMapTrainerTeamMember.h index a23e578e..ccc3dd6c 100644 --- a/sigmod/test/TestMapTrainerTeamMember.h +++ b/sigmod/test/TestMapTrainerTeamMember.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../MapTrainerTeamMember.h" +// Forward declarations +namespace Sigmod +{ +class MapTrainerTeamMember; +} class TestMapTrainerTeamMember : public TestSigmodObject { diff --git a/sigmod/test/TestMapWarp.h b/sigmod/test/TestMapWarp.h index 6606ddc0..476bedf9 100644 --- a/sigmod/test/TestMapWarp.h +++ b/sigmod/test/TestMapWarp.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../MapWarp.h" +// Forward declarations +namespace Sigmod +{ +class MapWarp; +} class TestMapWarp : public TestSigmodObject { diff --git a/sigmod/test/TestMapWildList.h b/sigmod/test/TestMapWildList.h index 39113b10..67f0f2e9 100644 --- a/sigmod/test/TestMapWildList.h +++ b/sigmod/test/TestMapWildList.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../MapWildList.h" +// Forward declarations +namespace Sigmod +{ +class MapWildList; +} class TestMapWildList : public TestSigmodObject { diff --git a/sigmod/test/TestMapWildListEncounter.h b/sigmod/test/TestMapWildListEncounter.h index 5f5cfcf9..9ec73fb0 100644 --- a/sigmod/test/TestMapWildListEncounter.h +++ b/sigmod/test/TestMapWildListEncounter.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../MapWildListEncounter.h" +// Forward declarations +namespace Sigmod +{ +class MapWildListEncounter; +} class TestMapWildListEncounter : public TestSigmodObject { diff --git a/sigmod/test/TestMove.h b/sigmod/test/TestMove.h index 90304079..d1089ed9 100644 --- a/sigmod/test/TestMove.h +++ b/sigmod/test/TestMove.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Move.h" +// Forward declarations +namespace Sigmod +{ +class Move; +} class TestMove : public TestSigmodObject { diff --git a/sigmod/test/TestNature.h b/sigmod/test/TestNature.h index f04d32ab..f6133932 100644 --- a/sigmod/test/TestNature.h +++ b/sigmod/test/TestNature.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Nature.h" +// Forward declarations +namespace Sigmod +{ +class Nature; +} class TestNature : public TestSigmodObject { diff --git a/sigmod/test/TestRules.h b/sigmod/test/TestRules.h index 78b75f72..11af6f34 100644 --- a/sigmod/test/TestRules.h +++ b/sigmod/test/TestRules.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Rules.h" +// Forward declarations +namespace Sigmod +{ +class Rules; +} class TestRules : public TestSigmodObject { diff --git a/sigmod/test/TestSkin.h b/sigmod/test/TestSkin.h index 07c32f39..99180146 100644 --- a/sigmod/test/TestSkin.h +++ b/sigmod/test/TestSkin.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Skin.h" +// Forward declarations +namespace Sigmod +{ +class Skin; +} class TestSkin : public TestSigmodObject { diff --git a/sigmod/test/TestSound.h b/sigmod/test/TestSound.h index 2d685500..8f9e078c 100644 --- a/sigmod/test/TestSound.h +++ b/sigmod/test/TestSound.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Sound.h" +// Forward declarations +namespace Sigmod +{ +class Sound; +} class TestSound : public TestSigmodObject { diff --git a/sigmod/test/TestSpecies.h b/sigmod/test/TestSpecies.h index d9970e22..2c9a9a21 100644 --- a/sigmod/test/TestSpecies.h +++ b/sigmod/test/TestSpecies.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Species.h" +// Forward declarations +namespace Sigmod +{ +class Species; +} class TestSpecies : public TestSigmodObject { diff --git a/sigmod/test/TestSpeciesMove.h b/sigmod/test/TestSpeciesMove.h index 9660f0dc..b6b1f752 100644 --- a/sigmod/test/TestSpeciesMove.h +++ b/sigmod/test/TestSpeciesMove.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../SpeciesMove.h" +// Forward declarations +namespace Sigmod +{ +class SpeciesMove; +} class TestSpeciesMove : public TestSigmodObject { diff --git a/sigmod/test/TestSprite.h b/sigmod/test/TestSprite.h index e02f4f1d..2919a2bd 100644 --- a/sigmod/test/TestSprite.h +++ b/sigmod/test/TestSprite.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Sprite.h" +// Forward declarations +namespace Sigmod +{ +class Sprite; +} class TestSprite : public TestSigmodObject { diff --git a/sigmod/test/TestStatus.h b/sigmod/test/TestStatus.h index d8f09083..8d09e81e 100644 --- a/sigmod/test/TestStatus.h +++ b/sigmod/test/TestStatus.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Status.h" +// Forward declarations +namespace Sigmod +{ +class Status; +} class TestStatus : public TestSigmodObject { diff --git a/sigmod/test/TestStore.h b/sigmod/test/TestStore.h index ca8cfcd6..f1776574 100644 --- a/sigmod/test/TestStore.h +++ b/sigmod/test/TestStore.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Store.h" +// Forward declarations +namespace Sigmod +{ +class Store; +} class TestStore : public TestSigmodObject { diff --git a/sigmod/test/TestTile.h b/sigmod/test/TestTile.h index 1031c154..4e38974e 100644 --- a/sigmod/test/TestTile.h +++ b/sigmod/test/TestTile.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Tile.h" +// Forward declarations +namespace Sigmod +{ +class Tile; +} class TestTile : public TestSigmodObject { diff --git a/sigmod/test/TestTime.h b/sigmod/test/TestTime.h index e40111e3..c09b340a 100644 --- a/sigmod/test/TestTime.h +++ b/sigmod/test/TestTime.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Time.h" +// Forward declarations +namespace Sigmod +{ +class Time; +} class TestTime : public TestSigmodObject { diff --git a/sigmod/test/TestTrainer.h b/sigmod/test/TestTrainer.h index e1b356d2..bd78f7e7 100644 --- a/sigmod/test/TestTrainer.h +++ b/sigmod/test/TestTrainer.h @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Trainer.h" +// Forward declarations +namespace Sigmod +{ +class Trainer; +} class TestTrainer : public TestSigmodObject { diff --git a/sigmod/test/TestType.h b/sigmod/test/TestType.h index 6a4d4613..fa5a9451 100644 --- a/sigmod/test/TestType.h +++ b/sigmod/test/TestType.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Type.h" +// Forward declarations +namespace Sigmod +{ +class Type; +} class TestType : public TestSigmodObject { diff --git a/sigmod/test/TestWeather.h b/sigmod/test/TestWeather.h index f5fa57d0..75765a54 100644 --- a/sigmod/test/TestWeather.h +++ b/sigmod/test/TestWeather.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,11 @@ // Test includes #include "TestSigmodObject.h" -// Sigmod includes -#include "../Weather.h" +// Forward declarations +namespace Sigmod +{ +class Weather; +} class TestWeather : public TestSigmodObject { |