View architecture

The following image illustrates the components of the view architecture approach.

Figure 1. View architecture classes

Symbian platform applications that follow the view architecture require:

The view architecture only allows one view to be active in each application. If a new view is switched to within an application, the current view is immediately deactivated, so this architectural approach is not appropriate in the following cases:

  • Applications with any view that cannot cleanly handle unexpected activation of another view in that application.

  • Applications that provide views that can be nested over other applications, except where embedding is used.

  • Applications that provide controls that can be used inside other applications (for example, using a Web control inside an e-mail viewer to show an e‑mail with HTML content).

Typical responsibilities in this architecture are:

For information on the CAknApplication and CAknDocument -derived classes, see Framework requirements for GUI applications .