1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-03 23:47:12 +02:00

Update POCO to 1.11.0

This commit is contained in:
Sandu Liviu Catalin
2021-08-22 18:07:06 +03:00
parent 151077c799
commit 7a3d92d1d1
450 changed files with 25219 additions and 6528 deletions

View File

@ -118,6 +118,12 @@ public:
PRIO_SYSTEM = 100
};
struct WindowSize
{
int width;
int height;
};
Application();
/// Creates the Application.
@ -294,6 +300,15 @@ public:
/// help information has been encountered and no other things
/// besides displaying help shall be done.
static WindowSize windowSize();
/// Returns the current window size of the console window,
/// if available.
///
/// Currently implemented for POSIX platforms (via TIOCGWINSZ ioctl())
/// and Windows (GetConsoleScreenBufferInfo()).
///
/// Returns zero width and height if the window size cannot be determined.
const char* name() const;
protected:
@ -489,7 +504,7 @@ inline Poco::Timespan Application::uptime() const
//
// Macro to implement main()
//
#if defined(_WIN32)
#if defined(_WIN32)
#define POCO_APP_MAIN(App) \
int wmain(int argc, wchar_t** argv) \
{ \