From 5d4748cb91f2688154c17845e146643920fb2244 Mon Sep 17 00:00:00 2001 From: "C. J. Howard" Date: Thu, 2 Feb 2023 21:00:26 +0800 Subject: [PATCH] Add event header namespace header --- src/event/event.hpp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/event/event.hpp diff --git a/src/event/event.hpp b/src/event/event.hpp new file mode 100644 index 0000000..8f45bfd --- /dev/null +++ b/src/event/event.hpp @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2023 Christopher J. Howard + * + * This file is part of Antkeeper source code. + * + * Antkeeper source code is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Antkeeper source code is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Antkeeper source code. If not, see . + */ + +#ifndef ANTKEEPER_EVENT_HPP +#define ANTKEEPER_EVENT_HPP + +/// Publish-subscribe messaging. +namespace event {} + +#include "event/channel.hpp" +#include "event/publisher.hpp" +#include "event/queue.hpp" +#include "event/subscriber.hpp" +#include "event/subscription.hpp" + +#endif // ANTKEEPER_EVENT_HPP