|
Nokia N97 SDK Example Applications Guide |
#include <graphicsappui.h>
Inheritance diagram for CGraphicsAppUi:

Definition at line 32 of file graphicsappui.h.
Public Member Functions |
|
| void | ConstructL () |
| CGraphicsAppUi () | |
| virtual | ~CGraphicsAppUi () |
| void | HandleCommandL (TInt aCommand) |
Private Attributes |
|
| CGraphicsAppView * | iAppView |
|
|
CGraphicsAppUi. C++ default constructor. This needs to be public due to the way the framework constructs the AppUi Definition at line 34 of file graphicsappui.cpp.
|
|
|
~CGraphicsAppUi. Virtual Destructor. Definition at line 57 of file graphicsappui.cpp. References iAppView. 00058 { 00059 if ( iAppView ) 00060 { 00061 iEikonEnv->RemoveFromStack( iAppView ); 00062 delete iAppView; 00063 iAppView = NULL; 00064 } 00065 }
|
|
|
ConstructL. 2nd phase constructor. Definition at line 44 of file graphicsappui.cpp. References iAppView, and CGraphicsAppView::NewL(). 00045 { 00046 BaseConstructL(EAknEnableSkin); 00047 00048 iAppView = CGraphicsAppView::NewL( ClientRect() ); 00049 AddToStackL( iAppView ); 00050 }
|
|
|
From CEikAppUi, HandleCommandL. Takes care of command handling.
Definition at line 72 of file graphicsappui.cpp. References iAppView, CGraphicsAppView::StartNoOffScreenDemo(), CGraphicsAppView::StartOffScreenDemo(), and CGraphicsAppView::StopDemo(). 00073 { 00074 switch( aCommand ) 00075 { 00076 case EEikCmdExit: 00077 case EAknSoftkeyExit: 00078 Exit(); 00079 break; 00080 00081 case EGaphicsNoOffScreenDemo: 00082 iAppView->StartNoOffScreenDemo(); 00083 break; 00084 00085 case EGaphicsOffScreenDemo: 00086 iAppView->StartOffScreenDemo(); 00087 break; 00088 00089 case EGaphicsStopDemo: 00090 iAppView->StopDemo(); 00091 break; 00092 00093 default: 00094 break; 00095 } 00096 }
|
|
|
iAppView The application view Owned by CGraphicsAppUi object. Definition at line 72 of file graphicsappui.h. Referenced by ConstructL(), HandleCommandL(), and ~CGraphicsAppUi(). |
|
© Nokia 2009 |