Tools and libraries to glue C/C++ APIs to high-level languages
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <FastDelegates.h> |
|
|
|
using namespace fastdelegate; |
|
|
|
class ClassWithDelegate |
|
{ |
|
public: |
|
FastDelegate<int(int)> OnEvent0; |
|
void FireEvent0(int value) { if (OnEvent0) OnEvent0(value); } |
|
}; |
|
|
|
class ClassInheritsDelegate : public ClassWithDelegate |
|
{ |
|
};
|
|
|