Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 2, 2009, 11:41:00 AM (15 years ago)
Author:
rgrieder
Message:

Cleanup in *Prereqs.h files

  • Removed forward declarations to non-existent classes
  • Ordered all declarations by name and folder
  • introduce new section: "Enums" for those files with enums.
  • Added missing declarations
Location:
code/branches/core5/src/libraries/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/libraries/util/Scope.h

    r5850 r5858  
    3939namespace orxonox
    4040{
    41     namespace ScopeID
    42     {
    43         /**
    44             @brief A list of available scopes for the Scope template.
    45         */
    46         enum Value
    47         {
    48             Root,
    49             Graphics
    50         };
    51     }
    52 
    53     // Forward declarations
    54     class ScopeListener;
    55     class Clock;
    56 
    5741    /**
    5842        @brief The ScopeManager stores the variables of the scope templates in a statically linked context.
  • code/branches/core5/src/libraries/util/UtilPrereqs.h

    r5855 r5858  
    2828
    2929/**
    30   @file
    31   @brief Contains all the necessary forward declarations for all classes and structs.
     30@file
     31@brief
     32    Shared library macros, enums, constants and forward declarations for the util library
    3233*/
    3334
     
    4041// Shared library settings
    4142//-----------------------------------------------------------------------
     43
    4244#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( UTIL_STATIC_BUILD )
    4345#  ifdef UTIL_SHARED_BUILD
     
    5658#endif
    5759
     60//-----------------------------------------------------------------------
     61// Enums
     62//-----------------------------------------------------------------------
     63
     64namespace orxonox
     65{
     66    namespace ScopeID
     67    {
     68        //!A list of available scopes for the Scope template.
     69        enum Value
     70        {
     71            Root,
     72            Graphics
     73        };
     74    }
     75}
    5876
    5977//-----------------------------------------------------------------------
     
    7290    class OutputBufferListener;
    7391    class OutputHandler;
     92    template <ScopeID::Value>
     93    class Scope;
     94    template <class, ScopeID::Value>
     95    class ScopedSingleton;
     96    class ScopeListener;
    7497    class SignalHandler;
     98    template <class T>
     99    class Singleton;
    75100    class SubString;
    76101}
Note: See TracChangeset for help on using the changeset viewer.