From 906e44f687185f6507cba95ec1b565de4936eb03 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 11 Mar 2020 19:51:26 +0000 Subject: Add a CapReference class for the message-tags capability. --- include/modules/ctctags.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include') 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: -- cgit v1.2.3