aboutsummaryrefslogtreecommitdiffstats
path: root/src/messaging/serviceFactory.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/messaging/serviceFactory.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/messaging/serviceFactory.cpp')
-rw-r--r--src/messaging/serviceFactory.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/messaging/serviceFactory.cpp b/src/messaging/serviceFactory.cpp
index 3007488d..a4ce70a4 100644
--- a/src/messaging/serviceFactory.cpp
+++ b/src/messaging/serviceFactory.cpp
@@ -45,6 +45,13 @@ serviceFactory::~serviceFactory()
}
+serviceFactory* serviceFactory::getInstance()
+{
+ static serviceFactory instance;
+ return (&instance);
+}
+
+
service* serviceFactory::create
(session* sess, const string& protocol, authenticator* auth)
{