From c1b697c9a4b578e80faf185fd7929f412c5c03e9 Mon Sep 17 00:00:00 2001 From: in1tiate Date: Sat, 27 Feb 2021 18:01:15 -0600 Subject: [PATCH] add new commands to aoclient header --- include/aoclient.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/aoclient.h b/include/aoclient.h index 4a35313..7225c99 100644 --- a/include/aoclient.h +++ b/include/aoclient.h @@ -169,6 +169,8 @@ class AOClient : public QObject { // Areas void cmdCM(int argc, QStringList argv); void cmdUnCM(int argc, QStringList argv); + void cmdInvite(int argc, QStringList argv); + void cmdUnInvite(int argc, QStringList argv); void cmdGetAreas(int argc, QStringList argv); void cmdGetArea(int argc, QStringList argv); void cmdSetBackground(int argc, QStringList argv); @@ -224,7 +226,9 @@ class AOClient : public QObject { {"doc", {ACLFlags.value("NONE"), 0, &AOClient::cmdDoc}}, {"cleardoc", {ACLFlags.value("NONE"), 0, &AOClient::cmdClearDoc}}, {"cm", {ACLFlags.value("NONE"), 0, &AOClient::cmdCM}}, - {"uncm", {ACLFlags.value("NONE"), 0, &AOClient::cmdUnCM}} + {"uncm", {ACLFlags.value("NONE"), 0, &AOClient::cmdUnCM}}, + {"invite", {ACLFlags.value("NONE"), 0, &AOClient::cmdInvite}}, + {"uninvite", {ACLFlags.value("NONE"), 0, &AOClient::cmdUnInvite}} }; QString partial_packet;