From: Christian P. <cp...@us...> - 2005-06-16 13:08:47
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27098/include/pclasses Modified Files: Factory.h Log Message: - Use Phoenix<> for FactoryInstanceMap::instance() - Added cleanup code Index: Factory.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Factory.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- Factory.h 29 May 2005 17:42:09 -0000 1.24 +++ Factory.h 16 Jun 2005 13:08:21 -0000 1.25 @@ -51,6 +51,8 @@ //! Type for factory creation hook function typedef FactoryBase* (*FactoryCreateFunc)(); + ~FactoryBase(); + //! Type for type loader hook functions typedef void (*LoaderFunc)(const std::string&, const std::string&, const std::string&); @@ -100,7 +102,6 @@ const std::string& contextType, const std::string& key); FactoryBase(); - ~FactoryBase(); }; //! Type factory |