aboutsummaryrefslogtreecommitdiffstats
path: root/ns/ext/osc/osc-print.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-20 23:08:57 +0000
committerDavid Robillard <d@drobilla.net>2011-11-20 23:08:57 +0000
commit725d4a404b838da6b67d9da66228a1125bddef57 (patch)
treea1daab3d767c85b1b67ff3a9eb60d54721b2e5fc /ns/ext/osc/osc-print.h
parent5ae0165d6d0420e95e22c1451e319b9e83398c28 (diff)
downloadlv2-725d4a404b838da6b67d9da66228a1125bddef57.tar.xz
Lay out repository structure to match include and URI structure.
Treat lv2core like all the other specifications in gendoc.py.
Diffstat (limited to 'ns/ext/osc/osc-print.h')
-rw-r--r--ns/ext/osc/osc-print.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/ns/ext/osc/osc-print.h b/ns/ext/osc/osc-print.h
new file mode 100644
index 0000000..ceebbf7
--- /dev/null
+++ b/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 */