summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/lua_api.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-03-18 22:52:19 +0100
committerRobin Gareus <robin@gareus.org>2016-03-18 22:52:19 +0100
commit79ea6c82487c47c377abff59ab8625f23b3b7809 (patch)
tree7e48a6c1c30ad9e39ce9346be8ca9ed036bd2871 /libs/ardour/ardour/lua_api.h
parente4a4ef9a6bb49c956b2f4371df19e8c027ec9918 (diff)
start a dedicated ARDOUR lua function collection
Diffstat (limited to 'libs/ardour/ardour/lua_api.h')
-rw-r--r--libs/ardour/ardour/lua_api.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/ardour/ardour/lua_api.h b/libs/ardour/ardour/lua_api.h
new file mode 100644
index 0000000000..c69469f184
--- /dev/null
+++ b/libs/ardour/ardour/lua_api.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2016 Robin Gareus <robin@gareus.org>
+ *
+ * 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 2
+ * 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+#ifndef _ardour_lua_api_h_
+#define _ardour_lua_api_h_
+
+#include <string>
+#include <boost/shared_ptr.hpp>
+
+#include "ardour/libardour_visibility.h"
+
+#include "ardour/processor.h"
+#include "ardour/session.h"
+
+namespace ARDOUR { namespace LuaAPI {
+
+ boost::shared_ptr<ARDOUR::Processor> new_luaproc (ARDOUR::Session *s, const std::string&);
+
+} } /* namespace */
+
+#endif // _ardour_lua_api_h_