]> git.siccegge.de Git - frida/frida.git/blobdiff - src/core/events/NewFunctionEvent.hxx
Add new files missing from previous few commits
[frida/frida.git] / src / core / events / NewFunctionEvent.hxx
diff --git a/src/core/events/NewFunctionEvent.hxx b/src/core/events/NewFunctionEvent.hxx
new file mode 100644 (file)
index 0000000..f6d477c
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef INCLUDE__NewFunctionEvent_hxx_
+#define INCLUDE__NewFunctionEvent_hxx_
+
+#include <string>
+
+class Function;
+
+class NewFunctionEvent {
+public:
+       NewFunctionEvent(uint64_t address, Function* function)
+               : address(address), function(function) {}
+
+       uint64_t address;
+       Function* function;
+};
+
+#endif /* INCLUDE__NewFunctionEvent_hxx_ */