|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <IMOpenAPIExampleDocument.h>
Public Member Functions | |
| virtual | ~CIMOpenAPIExampleDocument () |
| CIMOpenAPIExampleDocument & | Document () |
| CIMOpenAPIExamplemodel & | Model () |
| CIMOpenAPIExampleAppUi * | UI () |
| void | SetPointerToUI (CIMOpenAPIExampleAppUi *aUIPointer) |
Static Public Member Functions | |
| static CIMOpenAPIExampleDocument * | NewL (CEikApplication &aApp) |
Private Member Functions | |
| CIMOpenAPIExampleDocument (CEikApplication &aApp) | |
| void | ConstructL () |
| CEikAppUi * | CreateAppUiL () |
Private Attributes | |
| CIMOpenAPIExampleAppUi * | iUI |
| CIMOpenAPIExamplemodel * | iModel |
Definition at line 35 of file IMOpenAPIExampleDocument.h.
|
|
Destructor. Definition at line 38 of file IMOpenAPIExampleDocument.cpp. References iModel.
|
|
|
EPOC default constructor. Definition at line 28 of file IMOpenAPIExampleDocument.cpp.
|
|
|
Two-phased constructor. Definition at line 69 of file IMOpenAPIExampleDocument.cpp. References CIMOpenAPIExampleDocument(). 00071 { 00072 CIMOpenAPIExampleDocument* self = new (ELeave) CIMOpenAPIExampleDocument( aApp ); 00073 CleanupStack::PushL( self ); 00074 self->ConstructL(); 00075 CleanupStack::Pop(); 00076 00077 return self; 00078 }
|
|
|
Document. Returns a reference to itself
Definition at line 105 of file IMOpenAPIExampleDocument.cpp.
|
|
|
Model. Returns a reference to the model
Definition at line 49 of file IMOpenAPIExampleDocument.cpp. References iModel. 00050 { 00051 return *iModel; 00052 }
|
|
|
UI. Returns a pointer to application UI class
Definition at line 95 of file IMOpenAPIExampleDocument.cpp. References iUI. 00096 { 00097 return iUI; 00098 }
|
|
|
SetPointerToUI. Sets the pointer to the application UI
Definition at line 115 of file IMOpenAPIExampleDocument.cpp. References iUI. 00116 { 00117 iUI = aUIPointer; 00118 }
|
|
|
2nd phase constructor. Definition at line 59 of file IMOpenAPIExampleDocument.cpp. References iModel, and CIMOpenAPIExamplemodel::NewL(). 00060 { 00061 iModel = CIMOpenAPIExamplemodel::NewL(this); 00062 }
|
|
|
From CEikDocument, create CIMOpenAPIExampleAppUi "App UI" object. Definition at line 85 of file IMOpenAPIExampleDocument.cpp. 00086 { 00087 return new (ELeave) CIMOpenAPIExampleAppUi; 00088 }
|
|
|
iUI Local poiner to application UI Definition at line 101 of file IMOpenAPIExampleDocument.h. |
|
|
iModel Local poiner to application model Definition at line 107 of file IMOpenAPIExampleDocument.h. |
|
© Nokia 2006 |