23 lines
670 B
C++
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;
|
|
};
|
|
} |