/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #pragma once #include "Base/Event.hpp" namespace openVulkanoCpp { class NamedEventProcessor final : public INamedEventProcessor { std::vector m_classNamePrefixes; public: NamedEventProcessor() { RegisterClassNamePrefix(""); } void RegisterClassNamePrefix(const std::string& prefix) { m_classNamePrefixes.push_back(prefix); } void Notify(const std::string& eventName, const std::vector& parameters) const override; }; }