aboutsummaryrefslogtreecommitdiffstats
path: root/src/headerFieldFactory.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-03-14 20:35:25 +0000
committerVincent Richard <[email protected]>2005-03-14 20:35:25 +0000
commit362fa346f94e2b3a8c0abb7badfbd7a749a9de1c (patch)
treee7e127f8c8dba44367e4ccdf556791cc547823c1 /src/headerFieldFactory.cpp
parentFixed parameters not showing as child components + fixed parsing bounds in ty... (diff)
downloadvmime-362fa346f94e2b3a8c0abb7badfbd7a749a9de1c.tar.gz
vmime-362fa346f94e2b3a8c0abb7badfbd7a749a9de1c.zip
Removed 'singleton' and 'singletonManager' classes.
Diffstat (limited to 'src/headerFieldFactory.cpp')
-rw-r--r--src/headerFieldFactory.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/headerFieldFactory.cpp b/src/headerFieldFactory.cpp
index 306e2c8e..807ffe4d 100644
--- a/src/headerFieldFactory.cpp
+++ b/src/headerFieldFactory.cpp
@@ -63,6 +63,13 @@ headerFieldFactory::~headerFieldFactory()
}
+headerFieldFactory* headerFieldFactory::getInstance()
+{
+ static headerFieldFactory instance;
+ return (&instance);
+}
+
+
headerField* headerFieldFactory::create
(const string& name, const string& body)
{