summaryrefslogtreecommitdiffstats
path: root/src/gui/LoadPatchWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/LoadPatchWindow.hpp')
-rw-r--r--src/gui/LoadPatchWindow.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/LoadPatchWindow.hpp b/src/gui/LoadPatchWindow.hpp
index cc8b906b..653148e9 100644
--- a/src/gui/LoadPatchWindow.hpp
+++ b/src/gui/LoadPatchWindow.hpp
@@ -45,6 +45,8 @@ public:
LoadPatchWindow(BaseObjectType* cobject,
const Glib::RefPtr<Gtk::Builder>& xml);
+ void init(App& app) { _app = &app; }
+
void set_patch(SharedPtr<const PatchModel> patch);
void present(SharedPtr<const PatchModel> patch,
@@ -65,6 +67,8 @@ private:
Raul::Symbol symbol_from_filename(const Glib::ustring& filename);
Raul::Symbol avoid_symbol_clash(const Raul::Symbol& symbol);
+ App* _app;
+
GraphObject::Properties _initial_data;
SharedPtr<const PatchModel> _patch;