Minor fixes in PlaYUVerModuleFactory code
This commit is contained in:
1 parent
c6e5c906e8
commit
9d80580c7f
1 file changed
+2
-2
@@ -37,7 +37,7 @@ namespace plaYUVer
|
||||
typedef PlaYUVerModuleIf* (*CreateModuleFn)( void );
|
||||
typedef std::map<const char *, CreateModuleFn> PlaYUVerModuleFactoryMap;
|
||||
|
||||
// Factory for creating instances of IAnimal
|
||||
// Factory for creating instances of PlaYUVerModuleIf
|
||||
class PlaYUVerModuleFactory
|
||||
{
|
||||
private:
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
}
|
||||
|
||||
Void Register( const char* moduleName, CreateModuleFn pfnCreate );
|
||||
PlaYUVerModuleIf *CreateModule( const char *animalName );
|
||||
PlaYUVerModuleIf *CreateModule( const char *moduleName );
|
||||
PlaYUVerModuleFactoryMap& getMap(){ return m_FactoryMap; }
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user