summaryrefslogtreecommitdiffstats
path: root/src/PortType.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-28 18:08:42 +0100
committerDavid Robillard <d@drobilla.net>2020-11-28 21:09:38 +0100
commit042a3d2004d47e7d4c5b11d26e23b70c1c716aac (patch)
treef2dc52c2320db13f1eebcc4e2d6371ce379cdf8e /src/PortType.hpp
parenta22750e70aec9d5109dde2d4cb647f7f1e736f95 (diff)
downloadpatchage-042a3d2004d47e7d4c5b11d26e23b70c1c716aac.tar.gz
patchage-042a3d2004d47e7d4c5b11d26e23b70c1c716aac.tar.bz2
patchage-042a3d2004d47e7d4c5b11d26e23b70c1c716aac.zip
Move PortType to its own header
Diffstat (limited to 'src/PortType.hpp')
-rw-r--r--src/PortType.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/PortType.hpp b/src/PortType.hpp
new file mode 100644
index 0000000..498564e
--- /dev/null
+++ b/src/PortType.hpp
@@ -0,0 +1,29 @@
+/* This file is part of Patchage.
+ * Copyright 2007-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_PORTTYPE_HPP
+#define PATCHAGE_PORTTYPE_HPP
+
+enum class PortType
+{
+ jack_audio,
+ jack_midi,
+ alsa_midi,
+ jack_osc,
+ jack_cv,
+};
+
+#endif // PATCHAGE_PORTTYPE_HPP