From: stephan b. <sg...@us...> - 2004-12-25 19:54:15
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/IO In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25528/include/pclasses/IO Modified Files: IOManager.h Log Message: Corrected broken inheritance (missing namespace). Index: IOManager.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/IO/IOManager.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- IOManager.h 25 Dec 2004 17:06:43 -0000 1.1 +++ IOManager.h 25 Dec 2004 19:53:57 -0000 1.2 @@ -1,7 +1,7 @@ #ifndef P_IOMANAGER_HPP_INCLUDED #define P_IOMANAGER_HPP_INCLUDED 1 -#include "pclasses/Phoenix.h" +#include "pclasses/Factory.h" #include "pclasses/Plugin/Plugin.h" #include "pclasses/Net/URL.h" namespace P { @@ -12,7 +12,7 @@ the P::IO layer. */ template <typename InterfaceT> - class IOPluginManager : public ::P::PluginManager<InterfaceT> + class IOPluginManager : public ::P::Plugin::PluginManager<InterfaceT> { public: typdef IOPluginManager<InterfaceT> ThisType; @@ -26,11 +26,14 @@ /** Returns a shared instance of this object. + + Clients may transparently replace or modify the + default returned object by specializing + P::Hook::FactoryInstanceHook<ThisType>. */ static ThisType & instance() { - typedef ::P::Phoenix<ThisType, ::P::Sharing::FactoryContext > PHX; - return PHX::instance(); + return ::P::Hook::FactoryInstanceHook<ThisType>::instance(); } /** |