Changeset 9632 for code/branches/core6/src/libraries/core/object
- Timestamp:
- Aug 11, 2013, 11:00:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/libraries/core/object/ClassFactory.h
r9629 r9632 55 55 public: 56 56 virtual ~Factory() {}; 57 virtual OrxonoxClass* fabricate(Context* context) = 0;57 virtual Identifiable* fabricate(Context* context) = 0; 58 58 }; 59 59 … … 82 82 @return The new object 83 83 */ 84 inline OrxonoxClass* fabricate(Context* context)84 inline Identifiable* fabricate(Context* context) 85 85 { 86 86 return static_cast<OrxonoxClass*>(new T(context));
Note: See TracChangeset
for help on using the changeset viewer.