summaryrefslogtreecommitdiffstats
path: root/src/Coord.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-10 17:23:17 -0400
committerDavid Robillard <d@drobilla.net>2021-05-11 13:30:55 -0400
commit5a3ee2b3358e147aeb0cabced90991a5ae3b5870 (patch)
tree78de1106cba6a30d686ed4ff46978551f4421f86 /src/Coord.hpp
parente3f6f09981d7862ca34c98f45b3caadf29abee15 (diff)
downloadpatchage-5a3ee2b3358e147aeb0cabced90991a5ae3b5870.tar.gz
patchage-5a3ee2b3358e147aeb0cabced90991a5ae3b5870.tar.bz2
patchage-5a3ee2b3358e147aeb0cabced90991a5ae3b5870.zip
Move Coord to its own header
Diffstat (limited to 'src/Coord.hpp')
-rw-r--r--src/Coord.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Coord.hpp b/src/Coord.hpp
new file mode 100644
index 0000000..f77bc40
--- /dev/null
+++ b/src/Coord.hpp
@@ -0,0 +1,29 @@
+/* This file is part of Patchage.
+ * Copyright 2007-2021 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_COORD_HPP
+#define PATCHAGE_COORD_HPP
+
+namespace patchage {
+
+struct Coord {
+ double x{0.0};
+ double y{0.0};
+};
+
+} // namespace patchage
+
+#endif // PATCHAGE_COORD_HPP