Data Structures | |
struct | D4DFILE_FUNCTIONS_S |
eGUI structure to store API for external files support More... | |
struct | D4DLOCALE_FUNCTIONS_S |
eGUI structure to store API for external strings (translated) support More... | |
Macros | |
#define | D4D_SEEK_SET |
D4D_SEEK_SET eGUI Origin constant for begin of file (1) More... | |
#define | D4D_SEEK_CUR |
D4D_SEEK_CUR eGUI Origin constant for current position of file (2) More... | |
#define | D4D_SEEK_END |
D4D_SEEK_END eGUI Origin constant for end of file (3) More... | |
Typedefs | |
typedef D4D_FILEPTR(* | D4DFILE_FOPEN )(D4D_CHAR *filename, D4D_CHAR *mode) |
File open eGUI function type. More... | |
typedef int(* | D4DFILE_FCLOSE )(D4D_FILEPTR p_file) |
File close eGUI function type. More... | |
typedef int(* | D4DFILE_READ )(D4D_FILEPTR p_file, void *buffer, int size) |
File read eGUI function type. More... | |
typedef int(* | D4DFILE_WRITE )(D4D_FILEPTR p_file, const void *buffer, int size) |
File write eGUI function type. More... | |
typedef int(* | D4DFILE_FSEEK )(D4D_FILEPTR p_file, long offset, int origin) |
File seek eGUI function type. More... | |
typedef long(* | D4DFILE_FTELL )(D4D_FILEPTR p_file) |
File tell eGUI function type. More... | |
typedef int(* | D4DLOCALE_TRANSLATE_STR )(const D4D_TCHAR *originTxt, D4D_TCHAR *newTxt, int offset, int size) |
String translate function for customizing strings. More... | |
typedef int(* | D4DLOCALE_GET_TRANSLATE_STR_LEN )(const D4D_TCHAR *originTxt) |
String translate string get lenght function for customized strings. More... | |
typedef struct D4DFILE_FUNCTIONS_S | D4DFILE_FUNCTIONS |
eGUI structure to store API for external files support More... | |
typedef struct D4DLOCALE_FUNCTIONS_S | D4DLOCALE_FUNCTIONS |
eGUI structure to store API for external strings (translated) support More... | |
This section specifies the exact type for each typedef definition.
struct D4DFILE_FUNCTIONS_S |
Data Fields | |
D4DFILE_FOPEN | D4DFILE_fopen |
Pointer to File Open Function. More... | |
D4DFILE_FCLOSE | D4DFILE_fclose |
Pointer to File Close Function. More... | |
D4DFILE_READ | D4DFILE_read |
Pointer to File Read Function. More... | |
D4DFILE_WRITE | D4DFILE_write |
Pointer to File Write Function. More... | |
D4DFILE_FSEEK | D4DFILE_fseek |
Pointer to File Seek Function. More... | |
D4DFILE_FTELL | D4DFILE_ftell |
Pointer to File Tell Function. More... | |
D4DFILE_FCLOSE D4DFILE_fclose |
Pointer to File Close Function.
Definition at line 180 of file d4d_extsrc.h.
D4DFILE_FOPEN D4DFILE_fopen |
Pointer to File Open Function.
Definition at line 179 of file d4d_extsrc.h.
D4DFILE_FSEEK D4DFILE_fseek |
Pointer to File Seek Function.
Definition at line 183 of file d4d_extsrc.h.
D4DFILE_FTELL D4DFILE_ftell |
Pointer to File Tell Function.
Definition at line 184 of file d4d_extsrc.h.
D4DFILE_READ D4DFILE_read |
Pointer to File Read Function.
Definition at line 181 of file d4d_extsrc.h.
D4DFILE_WRITE D4DFILE_write |
Pointer to File Write Function.
Definition at line 182 of file d4d_extsrc.h.
struct D4DLOCALE_FUNCTIONS_S |
Data Fields | |
D4DLOCALE_TRANSLATE_STR | D4DLOCALE_TranslateStr |
Pointer to Translate String Function. More... | |
D4DLOCALE_GET_TRANSLATE_STR_LEN | D4DLOCALE_GetTranslateStrLength |
Pointer to Get Translate String Length Function. More... | |
D4DLOCALE_GET_TRANSLATE_STR_LEN D4DLOCALE_GetTranslateStrLength |
Pointer to Get Translate String Length Function.
Definition at line 191 of file d4d_extsrc.h.
D4DLOCALE_TRANSLATE_STR D4DLOCALE_TranslateStr |
Pointer to Translate String Function.
Definition at line 190 of file d4d_extsrc.h.
#define D4D_SEEK_CUR |
D4D_SEEK_CUR eGUI Origin constant for current position of file (2)
Definition at line 141 of file d4d_extsrc.h.
#define D4D_SEEK_END |
D4D_SEEK_END eGUI Origin constant for end of file (3)
Definition at line 143 of file d4d_extsrc.h.
#define D4D_SEEK_SET |
D4D_SEEK_SET eGUI Origin constant for begin of file (1)
Definition at line 139 of file d4d_extsrc.h.
typedef int(* D4DFILE_FCLOSE)(D4D_FILEPTR p_file) |
File close eGUI function type.
p_file | - pointer to file structure |
Definition at line 106 of file d4d_extsrc.h.
typedef D4D_FILEPTR(* D4DFILE_FOPEN)(D4D_CHAR *filename, D4D_CHAR *mode) |
File open eGUI function type.
filename | - pointer to string with file name |
mode | - mode of open file |
Definition at line 98 of file d4d_extsrc.h.
typedef int(* D4DFILE_FSEEK)(D4D_FILEPTR p_file, long offset, int origin) |
File seek eGUI function type.
p_file | - pointer to file structure |
offset | - new offset from select origin |
origin | - origin of offset |
Definition at line 136 of file d4d_extsrc.h.
typedef long(* D4DFILE_FTELL)(D4D_FILEPTR p_file) |
File tell eGUI function type.
p_file | - pointer to file structure |
Definition at line 151 of file d4d_extsrc.h.
typedef struct D4DFILE_FUNCTIONS_S D4DFILE_FUNCTIONS |
eGUI structure to store API for external files support
typedef int(* D4DFILE_READ)(D4D_FILEPTR p_file, void *buffer, int size) |
File read eGUI function type.
p_file | - pointer to file structure |
buffer | - pointer to application buffer |
size | - size of data to read |
Definition at line 116 of file d4d_extsrc.h.
typedef int(* D4DFILE_WRITE)(D4D_FILEPTR p_file, const void *buffer, int size) |
File write eGUI function type.
p_file | - pointer to file structure |
buffer | - pointer to application buffer |
size | - size of data to write |
Definition at line 126 of file d4d_extsrc.h.
typedef struct D4DLOCALE_FUNCTIONS_S D4DLOCALE_FUNCTIONS |
eGUI structure to store API for external strings (translated) support
typedef int(* D4DLOCALE_GET_TRANSLATE_STR_LEN)(const D4D_TCHAR *originTxt) |
String translate string get lenght function for customized strings.
originTxt | - pointer to original string that should be translate to customize one |
Definition at line 174 of file d4d_extsrc.h.
typedef int(* D4DLOCALE_TRANSLATE_STR)(const D4D_TCHAR *originTxt, D4D_TCHAR *newTxt, int offset, int size) |
String translate function for customizing strings.
originTxt | - pointer to original string that should be translate to customize one |
newTxt | - pointer to new string that should be printed |
offset | - offset in new string that should be returned in newTxt buffer |
size | - size of customized chunk that should be returned in newTxt buffer |
Definition at line 164 of file d4d_extsrc.h.