#ifndef __ardour_source_factory_h__ #define __ardour_source_factory_h__ #include #include #include #include #include #include class XMLNode; namespace ARDOUR { class SourceFactory { public: static sigc::signal > SourceCreated; static boost::shared_ptr create (const XMLNode& node); static boost::shared_ptr createReadable (DataType type, std::string idstr, AudioFileSource::Flag flags, bool announce = true); static boost::shared_ptr createWritable (DataType type, std::string name, bool destructive, jack_nframes_t rate, bool announce = true); }; } #endif /* __ardour_source_factory_h__ */