summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-04 11:32:54 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-04 11:32:54 +0200
commit2be63668af1cadf846ae2d44a0fd5c909ceaf47e (patch)
treeaf80bc23d9b1dde815a3cf44285c6719490d282a /config.cpp
parent12972923e74e3dd174f3ce3e59c2db5ca9b400eb (diff)
Add plugins
Diffstat (limited to 'config.cpp')
-rw-r--r--config.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/config.cpp b/config.cpp
index c71ce9e..d28a3c1 100644
--- a/config.cpp
+++ b/config.cpp
@@ -102,6 +102,21 @@ std::string Config::Group() const
return m_group;
}
+const std::vector<std::string>& Config::PluginDirectories() const
+{
+ return m_plugin_directories;
+}
+
+const std::vector<Site>& Config::Sites() const
+{
+ return m_sites;
+}
+
+const std::vector<Socket>& Config::Sockets() const
+{
+ return m_sockets;
+}
+
void Config::dump() const
{
std::cout << "=== Configuration ===========================" << std::endl;