aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/serviceFactory.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-10-19 17:12:20 +0000
committerVincent Richard <[email protected]>2005-10-19 17:12:20 +0000
commit1e94a4a70f2e5c59dbeb5c28171ddf962bdd3892 (patch)
tree3290b9d766a2a2dbad330347eb80d1c197a8b4a5 /src/net/serviceFactory.cpp
parentCharset converter. (diff)
downloadvmime-1e94a4a70f2e5c59dbeb5c28171ddf962bdd3892.tar.gz
vmime-1e94a4a70f2e5c59dbeb5c28171ddf962bdd3892.zip
Refactoring of built-in services registration system.
Diffstat (limited to '')
-rw-r--r--src/net/serviceFactory.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/serviceFactory.cpp b/src/net/serviceFactory.cpp
index 222f3da2..e98e0e4c 100644
--- a/src/net/serviceFactory.cpp
+++ b/src/net/serviceFactory.cpp
@@ -122,5 +122,11 @@ const std::vector <ref <const serviceFactory::registeredService> > serviceFactor
}
+void serviceFactory::registerService(ref <registeredService> reg)
+{
+ m_services.push_back(reg);
+}
+
+
} // net
} // vmime