Experimental patch to ensure playback buffer bounds use minimal beat->frame rounding.
[ardour.git] / libs / ardour / ardour / export_failed.h
index 1b375f3cb82f5c5856cc03594be13942489e56ed..f1fd57ab4b600735b4fa8e41bb969abac4178e7e 100644 (file)
 
 #include <exception>
 #include <string>
-#include <pbd/error.h>
 
-#include "i18n.h"
-
-using namespace PBD;
+#include "ardour/libardour_visibility.h"
 
 namespace ARDOUR
 {
 
-class ExportFailed : public std::exception
+class LIBARDOUR_API ExportFailed : public std::exception
 {
   public:
-       ExportFailed (std::string const & reason) :
-         reason (reason.c_str())
-       {
-               error << string_compose (_("Export failed: %1"), reason) << endmsg;
-       }
-       
+       ExportFailed (std::string const &);
        ~ExportFailed () throw() { }
-       
+
        const char* what() const throw()
        {
                return reason;
        }
-       
+
   private:
 
        const char * reason;