Remove most using declarations from header files.
[ardour.git] / libs / ardour / ardour / export_profile_manager.h
index d2f1c162e079007e40865b24932743900b44f0fd..bf261cad4655ec1365064e802adfafc75bf5ba7c 100644 (file)
@@ -24,7 +24,6 @@
 #include <list>
 #include <vector>
 #include <map>
-#include <set>
 #include <stdexcept>
 
 #include <boost/shared_ptr.hpp>
 #include <sigc++/signal.h>
 #include <glibmm/ustring.h>
 
-#include <pbd/uuid.h>
-#include <pbd/file_utils.h>
-#include <pbd/xml++.h>
+#include "pbd/uuid.h"
+#include "pbd/file_utils.h"
+#include "pbd/xml++.h"
 
-#include <ardour/filesystem_paths.h>
-#include <ardour/location.h>
-#include <ardour/types.h>
-
-using std::string;
-using std::list;
-using std::set;
+#include "ardour/filesystem_paths.h"
+#include "ardour/location.h"
+#include "ardour/types.h"
 
 namespace ARDOUR
 {
@@ -72,7 +67,7 @@ class ExportProfileManager
        
        PresetList const & get_presets () { return preset_list; }
        bool load_preset (PresetPtr preset);
-       PresetPtr save_preset (string const & name);
+       PresetPtr save_preset (std::string const & name);
        void remove_preset ();
 
   private:
@@ -144,6 +139,7 @@ class ExportProfileManager
        typedef std::list<TimespanStatePtr> TimespanStateList;
        
        void set_selection_range (nframes_t start = 0, nframes_t end = 0);
+       std::string set_single_range (nframes_t start, nframes_t end, Glib::ustring name);
        TimespanStateList const & get_timespans () { return check_list (timespans); }
        
   private:
@@ -162,6 +158,9 @@ class ExportProfileManager
        boost::shared_ptr<Location>     session_range;
        boost::shared_ptr<Location>     selection_range;
        boost::shared_ptr<LocationList> ranges;
+       
+       bool                            single_range_mode;
+       boost::shared_ptr<Location>     single_range;
 
 /* Channel Configs */
   public: