From 1e74c03acd39c000103b843d5acd3c0313da443a Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 6 Aug 2009 19:00:25 +0000 Subject: 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 --- libqpdf/QUtil.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libqpdf/QUtil.cc') 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 #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) { -- cgit v1.2.3-54-g00ecf