Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 9, 2013, 9:26:46 PM (11 years ago)
Author:
landauf
Message:

BaseObject now requires a Context instead of a creator (BaseObject*) in its constructor.
Namespace, Level, and Scene inherit from Context

Location:
code/branches/core6/test/core/class
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/test/core/class/SubclassIdentifierTest.cc

    r9601 r9629  
    1212        {
    1313            public:
    14                 TestClass(BaseObject* creator = NULL) { RegisterRootObject(TestClass); }
     14                TestClass(Context* context = NULL) { RegisterRootObject(TestClass); }
    1515        };
    1616
     
    1818        {
    1919            public:
    20                 TestSubclass(BaseObject* creator = NULL) { RegisterObject(TestSubclass); }
     20                TestSubclass(Context* context = NULL) { RegisterObject(TestSubclass); }
    2121        };
    2222
  • code/branches/core6/test/core/class/SuperTest.cc

    r9601 r9629  
    1313        {
    1414            public:
    15                 TestClass(BaseObject* creator = NULL) : BaseObject(NULL), changedNameBase_(false), xmlPortBase_(false), modeBase_(XMLPort::NOP)
     15                TestClass(Context* context = NULL) : BaseObject(context), changedNameBase_(false), xmlPortBase_(false), modeBase_(XMLPort::NOP)
    1616                {
    1717                    RegisterRootObject(TestClass);
     
    3737        {
    3838            public:
    39                 TestSubclass(BaseObject* creator = NULL) : changedNameSubclass_(false), xmlPortSubclass_(false), modeSubclass_(XMLPort::NOP)
     39                TestSubclass(Context* context = NULL) : TestClass(context), changedNameSubclass_(false), xmlPortSubclass_(false), modeSubclass_(XMLPort::NOP)
    4040                {
    4141                    RegisterObject(TestSubclass);
Note: See TracChangeset for help on using the changeset viewer.