13 lines
256 B
C++
13 lines
256 B
C++
#include "formatfactoryregistry.h"
|
|
|
|
FormatFactoryRegistry * FormatFactoryRegistry::instance = 0;
|
|
|
|
FormatFactoryRegistry &FormatFactoryRegistry::Get()
|
|
{
|
|
|
|
if (instance ==0 ) {
|
|
instance = new FormatFactoryRegistry();
|
|
}
|
|
return *instance;
|
|
}
|