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

Callback interface. More...

#include <miktex/PackageManager/PackageInstaller.h>

Inheritance diagram for MiKTeX::Packages::PackageInstallerCallback:
Inheritance graph
[legend]

Public Member Functions

virtual void ReportLine (const std::string &str)=0
 
virtual bool OnRetryableError (const std::string &message)=0
 
virtual bool OnProgress (Notification nf)=0
 

Detailed Description

Callback interface.

Member Function Documentation

◆ OnProgress()

virtual bool MiKTeX::Packages::PackageInstallerCallback::OnProgress ( Notification  nf)
pure virtual

Progress. This method is called by the installer if new progress information is available. Also gives the opportunity to abort all activities.

Parameters
nfNotification code.
Returns
Returns true, if the installer shall continue.

Implemented in MiKTeX::App::Application.

◆ OnRetryableError()

virtual bool MiKTeX::Packages::PackageInstallerCallback::OnRetryableError ( const std::string &  message)
pure virtual

Error handling. This method is called by the installer if a problem was detected which can be remedied by the user.

Parameters
messageMessage to be presented to the user.
Returns
Returns true, if the user has fixed the problem.

Implemented in MiKTeX::App::Application.

◆ ReportLine()

virtual void MiKTeX::Packages::PackageInstallerCallback::ReportLine ( const std::string &  str)
pure virtual

Reporting. This method is called by the installer if a new message is available.

Parameters
strOne-line message.

Implemented in MiKTeX::App::Application.


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