S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CLmUiRefAppView Class Reference

#include <LmUiRefAppView.h>

List of all members.

Public Member Functions

 ~CLmUiRefAppView ()
CAknViewAppUi * ViewAppUi ()
TPosLmItemId SelectedItem () const
TInt LaunchLandmarksDialogL ()
TBool IsLmDbEmptyL ()
TUid Id () const
void HandleCommandL (TInt aCommand)

Static Public Member Functions

static CLmUiRefAppView * NewLC ()

Protected Member Functions

void DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane)

Private Member Functions

 CLmUiRefAppView ()
void ConstructL ()
void NewLmCmdL ()
void ExecuteLmEditorL (CPosLandmark *aLandmark, CPosLandmarkDatabase &aDb)
void DoActivateL (const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage)
void DoDeactivate ()

Private Attributes

CLmUiRefAppContainer * iContainer
 Own: A pointer to container.
CLmUiRefAppUi * iLmUiRefAppUi
TPosLmItemId iSelectedItem
CLmkLandmarkSelectorDlg * iLmkSelectDlg
CPosLandmarkDatabase * ilDb


Detailed Description

CLmUiRefAppview class.

Definition at line 41 of file LmUiRefAppView.h.


Constructor & Destructor Documentation

CLmUiRefAppView::~CLmUiRefAppView (   ) 
 

Destructor.

Definition at line 77 of file LmUiRefAppView.cpp.

References iContainer.

00078     {
00079     if ( iContainer )
00080         {
00081         AppUi()->RemoveFromViewStack( *this, iContainer );
00082         }
00083     delete iContainer; 
00084     }

CLmUiRefAppView::CLmUiRefAppView (   )  [private]
 

C++ constructor

Returns:
newly instantiated object

Definition at line 59 of file LmUiRefAppView.cpp.

00060     {
00061     }


Member Function Documentation

CLmUiRefAppView * CLmUiRefAppView::NewLC (   )  [static]
 

C++ default constructor.

Parameters:
aKeyProcessor 
aLmkSender 
Returns:
created CLmkByLmView object

Definition at line 44 of file LmUiRefAppView.cpp.

References CLmUiRefAppView().

00045     {
00046     CLmUiRefAppView* self =
00047         new( ELeave ) CLmUiRefAppView();
00048     CleanupStack::PushL( self );        
00049     self->ConstructL();      
00050     return self;
00051     }

void CLmUiRefAppView::ConstructL (   )  [private]
 

By default Symbian 2nd phase constructor is private.

Definition at line 68 of file LmUiRefAppView.cpp.

00069     {
00070     BaseConstructL(R_LMUIREFAPP_VIEW);   
00071     }


© Nokia 2006

Back to top