From e0ac5509b4020cb6e78c6b7c591ef2e7f6314ced Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Feb 2024 19:32:44 +0000 Subject: Consolidate some header files. --- modules/webcpanel/pages/hostserv/hostserv.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 modules/webcpanel/pages/hostserv/hostserv.h (limited to 'modules/webcpanel/pages/hostserv/hostserv.h') diff --git a/modules/webcpanel/pages/hostserv/hostserv.h b/modules/webcpanel/pages/hostserv/hostserv.h new file mode 100644 index 000000000..8494fee14 --- /dev/null +++ b/modules/webcpanel/pages/hostserv/hostserv.h @@ -0,0 +1,21 @@ +/* + * (C) 2003-2024 Anope Team + * Contact us at team@anope.org + * + * Please read COPYING and README for further details. + */ + +#pragma once + +namespace WebCPanel::HostServ +{ + class Request; +} + +class WebCPanel::HostServ::Request final + : public WebPanelProtectedPage +{ +public: + Request(const Anope::string &cat, const Anope::string &u); + bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &, NickAlias *, TemplateFileServer::Replacements &) override; +}; -- cgit