xtd 0.2.0
Loading...
Searching...
No Matches
icontrol_trace.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/interface>
6#include <xtd/ustring>
7
9namespace xtd {
11 namespace forms {
21 public:
23
27 virtual void write(const xtd::ustring& message) = 0;
28
31 virtual void write_line(const xtd::ustring& message) = 0;
32
34 virtual void flush() = 0;
36 };
37 }
38}
Allow a control to be called by control_trace_listener for writing debug or trace message.
Definition icontrol_trace.h:20
virtual void write(const xtd::ustring &message)=0
Write debug or trace message on this instance control.
virtual void flush()=0
Flushes the output buffer and causes buffered data to write to the control.
virtual void write_line(const xtd::ustring &message)=0
Write debug or trace message on this instance control followed by line terminator.
Implements a Windows message.
Definition message.h:26
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
#define interface_
This keyword is use to represent an interface.
Definition interface.h:58
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10