projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prepare region RMS (loudness) normalization
[ardour.git]
/
libs
/
ardour
/
ardour
/
export_failed.h
diff --git
a/libs/ardour/ardour/export_failed.h
b/libs/ardour/ardour/export_failed.h
index de00fba87e165cd6e8bbf00232d0f70cfa624e75..f1fd57ab4b600735b4fa8e41bb969abac4178e7e 100644
(file)
--- a/
libs/ardour/ardour/export_failed.h
+++ b/
libs/ardour/ardour/export_failed.h
@@
-23,36
+23,26
@@
#include <exception>
#include <string>
#include <exception>
#include <string>
-#include <pbd/error.h>
-#include "i18n.h"
-
-using namespace PBD;
+#include "ardour/libardour_visibility.h"
namespace ARDOUR
{
namespace ARDOUR
{
-class ExportFailed : public std::exception
+class
LIBARDOUR_API
ExportFailed : public std::exception
{
public:
{
public:
- ExportFailed (std::string const & reason, std::string const & description) :
- reason (reason.c_str()),
- description (description.c_str())
- {
- error << string_compose (_("Export failed: %1"), reason) << endmsg;
- }
-
+ ExportFailed (std::string const &);
~ExportFailed () throw() { }
~ExportFailed () throw() { }
-
+
const char* what() const throw()
{
const char* what() const throw()
{
- return
descripti
on;
+ return
reas
on;
}
}
-
+
private:
const char * reason;
private:
const char * reason;
- const char * description;
};
};