projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Templates: fix unintended commit from debugging
[ardour.git]
/
gtk2_ardour
/
main_clock.h
diff --git
a/gtk2_ardour/main_clock.h
b/gtk2_ardour/main_clock.h
index 696b7e21e6acc99d9e685d17c33b743bb6ef9275..28cc98850652f75f6c9e9a3802f5a0572f8635f7 100644
(file)
--- a/
gtk2_ardour/main_clock.h
+++ b/
gtk2_ardour/main_clock.h
@@
-17,6
+17,9
@@
*/
*/
+#ifndef __gtk_ardour_main_clock_h__
+#define __gtk_ardour_main_clock_h__
+
#include "audio_clock.h"
/** A simple subclass of AudioClock that adds a few things to its context menu:
#include "audio_clock.h"
/** A simple subclass of AudioClock that adds a few things to its context menu:
@@
-26,9
+29,11
@@
class MainClock : public AudioClock
{
public:
MainClock (const std::string& clock_name, const std::string& widget_name, bool primary);
{
public:
MainClock (const std::string& clock_name, const std::string& widget_name, bool primary);
+ framepos_t absolute_time () const;
+ void set_session (ARDOUR::Session *s);
private:
private:
-
+
// Editor *_editor;
void build_ops_menu ();
// Editor *_editor;
void build_ops_menu ();
@@
-37,8
+42,7
@@
private:
void edit_current_meter ();
void insert_new_tempo ();
void insert_new_meter ();
void edit_current_meter ();
void insert_new_tempo ();
void insert_new_meter ();
- framepos_t absolute_time () const;
bool _primary;
bool _primary;
-
- bool on_button_press_event (GdkEventButton *ev);
};
};
+
+#endif // __gtk_ardour_main_clock_h__