Added lua binding for editor:add_location_mark

This commit is contained in:
davidhealey 2020-05-17 00:05:52 +01:00
parent f2cf60900b
commit cac312bb6d
2 changed files with 2 additions and 0 deletions

View File

@ -918,6 +918,7 @@ LuaInstance::register_classes (lua_State* L)
.addFunction ("add_location_from_playhead_cursor", &PublicEditor::add_location_from_playhead_cursor)
.addFunction ("remove_location_at_playhead_cursor", &PublicEditor::remove_location_at_playhead_cursor)
.addFunction ("add_location_mark", &PublicEditor::add_location_mark)
.addFunction ("update_grid", &PublicEditor::update_grid)
.addFunction ("remove_tracks", &PublicEditor::remove_tracks)

View File

@ -228,6 +228,7 @@ public:
virtual void trigger_script (int nth) = 0;
virtual void add_location_from_playhead_cursor () = 0;
virtual void remove_location_at_playhead_cursor () = 0;
virtual void add_location_mark (samplepos_t where) = 0;
virtual void update_grid () = 0;
virtual void remove_tracks () = 0;
virtual void set_loop_range (samplepos_t start, samplepos_t end, std::string cmd) = 0;