a6ab53689384afd347a5fe4db04fa4778813dd55
[ardour.git] / libs / ardour / ardour / basic_ui.h
1 #ifndef __ardour_basic_ui_h__
2 #define __ardour_basic_ui_h__
3
4 namespace ARDOUR {
5         class Session;
6 }
7
8 class BasicUI {
9   public:
10         BasicUI (ARDOUR::Session&);
11         virtual ~BasicUI ();
12         
13         void add_marker ();
14
15         /* transport control */
16
17         void loop_toggle ();
18         void goto_start ();
19         void goto_end ();
20         void rewind ();
21         void ffwd ();
22         void transport_stop ();
23         void transport_play ();
24         void set_transport_speed (float speed);
25         float get_transport_speed (float speed);
26
27         void save_state ();
28         void prev_marker ();
29         void next_marker ();
30         void undo ();
31         void redo ();
32         void toggle_punch_in ();
33         void toggle_punch_out ();
34
35         void rec_enable_toggle ();
36         void toggle_all_rec_enables ();
37
38   protected:
39         BasicUI ();
40         ARDOUR::Session* session;
41 };
42
43 #endif /* __ardour_basic_ui_h__ */