X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=core%2Fcoreproxy.h;h=6e724d593f9dfe85a8c9facd161be6be86df2bf2;hb=941e86a4eed479bb795c0854d9725f841ef51115;hp=c8850a355bfe659628ad00011fd4a6030bc40d7a;hpb=d6a96a47a3964b9c0b1ea2413601d70d0d327413;p=quassel.git diff --git a/core/coreproxy.h b/core/coreproxy.h index c8850a35..6e724d59 100644 --- a/core/coreproxy.h +++ b/core/coreproxy.h @@ -44,21 +44,25 @@ class CoreProxy : public QObject { inline void csServerConnected(QString net) { send(CS_SERVER_CONNECTED, net); } inline void csServerDisconnected(QString net) { send(CS_SERVER_DISCONNECTED, net); } inline void csServerState(QString net, VarMap data) { send(CS_SERVER_STATE, net, data); } - inline void csDisplayMsg(QString net, Message msg) { send(CS_DISPLAY_MSG, net, QVariant::fromValue(msg)); } + inline void csDisplayMsg(Message msg) { send(CS_DISPLAY_MSG, QVariant::fromValue(msg)); } inline void csDisplayStatusMsg(QString net, QString msg) { send(CS_DISPLAY_STATUS_MSG, net, msg); } inline void csModeSet(QString net, QString target, QString mode) { send(CS_MODE_SET, net, target, mode); } inline void csTopicSet(QString net, QString buf, QString topic) { send(CS_TOPIC_SET, net, buf, topic); } - inline void csSetNicks(QString net, QString buf, QStringList nicks) { send(CS_SET_NICKS, net, buf, nicks); } inline void csNickAdded(QString net, QString nick, VarMap props) { send(CS_NICK_ADDED, net, nick, props); } inline void csNickRemoved(QString net, QString nick) { send(CS_NICK_REMOVED, net, nick); } inline void csNickRenamed(QString net, QString oldn, QString newn) { send(CS_NICK_RENAMED, net, oldn, newn); } inline void csNickUpdated(QString net, QString nick, VarMap props) { send(CS_NICK_UPDATED, net, nick, props); } inline void csOwnNickSet(QString net, QString nick) { send(CS_OWN_NICK_SET, net, nick); } + inline void csQueryRequested(QString net, QString nick) { send(CS_QUERY_REQUESTED, net, nick); } + inline void csBacklogData(BufferId id, QList msg, bool done) { send(CS_BACKLOG_DATA, QVariant::fromValue(id), msg, done); } + inline void csUpdateBufferId(BufferId id) { send(CS_UPDATE_BUFFERID, QVariant::fromValue(id)); } signals: void gsPutGlobalData(QString, QVariant); - void gsUserInput(QString, QString, QString); + void gsUserInput(BufferId, QString); void gsRequestConnect(QStringList networks); + void gsImportBacklog(); + void gsRequestBacklog(BufferId, QVariant, QVariant); void requestServerStates();