/***************************************************************************
- * Copyright (C) 2005-2019 by the Quassel Project *
+ * Copyright (C) 2005-2020 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef COREUSERINPUTHANDLER_H
-#define COREUSERINPUTHANDLER_H
+#pragma once
#include <utility>
void handleQuote(const BufferInfo& bufferInfo, const QString& text);
void handleSay(const BufferInfo& bufferInfo, const QString& text);
void handleSetkey(const BufferInfo& bufferInfo, const QString& text);
+ /**
+ * Handle the setname command, setting the user's realname
+ *
+ * @param bufferInfo Currently active buffer
+ * @param text New realname
+ */
+ void handleSetname(const BufferInfo& bufferInfo, const QString& text);
void handleShowkey(const BufferInfo& bufferInfo, const QString& text);
void handleTopic(const BufferInfo& bufferInfo, const QString& text);
void handleVoice(const BufferInfo& bufferInfo, const QString& text);
QHash<int, Command> _delayedCommands;
};
-
-#endif