diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-B5DE1C86-2B16-4B22-887F-7079E54A8ED6.dita --- a/Symbian3/SDK/Source/GUID-B5DE1C86-2B16-4B22-887F-7079E54A8ED6.dita Wed Mar 31 11:11:55 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-B5DE1C86-2B16-4B22-887F-7079E54A8ED6.dita Fri Jun 11 12:39:03 2010 +0100 @@ -1,65 +1,65 @@ - - - - - -Traditional -Symbian UI application architecture -

The following image illustrates the components of the traditional architecture -approach.

-Traditional Symbian UI application architecture classes -

Symbian platform applications that follow the traditional Symbian UI -application architecture require:

- -

The traditional Symbian UI application architecture provides the most -flexible approach to application UI construction. Traditional architecture -is easier to port across different platforms than view -architecture. Traditional architecture is also the best choice for -single-view applications, if launching the view from external applications -is not required.

-

Typical responsibilities in this architecture are:

- - -

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

+ + + + + +Traditional +Symbian UI application architecture +

The following image illustrates the components of the traditional architecture +approach.

+Traditional Symbian UI application architecture classes +

Symbian platform applications that follow the traditional Symbian UI +application architecture require:

+
    +
  • a UI +controller derived from CAknAppUi.

  • +
  • a view or +views derived from CCoeControl.

  • +
+

The traditional Symbian UI application architecture provides the most +flexible approach to application UI construction. Traditional architecture +is easier to port across different platforms than view +architecture. Traditional architecture is also the best choice for +single-view applications, if launching the view from external applications +is not required.

+

Typical responsibilities in this architecture are:

+
    +
  • CAknAppUi-derived class acts as a UI controller:

    +
      +
    • It creates one +or more CCoeControl-derived views.

    • +
    • It handles events, +including enabling views to handle key +events.

    • +
    • To switch +between views, it creates and destroys or shows and hides views.

      +
    • +
    • It handles menu commands.

      +
    • +
    • It receives events such as layout and foreground notifications +from the run-time environment.

    • +
    +
  • +
+
    +
  • CCoeControl-derived view:

    +
      +
    • Shows application data and state on the screen.

    • +
    • Receives user input.

    • +
    • Notifies the CAknAppUi-derived class of +relevant events.

    • +
    • Often observes model changes (directly or via the UI controller) +and updates the screen accordingly.

    • +
    +
  • +
+

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

\ No newline at end of file