Files
OpenVulkano/openVulkanoCpp/Host/iOS/NamedEventProcessor.h
2023-08-11 01:33:32 +02:00

23 lines
670 B
C++

/*
* 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<std::string> 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>& parameters) const override;
};
}