summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-03-11 19:51:26 +0000
committerSadie Powell <sadie@witchery.services>2020-03-12 05:23:04 +0000
commit906e44f687185f6507cba95ec1b565de4936eb03 (patch)
treecd650ba858d644c2f650bfc3d3a34385c06d74cf /include
parent1a7b4bac42c0c0f4dc9d0081c462d62f193e0da8 (diff)
Add a CapReference class for the message-tags capability.
Diffstat (limited to 'include')
-rw-r--r--include/modules/ctctags.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/modules/ctctags.h b/include/modules/ctctags.h
index ad45d12b1..7946c1243 100644
--- a/include/modules/ctctags.h
+++ b/include/modules/ctctags.h
@@ -20,14 +20,25 @@
#pragma once
#include "event.h"
+#include "modules/cap.h"
namespace CTCTags
{
+ class CapReference;
class EventListener;
class TagMessage;
class TagMessageDetails;
}
+class CTCTags::CapReference : public Cap::Reference
+{
+ public:
+ CapReference(Module* mod)
+ : Cap::Reference(mod, "message-tags")
+ {
+ }
+};
+
class CTCTags::TagMessage : public ClientProtocol::Message
{
private: