Update of /cvsroot/pclasses/pclasses2/include/pclasses/Util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28319/include/pclasses/Util
Modified Files:
StringTool.h
Log Message:
- Fixed export macros
- Fixed StringDevice
Index: StringTool.h
===================================================================
RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Util/StringTool.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- StringTool.h 10 Jan 2005 12:58:05 -0000 1.7
+++ StringTool.h 26 Apr 2005 12:19:56 -0000 1.8
@@ -3,6 +3,8 @@
#include <string>
#include <map>
+
+#include <pclasses/Export.h>
#include <pclasses/Phoenix.h>
#include <pclasses/Util/LexT.h>
@@ -354,31 +356,31 @@
//! Strip leading white-speaces
-void trimLeft(std::string& str);
+PUTIL_EXPORT void trimLeft(std::string& str);
//! Strip trailing white-spaces
-void trimRight(std::string& str);
+PUTIL_EXPORT void trimRight(std::string& str);
//! Strip leading and trailing white-spaces
-void trim(std::string& str);
+PUTIL_EXPORT void trim(std::string& str);
//! Returns the string converted to uppercase letters
-std::string upperCase(const std::string& str);
+PUTIL_EXPORT std::string upperCase(const std::string& str);
//! Returns the string converted to uppercase letters
/*!
Uses the given locale to do the conversion.
*/
-std::string upperCase(const std::string& str, const std::locale& loc);
+PUTIL_EXPORT std::string upperCase(const std::string& str, const std::locale& loc);
//! Returns the string converted to lowercase letters
-std::string lowerCase(const std::string& str);
+PUTIL_EXPORT std::string lowerCase(const std::string& str);
//! Returns the string converted to lowercase letters
/*!
Uses the given locale to do the conversion.
*/
-std::string lowerCase(const std::string& str, const std::locale& loc);
+PUTIL_EXPORT std::string lowerCase(const std::string& str, const std::locale& loc);
}} // namespace P::StringTool
|