summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder/VBForm.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-29 12:06:46 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-29 12:07:46 +0200
commitb729b5fc64ee1b1b29fa2f9a04efd23c882c7ff0 (patch)
treecf1854a2d864a05063fe6b6881e299215bdc9a48 /DevTools/VisualBuilder/VBForm.h
parent57a589a6e7c3cc2f585662fadb6634459dff217a (diff)
downloadserenity-b729b5fc64ee1b1b29fa2f9a04efd23c882c7ff0.zip
VisualBuilder: Support loading a saved form from JSON.
The form to load is specified on the command line, e.g "vb test.frm".
Diffstat (limited to 'DevTools/VisualBuilder/VBForm.h')
-rw-r--r--DevTools/VisualBuilder/VBForm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/DevTools/VisualBuilder/VBForm.h b/DevTools/VisualBuilder/VBForm.h
index 856b4bddd1..1f86c5027a 100644
--- a/DevTools/VisualBuilder/VBForm.h
+++ b/DevTools/VisualBuilder/VBForm.h
@@ -26,6 +26,7 @@ public:
Function<void(VBWidget*)> on_widget_selected;
+ void load_from_file(const String& path);
void write_to_file(const String& path);
void dump();