diff options
Diffstat (limited to 'src/progs/ingenuity/WindowFactory.h')
-rw-r--r-- | src/progs/ingenuity/WindowFactory.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/progs/ingenuity/WindowFactory.h b/src/progs/ingenuity/WindowFactory.h index 194f7319..2f844160 100644 --- a/src/progs/ingenuity/WindowFactory.h +++ b/src/progs/ingenuity/WindowFactory.h @@ -45,11 +45,13 @@ public: WindowFactory(); ~WindowFactory(); + size_t num_open_patch_windows(); + PatchWindow* patch_window(SharedPtr<PatchModel> patch); NodeControlWindow* control_window(SharedPtr<NodeModel> node); void present_patch(SharedPtr<PatchModel> patch, - PatchWindow* preferred = NULL, + PatchWindow* preferred = NULL, SharedPtr<PatchView> patch = SharedPtr<PatchView>()); void present_controls(SharedPtr<NodeModel> node); @@ -63,6 +65,8 @@ public: bool remove_patch_window(PatchWindow* win, GdkEventAny* ignored = NULL); + void clear(); + private: typedef std::map<Path, PatchWindow*> PatchWindowMap; typedef std::map<Path, NodeControlWindow*> ControlWindowMap; |