/***************************************************************************
- * Copyright (C) 2005-2020 by the Quassel Project *
+ * Copyright (C) 2005-2022 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
{
IsReady, // ready to go
NeedsSetup, // need basic setup (ask the user for input)
- NotAvailable // remove the storage backend from the list of avaliable backends
+ NotAvailable // remove the storage backend from the list of available backends
};
enum HashVersion
//! Makes temp data persistent
/** This Method is periodically called by the Quassel Core to make temporary
- * data persistant. This reduces the data loss drastically in the
+ * data persistent. This reduces the data loss drastically in the
* unlikely case of a Core crash.
*/
virtual void sync() = 0;
/**
* \param user The core user
* \param networkInfo The Updated NetworkInfo
- * \return true if successfull.
+ * \return true if successful.
*/
virtual bool updateNetwork(UserId user, const NetworkInfo& info) = 0;
*
* \param user The core user
* \param networkId The network to delete
- * \return true if successfull.
+ * \return true if successful.
*/
virtual bool removeNetwork(UserId user, const NetworkId& networkId) = 0;
* \param networkId The network id
* \param type The type of the buffer (StatusBuffer, Channel, etc.)
* \param buffer The buffer name (if empty, the net's status buffer is returned)
- * \param create Whether or not the buffer should be created if it doesnt exist
+ * \param create Whether or not the buffer should be created if it doesn't exist
* \return The BufferInfo corresponding to the given network and buffer name, or an invalid BufferInfo if not found
*/
virtual BufferInfo bufferInfo(UserId user, const NetworkId& networkId, BufferInfo::Type type, const QString& buffer = "", bool create = true)
/** This call cannot be reverted!
* \param user The user who is the owner of the buffer
* \param bufferId The bufferId
- * \return true if successfull
+ * \return true if successful
*/
virtual bool removeBuffer(const UserId& user, const BufferId& bufferId) = 0;
* \param user The id of the buffer owner
* \param bufferId The bufferId
* \param newName The new name of the buffer
- * \return true if successfull
+ * \return true if successful
*/
virtual bool renameBuffer(const UserId& user, const BufferId& bufferId, const QString& newName) = 0;
* \param user The id of the buffer owner
* \param bufferId1 The bufferId of the remaining buffer
* \param bufferId2 The buffer that is about to be removed
- * \return true if successfull
+ * \return true if successful
*/
virtual bool mergeBuffersPermanently(const UserId& user, const BufferId& bufferId1, const BufferId& bufferId2) = 0;
* \param last if != -1 return only messages with a MsgId < last
* \param limit if != -1 limit the returned list to a max of \limit entries
* \param type The Message::Types that should be returned
+ * \param flags The Message::Flags that should be returned
* \return The requested list of messages
*/
virtual std::vector<Message> requestMsgsForward(UserId user,