X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreapplication.cpp;h=1ba903e735445adc6d9646218ac14cd462a852f4;hb=5dbf544a08ef96a933d61ffa3b7bc711ebdab244;hp=9b48adb92193d6b505746d3980c42a438f0fbcaf;hpb=921e54680da16fcf2adb7a90506875aceb6633a4;p=quassel.git diff --git a/src/core/coreapplication.cpp b/src/core/coreapplication.cpp index 9b48adb9..1ba903e7 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; + } +}