plugin.h:

enable the cd_data_t entry so func and data structures are consistent.
cd.h:
	create cd_data_t (empty)
console.h:
	better understanding of how these things work :)
This commit is contained in:
Bill Currie 2001-07-16 23:17:52 +00:00
parent a3c6cd8e29
commit fcaa687d56
3 changed files with 4 additions and 5 deletions

View File

@ -59,7 +59,7 @@ typedef struct plugin_funcs_s {
typedef struct plugin_data_s {
general_data_t *general;
input_data_t *input;
// cd_data_t *cd;
cd_data_t *cd;
sound_data_t *sound;
console_data_t *console;
} plugin_data_t;

View File

@ -53,4 +53,7 @@ typedef struct cd_funcs_s {
P_CDAudio_Init pCDAudio_Init;
} cd_funcs_t;
typedef struct cd_data_s {
} cd_data_t;
#endif // __QF_plugin_cd_h_

View File

@ -34,13 +34,9 @@
#include <QF/qtypes.h>
#include <QF/plugin.h>
typedef void (QFPLUGIN *P_C_Init) (void);
typedef void (QFPLUGIN *P_C_Shutdown) (void);
typedef void (QFPLUGIN *P_C_Print) (const char *fmt, va_list args);
typedef struct console_func_s {
P_C_Init pC_Init;
P_C_Shutdown pC_Shutdown;
P_C_Print pC_Print;
} console_funcs_t;