mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
This commit is contained in:
@@ -33,8 +33,7 @@ class Foundation_API WindowsConsoleChannel: public Channel
|
||||
/// Only the message's text is written, followed
|
||||
/// by a newline.
|
||||
///
|
||||
/// If POCO has been compiled with POCO_WIN32_UTF8,
|
||||
/// log messages are assumed to be UTF-8 encoded, and
|
||||
/// Log messages are assumed to be UTF-8 encoded, and
|
||||
/// are converted to UTF-16 prior to writing them to the
|
||||
/// console. This is the main difference to the ConsoleChannel
|
||||
/// class, which cannot handle UTF-8 encoded messages on Windows.
|
||||
@@ -46,6 +45,8 @@ class Foundation_API WindowsConsoleChannel: public Channel
|
||||
/// Only available on Windows platforms.
|
||||
{
|
||||
public:
|
||||
using Ptr = AutoPtr<WindowsConsoleChannel>;
|
||||
|
||||
WindowsConsoleChannel();
|
||||
/// Creates the WindowsConsoleChannel.
|
||||
|
||||
@@ -67,8 +68,7 @@ class Foundation_API WindowsColorConsoleChannel: public Channel
|
||||
/// Only the message's text is written, followed
|
||||
/// by a newline.
|
||||
///
|
||||
/// If POCO has been compiled with POCO_WIN32_UTF8,
|
||||
/// log messages are assumed to be UTF-8 encoded, and
|
||||
/// Log messages are assumed to be UTF-8 encoded, and
|
||||
/// are converted to UTF-16 prior to writing them to the
|
||||
/// console. This is the main difference to the ConsoleChannel
|
||||
/// class, which cannot handle UTF-8 encoded messages on Windows.
|
||||
@@ -116,6 +116,8 @@ class Foundation_API WindowsColorConsoleChannel: public Channel
|
||||
/// Only available on Windows platforms.
|
||||
{
|
||||
public:
|
||||
using Ptr = AutoPtr<WindowsColorConsoleChannel>;
|
||||
|
||||
WindowsColorConsoleChannel();
|
||||
/// Creates the WindowsConsoleChannel.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user