X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2Fevents%2FNewFunctionEvent.hxx;fp=src%2Fcore%2Fevents%2FNewFunctionEvent.hxx;h=178ddb596cfa566f609c81ded206d91f8cd8cc4c;hp=febcd1dab44bcd5075844deb471fd63eacf73399;hb=edf204645cccc7dfd4b2558f0fe6ab17675e6e2d;hpb=ad626cc187f94df0ce811427af717a202ff82e8b diff --git a/src/core/events/NewFunctionEvent.hxx b/src/core/events/NewFunctionEvent.hxx index febcd1d..178ddb5 100644 --- a/src/core/events/NewFunctionEvent.hxx +++ b/src/core/events/NewFunctionEvent.hxx @@ -1,10 +1,14 @@ #ifndef INCLUDE__NewFunctionEvent_hxx_ #define INCLUDE__NewFunctionEvent_hxx_ +#include + class Function; class NewFunctionEvent { public: + NewFunctionEvent() + : address(0), function(NULL) {} NewFunctionEvent(uint64_t address, Function* function) : address(address), function(function) {} @@ -12,4 +16,6 @@ public: Function* function; }; +Q_DECLARE_METATYPE(NewFunctionEvent) + #endif /* INCLUDE__NewFunctionEvent_hxx_ */