Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2015, 12:13:34 AM (9 years ago)
Author:
landauf
Message:

define ScopeID as integer constants instead of an enum. this allows to extend it and add new scopes outside of core.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/CorePrereqs.h

    r10458 r10464  
    7979    namespace ScopeID
    8080    {
     81        typedef int Value;
     82
    8183        //!A list of available scopes for the Scope template.
    82         enum Value
    83         {
    84             Root,
    85             Graphics
    86         };
     84        static const Value ROOT = 1;
     85        static const Value GRAPHICS = 2;
    8786    }
    8887
Note: See TracChangeset for help on using the changeset viewer.