MiKTeX 23.10-next
A scalable TeX distribution
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MiKTeX::Core::IRunProcessCallback Class Referenceabstract

Run process callback interface. More...

#include <miktex/Core/Process.h>

Inheritance diagram for MiKTeX::Core::IRunProcessCallback:
Inheritance graph
[legend]

Public Member Functions

virtual bool OnProcessOutput (const void *output, std::size_t n)=0
 

Detailed Description

Run process callback interface.

Member Function Documentation

◆ OnProcessOutput()

virtual bool MiKTeX::Core::IRunProcessCallback::OnProcessOutput ( const void *  output,
std::size_t  n 
)
pure virtual

Output function. Called by the Process object if new output text is available.

Parameters
outputOutput text bytes.
nNumber of output text bytes.
Returns
Returns true, if the Process object shall continue.

Implemented in MiKTeX::Core::ProcessOutput< MaxStdoutSize_, ExpectedStdoutSize_ >, and MiKTeX::Packages::internal::PackageInstallerImpl.


The documentation for this class was generated from the following file: