From 2122a857662203936a04a39df7d0e1ad1db82853 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 6 Jan 2007 04:16:26 +0000 Subject: Work on Port destruction (still broken). git-svn-id: http://svn.drobilla.net/lad/ingen@233 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/events/DestroyEvent.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'src/libs/engine/events/DestroyEvent.h') diff --git a/src/libs/engine/events/DestroyEvent.h b/src/libs/engine/events/DestroyEvent.h index 23d0ba90..ad67bbca 100644 --- a/src/libs/engine/events/DestroyEvent.h +++ b/src/libs/engine/events/DestroyEvent.h @@ -32,6 +32,7 @@ namespace Ingen { class GraphObject; class Patch; class Node; +class Port; class Plugin; class DisconnectNodeEvent; class DisconnectPortEvent; @@ -53,12 +54,16 @@ public: void post_process(); private: - Path m_path; - Node* m_node; - ListNode* m_patch_listnode; - TreeNode* m_store_treenode; - Array* m_process_order; // Patch's new process order - DisconnectNodeEvent* m_disconnect_event; + Path _path; + GraphObject* _object; + Node* _node; ///< Same as _object if it is a Node, otherwise NULL + Port* _port; ///< Same as _object if it is a Port, otherwise NULL + ListNode* _patch_node_listnode; + ListNode* _patch_port_listnode; + TreeNode* _store_treenode; + Array* _process_order; ///< Patch's new process order + DisconnectNodeEvent* _disconnect_node_event; + DisconnectPortEvent* _disconnect_port_event; }; -- cgit v1.2.1