Add "empty" check to BasicUI
This commit is contained in:
@@ -781,6 +781,12 @@ BasicUI::locked ()
|
||||
return session->transport_locked ();
|
||||
}
|
||||
|
||||
bool
|
||||
BasicUI::session_empty () const
|
||||
{
|
||||
return session->empty ();
|
||||
}
|
||||
|
||||
ARDOUR::samplecnt_t
|
||||
BasicUI::timecode_frames_per_hour ()
|
||||
{
|
||||
|
||||
@@ -88,6 +88,8 @@ class LIBCONTROLCP_API BasicUI {
|
||||
bool locked ();
|
||||
|
||||
void save_state ();
|
||||
bool session_empty () const;
|
||||
|
||||
void prev_marker ();
|
||||
void next_marker ();
|
||||
void undo ();
|
||||
|
||||
Reference in New Issue
Block a user