X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreapplication.h;h=587af6f72f31c3b86955e4891744edd5c11edfe4;hb=e30092afc1803d753914a7ab9fa88bba818de559;hp=2bd53868a4ceaeebe21a9d0161bdd81696ca0718;hpb=04315f46a16fc3627218377071e008b6b9744992;p=quassel.git diff --git a/src/core/coreapplication.h b/src/core/coreapplication.h index 2bd53868..587af6f7 100644 --- a/src/core/coreapplication.h +++ b/src/core/coreapplication.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -21,11 +21,7 @@ #ifndef COREAPPLICATION_H_ #define COREAPPLICATION_H_ -#ifdef HAVE_KDE -# include -#else -# include -#endif +#include #include "quassel.h" @@ -42,6 +38,15 @@ public: bool init(); + /** + * Requests a reload of relevant runtime configuration. + * + * In particular, signals to the Core to reload SSL certificates. + * + * @return True if configuration reload successful, otherwise false + */ + bool reloadConfig(); + private: bool _coreCreated; }; @@ -56,6 +61,15 @@ public: bool init(); + /** + * Requests a reload of relevant runtime configuration. + * + * @see Quassel::reloadConfig() + * + * @return True if configuration reload successful, otherwise false + */ + bool reloadConfig(); + private: CoreApplicationInternal *_internal; };