summaryrefslogtreecommitdiffstats
path: root/src/ClientType.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-28 15:15:29 +0100
committerDavid Robillard <d@drobilla.net>2020-11-28 15:15:29 +0100
commita872f8b07498c85f0f2eb8b55462ac9df9ce4677 (patch)
tree2401369149a54d459eaf2644a83a821b65281ad9 /src/ClientType.hpp
parent62b19ed3c43ceb3a88944b892a24686ca0b7b036 (diff)
downloadpatchage-a872f8b07498c85f0f2eb8b55462ac9df9ce4677.tar.gz
patchage-a872f8b07498c85f0f2eb8b55462ac9df9ce4677.tar.bz2
patchage-a872f8b07498c85f0f2eb8b55462ac9df9ce4677.zip
Factor out ClientType
Diffstat (limited to 'src/ClientType.hpp')
-rw-r--r--src/ClientType.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ClientType.hpp b/src/ClientType.hpp
new file mode 100644
index 0000000..622b3d8
--- /dev/null
+++ b/src/ClientType.hpp
@@ -0,0 +1,27 @@
+/* This file is part of Patchage.
+ * Copyright 2020 David Robillard <d@drobilla.net>
+ *
+ * Patchage is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+ *
+ * Patchage is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Patchage. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef PATCHAGE_CLIENTTYPE_HPP
+#define PATCHAGE_CLIENTTYPE_HPP
+
+/// A type of client (program) with supported ports
+enum class ClientType
+{
+ jack,
+ alsa,
+};
+
+#endif // PATCHAGE_CLIENTTYPE_HPP