Project

General

Profile

« Previous | Next » 

Revision fb2a9bc4

Added by danij almost 11 years ago

libcommon: Added a basic GameStateReaderFactory

With runtime registration so that new IGameStateReaders can be added
without requiring the factory to have compile time knowledge of the
derived classes.

Todo: The implementation could probably be improved (factory should
return instances with std::auto_ptr?). Perhaps libdeng2 could provide
the abstract components necessary for building a factory?

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences