xtd - Reference Guide  0.1.1
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 }
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.
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:25
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
#define interface_
This keyword is use to represent an interface.
Definition: interface.h:55
Contains xtd::interface interface.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::ustring class.