summaryrefslogtreecommitdiffstats
path: root/src/PortID.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PortID.hpp')
-rw-r--r--src/PortID.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/PortID.hpp b/src/PortID.hpp
index a0f1bb9..4887a27 100644
--- a/src/PortID.hpp
+++ b/src/PortID.hpp
@@ -17,6 +17,8 @@
#ifndef PATCHAGE_PORTID_HPP
#define PATCHAGE_PORTID_HPP
+#include "ClientType.hpp"
+
#include <cassert>
#include <iostream>
#include <string>
@@ -26,11 +28,7 @@
/// An ID for some port on a client (program)
struct PortID
{
- enum class Type
- {
- jack,
- alsa,
- };
+ using Type = ClientType;
PortID(const PortID& copy) = default;
PortID& operator=(const PortID& copy) = default;