Global Settings
For each module like GeneralModule CanvasModule etc., there are settings at a global level.
a2dGenerelGlobals is the pointer to get to those settings for the general module. a2dGlobal does the same for the artbase module. a2dDocviewGlobals for the docview module. a2dCanvasGlobals for the canvas module.
This last one has an internal pointer to a2dDocviewGlobals, and delegates to its member functions, so it can be used in place of a2dDocviewGlobals. The last two pointers are used a lot to get to the central command processor.
- a2dGetCmdh() which delivers a2dCentralCanvasCommandProcessor for use in the canvas module.
a2dDocviewGlobals->GetDocviewCommandProcessor() which delivers a2dDocumentCommandProcessor for the docview module.
And in the canvas module this processor is actually a subclass of a2dDocumentCommandProcessor.