summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/playlist_factory.h
blob: dcf9ab62d633effe7214ea7d9a851e043a4bedab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __ardour_playlist_factory_h__
#define __ardour_playlist_factory_h__

#include <ardour/playlist.h>

class XMLNode;

namespace ARDOUR {

class Session;

class PlaylistFactory {

  public:
	static sigc::signal<void,boost::shared_ptr<Playlist> > PlaylistCreated;

	static boost::shared_ptr<Playlist> create (Session&, const XMLNode&, bool hidden = false);
	static boost::shared_ptr<Playlist> create (Session&, string name, bool hidden = false);
	static boost::shared_ptr<Playlist> create (boost::shared_ptr<const Playlist>, string name, bool hidden = false);
	static boost::shared_ptr<Playlist> create (boost::shared_ptr<const Playlist>, nframes_t start, nframes_t cnt, string name, bool hidden = false);
};

}

#endif /* __ardour_playlist_factory_h__  */