OpenTTD
|
Reference counted wrapper around a GRFText pointer. More...
#include <newgrf_config.h>
Public Member Functions | |
GRFTextWrapper () | |
Create a new GRFTextWrapper. | |
~GRFTextWrapper () | |
Cleanup a GRFTextWrapper object. | |
![]() | |
virtual int32 | AddRef () |
virtual int32 | Release () |
virtual void | FinalRelease () |
Data Fields | |
struct GRFText * | text |
The actual text. | |
![]() | |
int32 | m_ref_cnt |
Reference counted wrapper around a GRFText pointer.
Definition at line 145 of file newgrf_config.h.
GRFTextWrapper::GRFTextWrapper | ( | ) |
Create a new GRFTextWrapper.
Definition at line 31 of file newgrf_config.cpp.
GRFTextWrapper::~GRFTextWrapper | ( | ) |
Cleanup a GRFTextWrapper object.
Definition at line 37 of file newgrf_config.cpp.
References CleanUpGRFText(), and text.