Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3156


Ignore:
Timestamp:
Jun 13, 2009, 4:57:55 PM (15 years ago)
Author:
rgrieder
Message:

Moved the forward declaration I found to the prereqs.h files.

Location:
code/branches/pch/src
Files:
1 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/core/BaseObject.h

    r3154 r3156  
    5353#include "OrxonoxClass.h"
    5454#include "Super.h"
    55 #include "XMLIncludes.h"
    5655
    5756namespace orxonox
  • code/branches/pch/src/core/Core.h

    r2896 r3156  
    4444#include "OrxonoxClass.h"
    4545#include "util/OutputHandler.h"
    46 
    47 // boost::filesystem header has quite a large tail, use forward declaration
    48 namespace boost { namespace filesystem
    49 {
    50     struct path_traits;
    51     template<class String, class Traits> class basic_path;
    52     typedef basic_path< std::string, path_traits> path;
    53 } }
    5446
    5547namespace orxonox
  • code/branches/pch/src/core/CorePrereqs.h

    r3155 r3156  
    195195}
    196196
     197// Boost
     198namespace boost { namespace filesystem
     199{
     200    struct path_traits;
     201    template <class String, class Traits> class basic_path;
     202    typedef basic_path<std::string, path_traits> path;
     203} }
     204
     205// TinyXML and TinyXML++
     206class TiXmlString;
     207class TiXmlOutStream;
     208class TiXmlNode;
     209class TiXmlHandle;
     210class TiXmlDocument;
     211class TiXmlElement;
     212class TiXmlComment;
     213class TiXmlUnknown;
     214class TiXmlAttribute;
     215class TiXmlText;
     216class TiXmlDeclaration;
     217class TiXmlParsingData;
     218namespace ticpp
     219{
     220    class Document;
     221    class Element;
     222    class Declaration;
     223    class StylesheetReference;
     224    class Text;
     225    class Comment;
     226    class Attribute;
     227}
     228namespace orxonox
     229{
     230    using ticpp::Document;
     231    using ticpp::Element;
     232    using ticpp::Declaration;
     233    using ticpp::StylesheetReference;
     234    using ticpp::Text;
     235    using ticpp::Comment;
     236    using ticpp::Attribute;
     237}
     238
     239
    197240#endif /* _CorePrereqs_H__ */
  • code/branches/pch/src/core/Namespace.h

    r3154 r3156  
    3434#include <set>
    3535#include <string>
    36 #include "XMLIncludes.h"
    3736#include "BaseObject.h"
    3837
  • code/branches/pch/src/core/Super.h

    r3154 r3156  
    7070
    7171#include "util/Debug.h"
    72 #include "XMLIncludes.h"
    7372#include "Event.h"
    7473
  • code/branches/pch/src/core/XMLPort.h

    r3154 r3156  
    5454#include "Executor.h"
    5555#include "BaseObject.h"
    56 #include "XMLIncludes.h"
    5756
    5857// ------------
  • code/branches/pch/src/orxonox/OrxonoxPrereqs.h

    r3130 r3156  
    299299namespace CEGUI
    300300{
     301    class DefaultLogger;
    301302    class LuaScriptModule;
    302303
     
    307308
    308309// Bullet Physics Engine
    309 
    310310class btTransform;
    311311class btVector3;
     
    327327class btSequentialImpulseConstraintSolver;
    328328
    329 // lua
     329// ALUT
     330typedef struct ALCcontext_struct ALCcontext;
     331typedef struct ALCdevice_struct ALCdevice;
     332typedef unsigned int ALuint;
     333typedef int ALint;
     334
     335// Lua
    330336struct lua_State;
    331337
  • code/branches/pch/src/orxonox/gui/GUIManager.h

    r3153 r3156  
    4545
    4646#include "core/input/InputInterfaces.h"
    47 
    48 // Forward declaration
    49 namespace CEGUI { class DefaultLogger; }
    5047
    5148// tolua_begin
  • code/branches/pch/src/orxonox/sound/SoundBase.h

    r3139 r3156  
    3030
    3131#include "OrxonoxPrereqs.h"
    32 #include <string>
    33 
    34 // forward declarations
    35 typedef unsigned int ALuint;
    36 typedef int ALint;
    3732
    3833namespace orxonox
  • code/branches/pch/src/orxonox/sound/SoundManager.h

    r3133 r3156  
    3333#include "orxonox/objects/Tickable.h"
    3434
    35 // forward declarations
    36 typedef struct ALCcontext_struct ALCcontext;
    37 typedef struct ALCdevice_struct ALCdevice;
    38 
    3935namespace orxonox
    4036{
Note: See TracChangeset for help on using the changeset viewer.