diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-14 14:37:29 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-14 14:37:29 +0000 |
commit | b7f645cbe633cf1235c5bc28df7f93254b3a15f0 (patch) | |
tree | 5adb034513addd8f16e6a4d62d9fe091791fb1d1 | |
parent | f21094937a2ae7dae7929de3ed883d93ed12b66b (diff) |
add missing file; remove another VST debug hack
git-svn-id: svn://localhost/ardour2/trunk@1211 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/ardour/playlist_factory.h | 25 | ||||
-rw-r--r-- | libs/fst/fstinfofile.c | 2 |
2 files changed, 25 insertions, 2 deletions
diff --git a/libs/ardour/ardour/playlist_factory.h b/libs/ardour/ardour/playlist_factory.h new file mode 100644 index 0000000000..dcf9ab62d6 --- /dev/null +++ b/libs/ardour/ardour/playlist_factory.h @@ -0,0 +1,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__ */ diff --git a/libs/fst/fstinfofile.c b/libs/fst/fstinfofile.c index 043e4348a7..7b0c69d015 100644 --- a/libs/fst/fstinfofile.c +++ b/libs/fst/fstinfofile.c @@ -227,8 +227,6 @@ FSTInfo *fst_get_info( char *dllpath ) { FSTInfo *info; char *fstpath; - fprintf (stderr, "no valid FST file, direct load plugin\n"); - if( !(h = fst_load( dllpath )) ) { return NULL; } |