Series 60 Series Application Architecture

xiaoxiao2021-03-06  15

Series60 main application architecture can be represented by the following figure:

The four main application frameworks are as follows:

1) Application: It is a startup object of the 60 Series Application Frame. It defines the properties of the application. This class also creates a document.

2) Document: Used to store the permanent state of the application, an application must have a Document document class

For example, it may be the only requirement to load the APPUI.

3) AppUI (Application User Interface Class): Responsible for processing events related to the application, such as menu commands, etc., usually no screen display, it will

Shape Drawing and Screen-based interactive operation delegates yourself with the views, it can have many View

Execute, responsible for switching between View, base class is Caknappui and CaknViewAppui

4) View: Responsible for display, update by model provides status to View VIEW inherits from ccoecontrol classes or

CAKNDIALOG class, also have CaknView classes

PS: Model / Engine: Usually implemented in its own class library, it packages the function of the application, handles various data permanent storage and algorithms

Summary: The application framework is responsible for creating Application, and the Application constructs documentation, the document is created again, and AppUI creates and owns it.

Model and views.

转载请注明原文地址:https://www.9cbs.com/read-46226.html

New Post(0)