Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 11, 2013, 11:00:43 AM (11 years ago)
Author:
landauf
Message:

Factory::fabricate() returns an Identifiable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/object/ClassFactory.h

    r9629 r9632  
    5555        public:
    5656            virtual ~Factory() {};
    57             virtual OrxonoxClass* fabricate(Context* context) = 0;
     57            virtual Identifiable* fabricate(Context* context) = 0;
    5858    };
    5959
     
    8282                @return The new object
    8383            */
    84             inline OrxonoxClass* fabricate(Context* context)
     84            inline Identifiable* fabricate(Context* context)
    8585            {
    8686                return static_cast<OrxonoxClass*>(new T(context));
Note: See TracChangeset for help on using the changeset viewer.