xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
icontrol_trace.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/interface.h>
6 #include <xtd/ustring.h>
7 
9 namespace xtd {
11  namespace forms {
19  public:
22  virtual void write(const xtd::ustring& message) = 0;
23 
26  virtual void write_line(const xtd::ustring& message) = 0;
27 
29  virtual void flush() = 0;
30  };
31  }
32 }
virtual void write_line(const xtd::ustring &message)=0
Write debug or trace message on this instance control followed by line terminator.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Contains xtd::interface interface.
Allow a control to be called by control_trace_listener for writing debug or trace message...
Definition: icontrol_trace.h:18
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.
Contains xtd::ustring class.
#define interface_
This keyword is use to represent an interface.
Definition: interface.h:55
Implements a Windows message.
Definition: message.h:25
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13