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/messaging/serviceFactory.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/messaging/serviceFactory.cpp')
-rw-r--r-- | src/messaging/serviceFactory.cpp | 7 |
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) { |