diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-09-07 16:38:44 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-09-07 16:38:44 +0200 |
commit | 26310b6ff3b4cb92cc9bb462536a9c5235fc3389 (patch) | |
tree | eb7cb931ba1c512b217ae138eafb4776a9c614e2 /include/util | |
parent | 4cb96d5377df049bd49bb6c0a109d89fcbd015ff (diff) | |
download | crawler-26310b6ff3b4cb92cc9bb462536a9c5235fc3389.tar.gz crawler-26310b6ff3b4cb92cc9bb462536a9c5235fc3389.tar.bz2 |
added a libutil for porting stuff and helpers
Diffstat (limited to 'include/util')
-rwxr-xr-x | include/util/win32/errormsg.hpp | 10 | ||||
-rwxr-xr-x | include/util/win32/stringutils.hpp | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/util/win32/errormsg.hpp b/include/util/win32/errormsg.hpp new file mode 100755 index 0000000..f1ceb93 --- /dev/null +++ b/include/util/win32/errormsg.hpp @@ -0,0 +1,10 @@ +#ifndef __ERRORMSG_H +#define __ERRORMSG_H + +#include <string> + +#include "CrawlerExportable.hpp" + +CRAWLER_DLL_VISIBLE std::string getLastError( ); + +#endif diff --git a/include/util/win32/stringutils.hpp b/include/util/win32/stringutils.hpp new file mode 100755 index 0000000..b0404cd --- /dev/null +++ b/include/util/win32/stringutils.hpp @@ -0,0 +1,10 @@ +#ifndef __STRINGUTILS_H +#define __STRINGUTILS_H + +#include <string> + +#include "CrawlerExportable.hpp" + +CRAWLER_DLL_VISIBLE std::wstring s2ws( const std::string &s ); + +#endif |