OpenTTD Source 20260208-master-g43af8e94d0
NewGRFScanCallback Struct Referenceabstract

Callback for NewGRF scanning. More...

#include <newgrf_config.h>

Inheritance diagram for NewGRFScanCallback:
AfterNewGRFScan NewGRFWindow

Public Member Functions

virtual ~NewGRFScanCallback ()=default
 Make sure the right destructor gets called.
virtual void OnNewGRFsScanned ()=0
 Called whenever the NewGRF scan completed.

Detailed Description

Callback for NewGRF scanning.

Definition at line 222 of file newgrf_config.h.

Member Function Documentation

◆ OnNewGRFsScanned()

virtual void NewGRFScanCallback::OnNewGRFsScanned ( )
pure virtual

Called whenever the NewGRF scan completed.

Implemented in AfterNewGRFScan, and NewGRFWindow.

Referenced by DoScanNewGRFFiles().


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