#include <exception>
#include <string>
-#include "pbd/error.h"
-#include "i18n.h"
+#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())
- {
- PBD::error << string_compose (_("Export failed: %1"), reason) << endmsg;
- }
-
+ ExportFailed (std::string const &);
~ExportFailed () throw() { }
const char* what() const throw()