1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-18 15:04:25 +03:00
inform7/services/html-module/Chapter 1/HTML Module.w
2021-07-26 00:34:51 +01:00

32 lines
715 B
OpenEdge ABL

[HTMLModule::] HTML Module.
Setting up the use of this module.
@ This section simoly sets up the module in ways expected by //foundation//,
and contains no code of interest. The following constant exists only in tools
which use this module:
@d HTML_MODULE TRUE
@ Like all modules, this one must define a |start| and |end| function; the
following have been thoroughly debugged and only rarely give trouble --
@e DOC_FRAGMENT_MREASON
=
void HTMLModule::start(void) {
Memory::reason_name(DOC_FRAGMENT_MREASON, "documentation fragments");
}
void HTMLModule::end(void) {
}
@
@e documentation_ref_CLASS
@e localisation_dictionary_CLASS
=
DECLARE_CLASS(documentation_ref)
DECLARE_CLASS(localisation_dictionary)