Prevent spinlock copy construction
[ardour.git] / gtk2_ardour / session_option_editor.h
index d7b90fd233188d9e5e64609ac271a3adf8a1064a..a27ae88ad1d8c23d1ddb0cfe602ecbfb094d42a5 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef __gtk_ardour_session_option_editor_h__
+#define __gtk_ardour_session_option_editor_h__
+
 #include "option_editor.h"
 
 namespace ARDOUR {
@@ -24,13 +27,21 @@ namespace ARDOUR {
        class SessionConfiguration;
 }
 
-class SessionOptionEditor : public OptionEditor
+class SessionOptionEditor : public OptionEditorWindow
 {
 public:
        SessionOptionEditor (ARDOUR::Session* s);
 
 private:
+       void parameter_changed (std::string const &);
+
        ARDOUR::SessionConfiguration* _session_config;
-       void populate_sync_options (ARDOUR::Session*, Option*);
-       void follow_sync_state (std::string, ARDOUR::Session*, Option*);
+
+       ComboOption<float>* _vpu;
+       ComboOption<ARDOUR::SampleFormat>* _sf;
+       EntryOption* _take_name;
+
+       void save_defaults ();
 };
+
+#endif /* __gtk_ardour_session_option_editor_h__ */