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 /libqpdf/QUtil.cc | |
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 'libqpdf/QUtil.cc')
-rw-r--r-- | libqpdf/QUtil.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libqpdf/QUtil.cc b/libqpdf/QUtil.cc index a000d82e..0d0b4667 100644 --- a/libqpdf/QUtil.cc +++ b/libqpdf/QUtil.cc @@ -14,6 +14,7 @@ #include <unistd.h> #endif +DLL_EXPORT std::string QUtil::int_to_string(int num, int fullpad) { @@ -41,6 +42,7 @@ QUtil::int_to_string(int num, int fullpad) return std::string(t); } +DLL_EXPORT std::string QUtil::double_to_string(double num, int decimal_places) { @@ -76,6 +78,7 @@ QUtil::double_to_string(double num, int decimal_places) return std::string(t); } +DLL_EXPORT int QUtil::os_wrapper(std::string const& description, int status) throw (QEXC::System) { @@ -86,6 +89,7 @@ QUtil::os_wrapper(std::string const& description, int status) throw (QEXC::Syste return status; } +DLL_EXPORT FILE* QUtil::fopen_wrapper(std::string const& description, FILE* f) throw (QEXC::System) { @@ -96,6 +100,7 @@ QUtil::fopen_wrapper(std::string const& description, FILE* f) throw (QEXC::Syste return f; } +DLL_EXPORT char* QUtil::copy_string(std::string const& str) { @@ -106,6 +111,7 @@ QUtil::copy_string(std::string const& str) return result; } +DLL_EXPORT void QUtil::binary_stdout() { @@ -114,6 +120,7 @@ QUtil::binary_stdout() #endif } +DLL_EXPORT void QUtil::binary_stdin() { @@ -122,6 +129,7 @@ QUtil::binary_stdin() #endif } +DLL_EXPORT char* QUtil::getWhoami(char* argv0) { @@ -149,6 +157,7 @@ QUtil::getWhoami(char* argv0) return whoami; } +DLL_EXPORT bool QUtil::get_env(std::string const& var, std::string* value) { @@ -186,6 +195,7 @@ QUtil::get_env(std::string const& var, std::string* value) #endif } +DLL_EXPORT time_t QUtil::get_current_time() { @@ -212,6 +222,7 @@ QUtil::get_current_time() #endif } +DLL_EXPORT std::string QUtil::toUTF8(unsigned long uval) { |