Did some hackypooos for Jtest
This commit is contained in:
@@ -29,14 +29,14 @@ public:
|
||||
using event_ptr = std::shared_ptr<connection>;
|
||||
public:
|
||||
void Await(Args& ... arg);
|
||||
void Invoke(Args... args);
|
||||
virtual void Invoke(Args... args);
|
||||
void operator()(Args... args);
|
||||
connection Connect(delegate callback);
|
||||
void Disconnect(connection &conn);
|
||||
connection operator+=(delegate callback);
|
||||
private:
|
||||
protected:
|
||||
std::vector<event_ptr> listeners;
|
||||
uint64_t listenerCounter = 0;
|
||||
//uint64_t listenerCounter = 0;
|
||||
};
|
||||
|
||||
template<typename delegate, typename... Args>
|
||||
|
Reference in New Issue
Block a user