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