mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
Put BasicUI in namespace ARDOUR
This commit is contained in:
parent
1a5ffc4c8b
commit
de345dd790
3 changed files with 15 additions and 13 deletions
|
|
@ -34,12 +34,12 @@
|
|||
#include <string>
|
||||
|
||||
namespace ARDOUR {
|
||||
class Session;
|
||||
}
|
||||
|
||||
class Session;
|
||||
|
||||
class LIBCONTROLCP_API BasicUI {
|
||||
public:
|
||||
BasicUI (ARDOUR::Session&);
|
||||
BasicUI (Session&);
|
||||
virtual ~BasicUI ();
|
||||
|
||||
void add_marker (const std::string& = std::string());
|
||||
|
|
@ -66,13 +66,13 @@ class LIBCONTROLCP_API BasicUI {
|
|||
double get_transport_speed () const;
|
||||
double transport_rolling () const;
|
||||
|
||||
void jump_by_seconds (double sec, ARDOUR::LocateTransportDisposition ltd = ARDOUR::RollIfAppropriate);
|
||||
void jump_by_bars (int bars, ARDOUR::LocateTransportDisposition ltd = ARDOUR::RollIfAppropriate);
|
||||
void jump_by_beats (int beats, ARDOUR::LocateTransportDisposition ltd = ARDOUR::RollIfAppropriate);
|
||||
void jump_by_seconds (double sec, LocateTransportDisposition ltd = RollIfAppropriate);
|
||||
void jump_by_bars (int bars, LocateTransportDisposition ltd = RollIfAppropriate);
|
||||
void jump_by_beats (int beats, LocateTransportDisposition ltd = RollIfAppropriate);
|
||||
|
||||
ARDOUR::samplepos_t transport_sample ();
|
||||
void locate (ARDOUR::samplepos_t sample, ARDOUR::LocateTransportDisposition ltd);
|
||||
void locate (ARDOUR::samplepos_t sample, bool);
|
||||
samplepos_t transport_sample ();
|
||||
void locate (samplepos_t sample, LocateTransportDisposition ltd);
|
||||
void locate (samplepos_t sample, bool);
|
||||
bool locating ();
|
||||
bool locked ();
|
||||
|
||||
|
|
@ -142,7 +142,7 @@ class LIBCONTROLCP_API BasicUI {
|
|||
|
||||
void goto_nth_marker (int n);
|
||||
|
||||
ARDOUR::samplecnt_t timecode_frames_per_hour ();
|
||||
samplecnt_t timecode_frames_per_hour ();
|
||||
|
||||
void timecode_time (samplepos_t where, Timecode::Time&);
|
||||
void timecode_to_sample (Timecode::Time& timecode, samplepos_t & sample, bool use_offset, bool use_subframes) const;
|
||||
|
|
@ -155,7 +155,9 @@ class LIBCONTROLCP_API BasicUI {
|
|||
bool loop_button_onoff() const;
|
||||
|
||||
protected:
|
||||
ARDOUR::Session* _session;
|
||||
Session* _session;
|
||||
};
|
||||
|
||||
} // namespace ARDOUR
|
||||
|
||||
#endif /* __ardour_basic_ui_h__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue