summaryrefslogtreecommitdiff
path: root/DevTools/Inspector/RemoteProcess.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-05 15:47:24 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-05 15:50:22 +0100
commitb2be8466fb1aa54aaeb07b93ee9d44614518a01c (patch)
treeecec7786839a1120fa0d84d2cc2c9d9998b94099 /DevTools/Inspector/RemoteProcess.h
parent3edcaa9b9907e430ed59aa562b105c3d25d95d8a (diff)
downloadserenity-b2be8466fb1aa54aaeb07b93ee9d44614518a01c.zip
Inspector: Make properties editable :^)
This patch makes it possible to live-edit remote object properties by simply double clicking on them in the property table view. This is pretty neat! :^)
Diffstat (limited to 'DevTools/Inspector/RemoteProcess.h')
-rw-r--r--DevTools/Inspector/RemoteProcess.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/DevTools/Inspector/RemoteProcess.h b/DevTools/Inspector/RemoteProcess.h
index 1c21477e84..6e22e2444a 100644
--- a/DevTools/Inspector/RemoteProcess.h
+++ b/DevTools/Inspector/RemoteProcess.h
@@ -34,6 +34,8 @@ class RemoteObject;
class RemoteProcess {
public:
+ static RemoteProcess& the();
+
explicit RemoteProcess(pid_t);
void update();
@@ -45,6 +47,8 @@ public:
void set_inspected_object(uintptr_t);
+ void set_property(uintptr_t object, const StringView& name, const JsonValue& value);
+
Function<void()> on_update;
private: