diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-08-06 21:00:25 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-08-06 21:00:25 +0200 |
commit | 1e74c03acd39c000103b843d5acd3c0313da443a (patch) | |
tree | c603b2c2bb95b46bc129a0c28e6f87c0bd84428a /include/qpdf/QEXC.hh | |
parent | ed13d9074ef79847a10cfcfca32963c0883a2eb5 (diff) | |
download | qpdf-1e74c03acd39c000103b843d5acd3c0313da443a.tar.zst |
stick DLL_EXPORT in front of every public method of every public class
git-svn-id: svn+q:///qpdf/trunk@688 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include/qpdf/QEXC.hh')
-rw-r--r-- | include/qpdf/QEXC.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/qpdf/QEXC.hh b/include/qpdf/QEXC.hh index 314b084b..49be72a8 100644 --- a/include/qpdf/QEXC.hh +++ b/include/qpdf/QEXC.hh @@ -8,6 +8,8 @@ #ifndef __QEXC_HH__ #define __QEXC_HH__ +#include <qpdf/DLL.hh> + #include <string> #include <exception> #include <errno.h> @@ -69,13 +71,19 @@ namespace QEXC // Application/library code should not generally catch this // directly. See above for caveats. public: + DLL_EXPORT Base(); + DLL_EXPORT Base(std::string const& message); + DLL_EXPORT virtual ~Base() throw() {} + DLL_EXPORT virtual std::string const& unparse() const; + DLL_EXPORT virtual const char* what() const throw(); protected: + DLL_EXPORT void setMessage(std::string const& message); private: @@ -87,8 +95,11 @@ namespace QEXC // This is the base class for normal user/library-defined // error conditions. public: + DLL_EXPORT General(); + DLL_EXPORT General(std::string const& message); + DLL_EXPORT virtual ~General() throw() {}; }; @@ -100,15 +111,20 @@ namespace QEXC class Internal: public Base { public: + DLL_EXPORT Internal(std::string const& message); + DLL_EXPORT virtual ~Internal() throw() {}; }; class System: public General { public: + DLL_EXPORT System(std::string const& prefix, int sys_errno); + DLL_EXPORT virtual ~System() throw() {}; + DLL_EXPORT int getErrno() const; private: |