2020-01-28 01:20:49 +02:00
|
|
|
[InbuildModule::] Inter Module.
|
|
|
|
|
|
|
|
Setting up the use of this module.
|
|
|
|
|
|
|
|
@h Introduction.
|
|
|
|
|
|
|
|
@d INBUILD_MODULE TRUE
|
|
|
|
|
|
|
|
@ To begin with, this module needs to allocate memory:
|
|
|
|
|
|
|
|
@e inform_kit_MT
|
2020-02-03 11:25:57 +02:00
|
|
|
@e inform_extension_MT
|
2020-01-28 01:20:49 +02:00
|
|
|
@e inform_kit_ittt_MT
|
|
|
|
@e element_activation_MT
|
2020-01-29 21:58:43 +02:00
|
|
|
@e inbuild_genre_MT
|
|
|
|
@e inbuild_work_MT
|
|
|
|
@e inbuild_edition_MT
|
|
|
|
@e inbuild_requirement_MT
|
|
|
|
@e inbuild_copy_MT
|
|
|
|
@e build_graph_MT
|
|
|
|
@e build_methodology_MT
|
|
|
|
@e build_script_MT
|
|
|
|
@e build_step_MT
|
2020-01-31 02:13:50 +02:00
|
|
|
@e inbuild_nest_MT
|
|
|
|
@e inbuild_search_result_MT
|
2020-02-02 01:28:37 +02:00
|
|
|
@e inbuild_work_database_entry_array_MT
|
2020-02-04 02:02:34 +02:00
|
|
|
@e extension_census_datum_MT
|
|
|
|
@e extension_census_MT
|
2020-02-09 01:28:32 +02:00
|
|
|
@e inform_template_MT
|
|
|
|
@e inform_project_MT
|
|
|
|
@e inform_language_MT
|
2020-01-28 01:20:49 +02:00
|
|
|
|
|
|
|
=
|
|
|
|
ALLOCATE_INDIVIDUALLY(inform_kit)
|
2020-02-03 11:25:57 +02:00
|
|
|
ALLOCATE_INDIVIDUALLY(inform_extension)
|
2020-01-28 01:20:49 +02:00
|
|
|
ALLOCATE_INDIVIDUALLY(inform_kit_ittt)
|
|
|
|
ALLOCATE_INDIVIDUALLY(element_activation)
|
2020-01-29 21:58:43 +02:00
|
|
|
ALLOCATE_INDIVIDUALLY(inbuild_genre)
|
|
|
|
ALLOCATE_INDIVIDUALLY(inbuild_work)
|
|
|
|
ALLOCATE_INDIVIDUALLY(inbuild_edition)
|
|
|
|
ALLOCATE_INDIVIDUALLY(inbuild_requirement)
|
|
|
|
ALLOCATE_INDIVIDUALLY(inbuild_copy)
|
|
|
|
ALLOCATE_INDIVIDUALLY(build_graph)
|
|
|
|
ALLOCATE_INDIVIDUALLY(build_methodology)
|
|
|
|
ALLOCATE_INDIVIDUALLY(build_script)
|
|
|
|
ALLOCATE_INDIVIDUALLY(build_step)
|
2020-01-31 02:13:50 +02:00
|
|
|
ALLOCATE_INDIVIDUALLY(inbuild_nest)
|
|
|
|
ALLOCATE_INDIVIDUALLY(inbuild_search_result)
|
2020-02-04 02:02:34 +02:00
|
|
|
ALLOCATE_INDIVIDUALLY(extension_census_datum)
|
|
|
|
ALLOCATE_INDIVIDUALLY(extension_census)
|
2020-02-09 01:28:32 +02:00
|
|
|
ALLOCATE_INDIVIDUALLY(inform_template)
|
|
|
|
ALLOCATE_INDIVIDUALLY(inform_project)
|
|
|
|
ALLOCATE_INDIVIDUALLY(inform_language)
|
2020-01-28 01:20:49 +02:00
|
|
|
|
2020-02-02 01:28:37 +02:00
|
|
|
ALLOCATE_IN_ARRAYS(inbuild_work_database_entry, 100)
|
|
|
|
|
2020-01-28 01:20:49 +02:00
|
|
|
@h The beginning.
|
|
|
|
|
|
|
|
=
|
|
|
|
void InbuildModule::start(void) {
|
|
|
|
@<Register this module's memory allocation reasons@>;
|
|
|
|
@<Register this module's stream writers@>;
|
|
|
|
@<Register this module's debugging log aspects@>;
|
|
|
|
@<Register this module's debugging log writers@>;
|
|
|
|
@<Register this module's command line switches@>;
|
2020-02-08 12:34:58 +02:00
|
|
|
KitManager::start();
|
|
|
|
ExtensionManager::start();
|
2020-02-09 01:28:32 +02:00
|
|
|
TemplateManager::start();
|
|
|
|
LanguageManager::start();
|
|
|
|
ProjectManager::start();
|
2020-01-28 01:20:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@
|
|
|
|
|
2020-02-04 02:02:34 +02:00
|
|
|
@e EXTENSION_DICTIONARY_MREASON
|
|
|
|
|
2020-01-28 01:20:49 +02:00
|
|
|
@<Register this module's memory allocation reasons@> =
|
2020-02-04 02:02:34 +02:00
|
|
|
Memory::reason_name(EXTENSION_DICTIONARY_MREASON, "extension dictionary");
|
2020-01-28 01:20:49 +02:00
|
|
|
|
|
|
|
@<Register this module's stream writers@> =
|
2020-02-02 13:25:56 +02:00
|
|
|
Writers::register_writer('v', &VersionNumbers::writer);
|
2020-02-02 01:28:37 +02:00
|
|
|
Writers::register_writer('X', &Works::writer);
|
2020-01-28 01:20:49 +02:00
|
|
|
|
|
|
|
@
|
|
|
|
|
2020-02-04 02:02:34 +02:00
|
|
|
@e EXTENSIONS_CENSUS_DA
|
|
|
|
|
2020-01-28 01:20:49 +02:00
|
|
|
@<Register this module's debugging log aspects@> =
|
2020-02-04 02:02:34 +02:00
|
|
|
Log::declare_aspect(EXTENSIONS_CENSUS_DA, L"extensions census", FALSE, FALSE);
|
2020-01-28 01:20:49 +02:00
|
|
|
|
|
|
|
@<Register this module's debugging log writers@> =
|
2020-02-09 13:35:57 +02:00
|
|
|
Writers::register_writer('J', &Languages::log);
|
2020-01-28 01:20:49 +02:00
|
|
|
|
|
|
|
@<Register this module's command line switches@> =
|
|
|
|
;
|
|
|
|
|
|
|
|
@h The end.
|
|
|
|
|
|
|
|
=
|
|
|
|
void InbuildModule::end(void) {
|
|
|
|
}
|