projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
position+width panning improvements (reverse width now works); relabel pan automation...
[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 f6ea1c13230de472ecebfddccedbcf7067c548f7..16687826b169689317f6fd8a69342156f7876dcb 100644
(file)
--- a/
libs/ardour/ardour/export_failed.h
+++ b/
libs/ardour/ardour/export_failed.h
@@
-23,11
+23,6
@@
#include <exception>
#include <string>
#include <exception>
#include <string>
-#include "pbd/error.h"
-
-#include "i18n.h"
-
-using namespace PBD;
namespace ARDOUR
{
namespace ARDOUR
{
@@
-35,19
+30,14
@@
namespace ARDOUR
class ExportFailed : public std::exception
{
public:
class 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() { }
~ExportFailed () throw() { }
-
+
const char* what() const throw()
{
return reason;
}
const char* what() const throw()
{
return reason;
}
-
+
private:
const char * reason;
private:
const char * reason;