From ac1d6d135bda8d739fdb8bf564f89c38b664c097 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Oct 2011 03:08:06 +0000 Subject: De-singleton-ify GUI. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3584 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/LoadPatchWindow.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/LoadPatchWindow.hpp') 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& xml); + void init(App& app) { _app = &app; } + void set_patch(SharedPtr patch); void present(SharedPtr 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 _patch; -- cgit v1.2.1