.endClass ()
.deriveClass <Location, PBD::StatefulDestructible> ("Location")
+ .addFunction ("name", &Location::name)
.addFunction ("locked", &Location::locked)
.addFunction ("lock", &Location::lock)
.addFunction ("unlock", &Location::unlock)
.addFunction ("first_mark_after", &Locations::first_mark_after)
.addFunction ("first_mark_before", &Locations::first_mark_before)
.addFunction ("first_mark_at", &Locations::mark_at)
+ .addFunction ("remove", &Locations::remove)
.addRefFunction ("marks_either_side", &Locations::marks_either_side)
.addRefFunction ("find_all_between", &Locations::find_all_between)
.endClass ()
.addFunction ("timecode_drop_frames", &Session::timecode_drop_frames)
.addFunction ("request_locate", &Session::request_locate)
.addFunction ("request_stop", &Session::request_stop)
+ .addFunction ("request_play_loop", &Session::request_play_loop)
+ .addFunction ("get_play_loop", &Session::get_play_loop)
.addFunction ("last_transport_start", &Session::last_transport_start)
.addFunction ("goto_start", &Session::goto_start)
.addFunction ("goto_end", &Session::goto_end)
.addCFunction ("plugin_automation", ARDOUR::LuaAPI::plugin_automation)
.addCFunction ("hsla_to_rgba", ARDOUR::LuaAPI::hsla_to_rgba)
.addFunction ("usleep", Glib::usleep)
+ .addCFunction ("build_filename", ARDOUR::LuaAPI::build_filename)
.endNamespace () // end LuaAPI
.endNamespace ();// end ARDOUR
}