We
will look at the main body of the generation from the top of the ?¬?gure down,
following the grouping into numbered gray areas. Group 1 handles the generation
of the static user interface description from the top-level diagram: the views,
menus, and reusable strings. Its _RSS generator produces the single largest ?¬?le,
AknConfApp.rss, weighing in at an impressive 16 KB. Separate _RSS_AIF and
_RSS_caption generators add some smaller RSS ?¬?les for the application as a whole.
Group 2 contains some small generators that descend to the subdiagrams of the
views, adding to the main RSS ?¬?le the strings used for choices in Pop-up Menus and
Queries.
Group 3 creates the HRH ?¬?le, which contains an enum of all the localizable strings
used in the application, and the LOC ?¬?le, which de?¬?nes the English language version
of each string. In the models, each string used is represented as both a unique name and
the English language string, the latter being displayed in the diagrams for ease of
reading. The MMP, PKG, and INF ?¬?les and corresponding generators produce the
application descriptor and make ?¬?les.
Bizarrely, the same variable or function name must be formatted in different ways
in different places: lowercase in RSS ?¬?les and uppercase in some places in C++ ?¬?les.
There are also conventions for pre?¬?xes for names in various places.
Pages:
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349