summaryrefslogtreecommitdiff
path: root/examples/uinotification/uinotification.cpp
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2020-12-02 15:42:58 -0500
committerGlenn Smith <glenn@vector35.com>2020-12-02 15:42:58 -0500
commit432a8cdf64052db5fef7df792e2a5a51734d27af (patch)
tree6c4d4bd91056fae5741bdb892b28124f85dc0dba /examples/uinotification/uinotification.cpp
parent31165bf2cba75f3ab58fefce10e707bbaadcc125 (diff)
Callback for address changes #2166
Diffstat (limited to 'examples/uinotification/uinotification.cpp')
-rw-r--r--examples/uinotification/uinotification.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/uinotification/uinotification.cpp b/examples/uinotification/uinotification.cpp
index b7c22bde..ca53c560 100644
--- a/examples/uinotification/uinotification.cpp
+++ b/examples/uinotification/uinotification.cpp
@@ -85,6 +85,12 @@ void NotificationListener::OnViewChange(UIContext* context, ViewFrame* frame, co
}
+void NotificationListener::OnAddressChange(UIContext* context, ViewFrame* frame, View* view, const ViewLocation& location)
+{
+ LogInfo("OnAddressChange: %llx", location.getOffset());
+}
+
+
extern "C"
{
BINARYNINJAPLUGIN bool UIPluginInit()