Merge branch 'master' into cairocanvas
[ardour.git] / libs / ardour / ardour / file_source.h
index 52dca18feb4505741fcfe6f77038fb6d6691fb96..34e84c242811f8b1162a2e0c06673254ae21e497 100644 (file)
@@ -28,7 +28,7 @@
 
 namespace ARDOUR {
 
-class MissingSource : public std::exception
+class LIBARDOUR_API MissingSource : public std::exception
 {
   public:
        MissingSource (const std::string& p, DataType t) throw ()
@@ -42,7 +42,7 @@ class MissingSource : public std::exception
 };
 
 /** A source associated with a file on disk somewhere */
-class FileSource : virtual public Source {
+class LIBARDOUR_API FileSource : virtual public Source {
 public:
        virtual ~FileSource () {}
 
@@ -74,6 +74,7 @@ public:
 
        void inc_use_count ();
        bool removable () const;
+        bool is_stub () const;
 
        const std::string& origin() const { return _origin; }