The names of the saved files a screen of the front end lists.
More...
#include <frontend.h>
|
| | SaveFileList () |
| | Clear every name.
|
| virtual | ~SaveFileList () |
| | Do nothing.
|
| virtual int | ScanSaveFiles (const char *pszPattern) |
| | Read descriptions from the last 128 bytes of matching saved files.
|
| const char * | GetName (int index) const |
| void | SetName (int index, const char *text) |
| | Copy a terminated name into a slot without checking the destination capacity.
|
| void | SetFormattedName (int index, const char *format, int value) |
| | Format one integer into a slot without checking the destination capacity.
|
The names of the saved files a screen of the front end lists.
◆ SaveFileList()
| SaveFileList::SaveFileList |
( |
| ) |
|
Clear every name.
- Ghidra address:
- BRD3D: 0x1005cb90
- Ghidra address:
- BRGlide: 0x100559b0
◆ ~SaveFileList()
| virtual SaveFileList::~SaveFileList |
( |
| ) |
|
|
virtual |
Do nothing.
- Ghidra address:
- BRD3D: 0x1005cc10
- Ghidra address:
- BRGlide: 0x10055a30
◆ ScanSaveFiles()
| virtual int SaveFileList::ScanSaveFiles |
( |
const char * | pszPattern | ) |
|
|
virtual |
Read descriptions from the last 128 bytes of matching saved files.
- Parameters
-
| pszPattern | The file search pattern. |
- Returns
- Zero when the first search fails, otherwise one.
- Ghidra address:
- BRD3D: 0x1005cf20
- Ghidra address:
- BRGlide: 0x10055d40
◆ GetName()
| const char * SaveFileList::GetName |
( |
int | index | ) |
const |
|
inline |
- Parameters
-
| index | The slot index, 0..99, without bounds checking. |
- Returns
- The borrowed terminated name, valid until the slot changes or the list is destroyed.
◆ SetName()
| void SaveFileList::SetName |
( |
int | index, |
|
|
const char * | text ) |
|
inline |
Copy a terminated name into a slot without checking the destination capacity.
- Parameters
-
| index | The slot index, 0..99. |
| text | A non-null terminated string of at most SAVE_FILE_NAME_SIZE - 1 bytes. |
◆ SetFormattedName()
| void SaveFileList::SetFormattedName |
( |
int | index, |
|
|
const char * | format, |
|
|
int | value ) |
|
inline |
Format one integer into a slot without checking the destination capacity.
- Parameters
-
| index | The slot index, 0..99. |
| format | A non-null terminated printf format accepting one int; the result including its terminator must fit SAVE_FILE_NAME_SIZE bytes. |
| value | The integer supplied to the format. |
The documentation for this class was generated from the following file: