X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=5a125a4f0f25585c341530b035385c2978863cd2;hb=682c6e31834a863c4c78b6dfd5f830c72a6b665d;hp=277c43ccc8e3f6a13d4b16aa0106582b6e960ce5;hpb=b79832bf9c4c21b05629cfd2fdbd008ad690572f;p=quassel.git diff --git a/src/core/core.h b/src/core/core.h index 277c43cc..5a125a4f 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -26,14 +26,19 @@ #include #include #include -#include + +#ifndef QT_NO_OPENSSL #include +#include "sslserver.h" +#else +#include +#include +#endif #include "bufferinfo.h" #include "message.h" #include "global.h" #include "sessionthread.h" -#include "sslserver.h" #include "types.h" class CoreSession; @@ -202,17 +207,14 @@ class Core : public QObject { */ static QList requestMsgRange(UserId user, BufferId buffer, int first, int last); - //! Request a list of all buffers known to a user since a certain point in time. + //! Request a list of all buffers known to a user. /** This method is used to get a list of all buffers we have stored a backlog from. - * Optionally, a QDateTime can be given, so that only buffers are listed that were active - * since that point in time. * \note This method is threadsafe. * * \param user The user whose buffers we request - * \param since If this is defined, older buffers will be ignored * \return A list of the BufferInfos for all buffers as requested */ - static QList requestBuffers(UserId user, QDateTime since = QDateTime()); + static QList requestBuffers(UserId user); //! Remove permanently a buffer and it's content from the storage backend /** This call cannot be reverted! @@ -271,7 +273,9 @@ class Core : public QObject { bool initStorage(QVariantMap dbSettings, bool setup = false); +#ifndef QT_NO_OPENSSL void sslErrors(const QList &errors); +#endif void socketError(QAbstractSocket::SocketError); private: