summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-28 15:58:38 +0100
committerDavid Robillard <d@drobilla.net>2020-11-28 17:39:10 +0100
commit0f8bd14d3487c35280c33bbfd133dd9e37c8f07e (patch)
tree701cac49a1e6e34025a8352e53845859566106b3 /src/PatchageModule.hpp
parenta872f8b07498c85f0f2eb8b55462ac9df9ce4677 (diff)
downloadpatchage-0f8bd14d3487c35280c33bbfd133dd9e37c8f07e.tar.gz
patchage-0f8bd14d3487c35280c33bbfd133dd9e37c8f07e.tar.bz2
patchage-0f8bd14d3487c35280c33bbfd133dd9e37c8f07e.zip
Index clients and ports by ID
Diffstat (limited to 'src/PatchageModule.hpp')
-rw-r--r--src/PatchageModule.hpp4
1 files changed, 3 insertions, 1 deletions
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 <string>
+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();