]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/except.h
Add decorations for things which are considered part of the API
[libs/core.git] / source / core / except.h
index 65d9ef9d88b398fe2579a0d15ba11d8a2f4bfcbc..1673ff46a4c528764988bb7520cf0a5a9f0ef6d8 100644 (file)
@@ -2,31 +2,32 @@
 #define MSP_CORE_EXCEPT_H_
 
 #include <stdexcept>
+#include "mspcore_api.h"
 
 namespace Msp {
 
-class invalid_state: public std::logic_error
+class MSPCORE_API invalid_state: public std::logic_error
 {
 public:
        invalid_state(const std::string &w): logic_error(w) { }
 };
 
 
-class already_called: public invalid_state
+class MSPCORE_API already_called: public invalid_state
 {
 public:
        already_called(const std::string &w): invalid_state(w) { }
 };
 
 
-class unsupported: public std::logic_error
+class MSPCORE_API unsupported: public std::logic_error
 {
 public:
        unsupported(const std::string &w): logic_error(w) { }
 };
 
 
-class internal_error: public std::logic_error
+class MSPCORE_API internal_error: public std::logic_error
 {
 public:
        internal_error(const std::string &w): logic_error(w) { }