Declaration¶
Source position: externalreader.pp line 36
type
TExternalResourceReader = class(TAbstractResourceReader)
protected
function GetExtensions : string;
function GetDescription : string;
procedure Load;
function CheckMagic : Boolean;
public
constructor Create;
destructor Destroy;
property Endianess: Byte; {r}
end;
Inheritance¶
Description¶
This class provides a reader for .fpcres files: they are standalone files containing resources.
Standalone files are files that don't get linked with the final executable. They are used as a fallback solution on all those platforms for which an internal resource format is not available.
At runtime the resource file is read by Free Pascal RTL to provide resource support to the application.
After an external file has been read, Endianess property holds the byte order used in the file.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| Endianess read only | public | The byte order used in the file |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| CheckMagic | protected | |
| Create | public | |
| Destroy | public | |
| GetDescription | protected | |
| GetExtensions | protected | |
| Load | protected |
See also¶
| Name | Description |
|---|---|
| TExternalResourceReader.Endianess | The byte order used in the file |
| TAbstractResourceReader | Base abstract resource reader class |
| TExternalResourceWriter | External file resource writer |