#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
-#include <sigc++/signal.h>
#include <glibmm/ustring.h>
#include "pbd/uuid.h"
TimespanState (boost::shared_ptr<Location> session_range,
boost::shared_ptr<Location> selection_range,
- boost::shared_ptr<LocationList> ranges) :
- timespans (new TimespanList ()),
- time_format (Timecode),
-
- session_range (session_range),
- selection_range (selection_range),
- ranges (ranges)
+ boost::shared_ptr<LocationList> ranges)
+ : timespans (new TimespanList ())
+ , time_format (Timecode)
+ , session_range (session_range)
+ , selection_range (selection_range)
+ , ranges (ranges)
{}
};
void remove_format_profile (FormatPtr format);
FormatPtr get_new_format (FormatPtr original);
- sigc::signal<void> FormatListChanged;
+ PBD::Signal0<void> FormatListChanged;
private:
ChannelConfigStatePtr channel_config_state,
FormatStatePtr format_state,
FilenameStatePtr filename_state);
+
+ bool check_format (FormatPtr format, uint32_t channels);
+ bool check_sndfile_format (FormatPtr format, unsigned int channels);
/* Utilities */