X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreapplication.cpp;h=7426f1773a2e29b5abd462c33308a43e39d31a09;hb=78decd5f8d1a149fc0e62e01bd6b2886e0feadfe;hp=b9422b8bfa2d083bfe9346dc7c655c2bcaff745a;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c;p=quassel.git diff --git a/src/core/coreapplication.cpp b/src/core/coreapplication.cpp index b9422b8b..7426f177 100644 --- a/src/core/coreapplication.cpp +++ b/src/core/coreapplication.cpp @@ -62,6 +62,17 @@ bool CoreApplicationInternal::init() } +bool CoreApplicationInternal::reloadConfig() +{ + if (_coreCreated) { + // Currently, only reloading SSL certificates is supported + return Core::reloadCerts(); + } else { + return false; + } +} + + /*****************************************************************************/ CoreApplication::CoreApplication(int &argc, char **argv) @@ -94,3 +105,13 @@ bool CoreApplication::init() } return false; } + + +bool CoreApplication::reloadConfig() +{ + if (_internal) { + return _internal->reloadConfig(); + } else { + return false; + } +}