* Don't leak <windows.h> (Poco/Unwindows.h) to library users

This commit is contained in:
Rangel Reale
2015-12-10 13:16:02 -02:00
parent 08a9214f2c
commit b47f38fc33
10 changed files with 157 additions and 119 deletions

View File

@@ -33,10 +33,10 @@ class Foundation_API Error
public:
#ifdef POCO_OS_FAMILY_WINDOWS
static DWORD last();
static Poco::UInt32 last();
/// Utility function returning the last error.
static std::string getMessage(DWORD errorCode);
static std::string getMessage(Poco::UInt32 errorCode);
/// Utility function translating numeric error code to string.
#else
static int last();