diff options
author | Vincent Richard <[email protected]> | 2005-03-14 20:35:25 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-03-14 20:35:25 +0000 |
commit | 362fa346f94e2b3a8c0abb7badfbd7a749a9de1c (patch) | |
tree | e7e127f8c8dba44367e4ccdf556791cc547823c1 /src/textPartFactory.cpp | |
parent | Fixed parameters not showing as child components + fixed parsing bounds in ty... (diff) | |
download | vmime-362fa346f94e2b3a8c0abb7badfbd7a749a9de1c.tar.gz vmime-362fa346f94e2b3a8c0abb7badfbd7a749a9de1c.zip |
Removed 'singleton' and 'singletonManager' classes.
Diffstat (limited to 'src/textPartFactory.cpp')
-rw-r--r-- | src/textPartFactory.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/textPartFactory.cpp b/src/textPartFactory.cpp index 0d588d9c..bfc2fa64 100644 --- a/src/textPartFactory.cpp +++ b/src/textPartFactory.cpp @@ -42,6 +42,13 @@ textPartFactory::~textPartFactory() } +textPartFactory* textPartFactory::getInstance() +{ + static textPartFactory instance; + return (&instance); +} + + textPart* textPartFactory::create(const mediaType& type) { NameMap::const_iterator pos = m_nameMap.find(type.generate()); |