About to add evet

This commit is contained in:
2023-11-17 13:21:56 -06:00
parent 89139853ee
commit 300c99401a
7 changed files with 45 additions and 39 deletions

20
src/dawn/event/Event.hpp Normal file
View File

@ -0,0 +1,20 @@
// Copyright (c) 2023 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "dawnlibs.hpp"
namespace Dawn {
template<typename T>
class Event {
private:
public:
Event() {}
virtual ~Event() {}
virtual void operator()(T &t) = 0;
}
}