Prevent endless read of silent files
[ardour.git] / gtk2_ardour / export_timespan_selector.h
index af56cc1b818ebf9503f02f12845ad86a1ee0b2fb..1f7a5ae9c2c673bff790408581d755fcd40853f1 100644 (file)
 #undef interface
 #endif
 
-#include <gtkmm.h>
 #include <boost/shared_ptr.hpp>
 
+#include <gtkmm/box.h>
+#include <gtkmm/checkbutton.h>
+#include <gtkmm/combobox.h>
+#include <gtkmm/label.h>
+#include <gtkmm/liststore.h>
+#include <gtkmm/scrolledwindow.h>
+#include <gtkmm/treemodel.h>
+#include <gtkmm/treestore.h>
+#include <gtkmm/treeview.h>
 
 #include "ardour/types.h"
 #include "ardour/session_handle.h"
@@ -44,7 +52,7 @@ namespace ARDOUR {
 }
 
 using ARDOUR::CDMarkerFormat;
-using ARDOUR::framecnt_t;
+using ARDOUR::samplecnt_t;
 
 /// Timespan Selector base
 class ExportTimespanSelector : public Gtk::VBox, public ARDOUR::SessionHandlePtr
@@ -86,9 +94,9 @@ protected:
 
        std::string construct_label (ARDOUR::Location const * location) const;
        std::string construct_length (ARDOUR::Location const * location) const;
-       std::string bbt_str (framepos_t frames) const;
-       std::string timecode_str (framecnt_t frames) const;
-       std::string ms_str (framecnt_t frames) const;
+       std::string bbt_str (samplepos_t samples) const;
+       std::string timecode_str (samplecnt_t samples) const;
+       std::string ms_str (samplecnt_t samples) const;
 
        void update_range_name (std::string const & path, std::string const & new_text);