13
0

Lua: bindings for do_import()

This commit is contained in:
Robin Gareus 2017-01-21 20:08:12 +01:00
parent 6f7f527e1d
commit fff324ef7b

View File

@ -672,6 +672,7 @@ LuaBindings::common (lua_State* L)
.endClass ()
.beginWSPtrClass <PluginInfo> ("PluginInfo")
.addNilPtrConstructor ()
.addData ("name", &PluginInfo::name, false)
.addData ("category", &PluginInfo::category, false)
.addData ("creator", &PluginInfo::creator, false)
@ -1618,6 +1619,17 @@ LuaBindings::common (lua_State* L)
.addConst ("SharePlaylist", ARDOUR::PlaylistDisposition(SharePlaylist))
.endNamespace ()
.beginNamespace ("MidiTrackNameSource")
.addConst ("SMFTrackNumber", ARDOUR::MidiTrackNameSource(SMFTrackNumber))
.addConst ("SMFTrackName", ARDOUR::MidiTrackNameSource(SMFTrackName))
.addConst ("SMFInstrumentName", ARDOUR::MidiTrackNameSource(SMFInstrumentName))
.endNamespace ()
.beginNamespace ("MidiTempoMapDisposition")
.addConst ("SMFTempoIgnore", ARDOUR::MidiTrackNameSource(SMFTempoIgnore))
.addConst ("SMFTempoUse", ARDOUR::MidiTrackNameSource(SMFTempoUse))
.endNamespace ()
.beginNamespace ("RegionPoint")
.addConst ("Start", ARDOUR::RegionPoint(Start))
.addConst ("End", ARDOUR::RegionPoint(End))