delete slave during Session::destroy
[ardour.git] / libs / audiographer / audiographer / exception.h
index 5583a2620bb0f82852848431f59c1e00456e755f..b5141cb4c27f44ed0bc6d6a13721af6f5145e5c0 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <boost/format.hpp>
 
+#include "audiographer/visibility.h"
 #include "audiographer/debug_utils.h"
 
 namespace AudioGrapher
@@ -14,7 +15,7 @@ namespace AudioGrapher
 /** AudioGrapher Exception class.
   * Automatically tells which class an exception was thrown from.
   */
-class Exception : public std::exception
+class LIBAUDIOGRAPHER_API Exception : public std::exception
 {
   public:
        template<typename T>
@@ -38,4 +39,4 @@ class Exception : public std::exception
 
 } // namespace AudioGrapher
 
-#endif // AUDIOGRAPHER_EXCEPTION_H
\ No newline at end of file
+#endif // AUDIOGRAPHER_EXCEPTION_H