From 0f8bd14d3487c35280c33bbfd133dd9e37c8f07e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Nov 2020 15:58:38 +0100 Subject: Index clients and ports by ID --- src/PatchageModule.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/PatchageModule.hpp') diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp index e5abe43..6953124 100644 --- a/src/PatchageModule.hpp +++ b/src/PatchageModule.hpp @@ -30,6 +30,8 @@ PATCHAGE_RESTORE_WARNINGS #include +struct PortID; + class Patchage; class PatchagePort; @@ -57,7 +59,7 @@ public: bool show_menu(GdkEventButton* ev); void update_menu(); - PatchagePort* get_port(const std::string& name); + PatchagePort* get_port(const PortID& id); void load_location(); void menu_disconnect_all(); -- cgit v1.2.1