feat: removed "canvas" references
This commit is contained in:
parent
f313d1abbe
commit
64f1ddaa36
|
@ -1,10 +1,9 @@
|
|||
#ifndef CANVAS_CALLABLE_HPP
|
||||
#define CANVAS_CALLABLE_HPP
|
||||
#ifndef CALLABLE_HPP
|
||||
#define CALLABLE_HPP
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
namespace ce {
|
||||
/* Base interface template for a member function pointer object
|
||||
*/
|
||||
template <class Return, class... Args>
|
||||
|
@ -64,6 +63,5 @@ template <class Return, class... Args> Return Callable<Return, Args...>::call(Ar
|
|||
template <class Return, class... Args> bool operator==(Callable<Return, Args...> const &lhs, Callable<Return, Args...> const &rhs) {
|
||||
return lhs.hidden->equals(*rhs.hidden.get());
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !CANVAS_CALLABLE_HPP
|
||||
#endif // !CALLABLE_HPP
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
#ifndef CANVAS_SIGNAL_HPP
|
||||
#define CANVAS_SIGNAL_HPP
|
||||
#ifndef SIGNAL_HPP
|
||||
#define SIGNAL_HPP
|
||||
|
||||
#include "callable.hpp"
|
||||
#include <cstdio>
|
||||
#include <vector>
|
||||
|
||||
namespace ce {
|
||||
/*! Observer-listener implementation
|
||||
*/
|
||||
template <class... Args>
|
||||
|
@ -60,6 +59,5 @@ void TEST_signals() {
|
|||
signal.invoke(10);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // !CANVAS_SIGNAL_HPP
|
||||
|
|
Loading…
Reference in a new issue