Setting up the use of this module.
define MULTIMEDIA_MODULE TRUE
§2. To begin with, this module needs to allocate memory:
enum blorb_figure_MT enum blorb_sound_MT enum external_file_MT
ALLOCATE_INDIVIDUALLY(blorb_figure) ALLOCATE_INDIVIDUALLY(blorb_sound) ALLOCATE_INDIVIDUALLY(external_file)
§3. The beginning. (The client doesn't need to call the start and end routines, because the foundation module does that automatically.)
void MultimediaModule::start(void) { <Register this module's stream writers 3.1>; <Register this module's debugging log aspects 3.2>; <Register this module's debugging log writers 3.3>; <Register this module's command line switches 3.4>; }
The function MultimediaModule::start appears nowhere else.
§3.1.
<Register this module's stream writers 3.1> =
;
This code is used in §3.
§3.2.
<Register this module's debugging log aspects 3.2> =
;
This code is used in §3.
§3.3.
<Register this module's debugging log writers 3.3> =
;
This code is used in §3.
§3.4.
<Register this module's command line switches 3.4> =
;
This code is used in §3.
void MultimediaModule::end(void) { }
The function MultimediaModule::end appears nowhere else.