aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/ns/ext/osc/osc-print.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-21 01:36:00 +0000
committerDavid Robillard <d@drobilla.net>2011-11-21 01:36:00 +0000
commiteb43c8896480114b224755e824fae2e2f7485256 (patch)
tree26e91bd8dc6421d2296a33991e90f7dcb546b079 /lv2/ns/ext/osc/osc-print.h
parentdf79255ccef7fb5d091e9d4e52f3c46545b53282 (diff)
downloadlv2-eb43c8896480114b224755e824fae2e2f7485256.tar.xz
Move ns to lv2/ns so repository top level can be used as an include dir directly.
Diffstat (limited to 'lv2/ns/ext/osc/osc-print.h')
-rw-r--r--lv2/ns/ext/osc/osc-print.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/lv2/ns/ext/osc/osc-print.h b/lv2/ns/ext/osc/osc-print.h
new file mode 100644
index 0000000..ceebbf7
--- /dev/null
+++ b/lv2/ns/ext/osc/osc-print.h
@@ -0,0 +1,42 @@
+/* LV2 OSC Messages Extension - Pretty printing methods
+ * Copyright (C) 2007-2009 David Robillard
+ *
+ * This program 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.
+ *
+ * This program 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 more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/** @file
+ * Helper functions for printing LV2 OSC messages as defined by the
+ * LV2 OSC extension <http://lv2plug.in/ns/ext/osc>.
+ */
+
+#ifndef LV2_OSC_PRINT_H
+#define LV2_OSC_PRINT_H
+
+#include "lv2/lv2plug.in/ns/ext/osc/osc.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void
+lv2_osc_argument_print(char type, const LV2_OSC_Argument* arg);
+
+void
+lv2_osc_message_print(const LV2_OSC_Event* msg);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* LV2_OSC_PRINT_H */