CGSMainView Class Reference

class CGSMainView : public CAknView

CGSMainView view class

Main view of GS

This view is responsible for visualizing the first level of settings plugins.

Inherits from

Nested Classes and Structures

Public Member Functions
CGSMainView()
~CGSMainView()
voidConstructL()
voidHandlePluginLoaded(KGSPluginLoaderStatus)
TUid Id()
CGSMainView *NewL()
CGSMainView *NewLC()
CArrayPtrFlat< CGSPluginInterface > *Plugins()
voidTabChangedL(TUid)
CArrayPtrFlat< CGSPluginInterface > *TabbedViews()
voidTransferDynamicPluginL(CGSPluginInterface *)
voidUpdateView()
Protected Member Functions
voidDoActivateL(const TVwsViewId &, TUid, const TDesC8 &)
voidDoDeactivate()
voidDynInitMenuPaneL(TInt, CEikMenuPane *)
voidHandleCommandL(TInt)
Private Member Functions
voidNewContainerL()
voidOpenLocalizedResourceFileL(const TDesC &)
Inherited Functions
CAknView::ActivateViewL(const TVwsViewId &)
CAknView::ActivateViewL(const TVwsViewId &,TUid,const TDesC8 &)
CAknView::AknViewActivatedL(const TVwsViewId &,TUid,const TDesC8 &)
CAknView::AknViewDeactivated()
CAknView::AppUi()const
CAknView::BaseConstructL(TInt)
CAknView::CAknView()
CAknView::Cba()const
CAknView::ClientRect()const
CAknView::ConstructMenuAndCbaEarlyL()
CAknView::CreateAndSetToolbarL(TInt)
CAknView::HandleForegroundEventL(TBool)
CAknView::HandleStatusPaneSizeChange()
CAknView::HandleViewRectChange()
CAknView::IsForeground()const
CAknView::MenuBar()const
CAknView::MopNext()
CAknView::MopSupplyObject(TTypeUid)
CAknView::ProcessCommandL(TInt)
CAknView::ProcessForegroundEventL(TBool)
CAknView::Redraw()const
CAknView::SaveToolbarStatus(TBool,TBool)
CAknView::SetEmphasis(CCoeControl *,TBool)
CAknView::SetToolbar(CAknToolbar *)
CAknView::ShowToolbarOnViewActivation(TBool)
CAknView::StatusPane()const
CAknView::StopDisplayingMenuBar()
CAknView::StopDisplayingToolbar()
CAknView::Toolbar()const
CAknView::ToolbarShownOnViewActivation()const
CAknView::ViewActivatedL(const TVwsViewId &,TUid,const TDesC8 &)
CAknView::ViewDeactivated()
CAknView::ViewId()const
CAknView::ViewScreenDeviceChangedL()
CAknView::~CAknView()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
CAknViewAppUi *iAppUi
CGSMainContainer *iContainer
TBool iIsLandscapeOrientation
CArrayPtrFlat< CGSPluginInterface > *iPluginArray
CGSPluginLoader *iPluginLoader
TListBoxPosition iPosition
RConeResourceLoaderiResourceLoader
TUid iSelectedPluginUid
Inherited Attributes
CAknView::iCoeEnv

Constructor & Destructor Documentation

CGSMainView()

CGSMainView()

~CGSMainView()

~CGSMainView()

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()

Symbian OS default constructor.

DoActivateL(const TVwsViewId &, TUid, const TDesC8 &)

voidDoActivateL(const TVwsViewId &aPrevViewId,
TUidaCustomMessageId,
const TDesC8 &aCustomMessage
)[protected, virtual]

See base view.

Parameters

const TVwsViewId & aPrevViewId
TUid aCustomMessageId
const TDesC8 & aCustomMessage

DoDeactivate()

voidDoDeactivate()[protected, virtual]

See base view.

DynInitMenuPaneL(TInt, CEikMenuPane *)

voidDynInitMenuPaneL(TIntaResourceId,
CEikMenuPane *aMenuPane
)[protected]

Parameters

TInt aResourceId
CEikMenuPane * aMenuPane

HandleCommandL(TInt)

voidHandleCommandL(TIntaCommand)[protected, virtual]

See base view.

Parameters

TInt aCommand

HandlePluginLoaded(KGSPluginLoaderStatus)

voidHandlePluginLoaded(KGSPluginLoaderStatusaStatus)

See base view.

Parameters

KGSPluginLoaderStatus aStatus

Id()

TUid Id()const [virtual]

See base view.

NewContainerL()

voidNewContainerL()[private]

Creates new container.

NewL()

CGSMainView *NewL()[static]

Symbian OS two-phased constructor

NewLC()

CGSMainView *NewLC()[static]

Symbian OS two-phased constructor

OpenLocalizedResourceFileL(const TDesC &)

voidOpenLocalizedResourceFileL(const TDesC &aResourceFileName)[private]

Opens the nearest localized resourcefile.

Parameters

const TDesC & aResourceFileName

Plugins()

CArrayPtrFlat< CGSPluginInterface > *Plugins()

Returns pointer to the owned plugins.

TabChangedL(TUid)

voidTabChangedL(TUidselectedTabUid)

See base class.

Parameters

TUid selectedTabUid

TabbedViews()

CArrayPtrFlat< CGSPluginInterface > *TabbedViews()

See base view.

TransferDynamicPluginL(CGSPluginInterface *)

voidTransferDynamicPluginL(CGSPluginInterface *aPlugin)

See base view.

Parameters

CGSPluginInterface * aPlugin

UpdateView()

voidUpdateView()

Updates plugin's view. This can be used when child plugin's values are changed.

Member Data Documentation

CAknViewAppUi * iAppUi

CAknViewAppUi *iAppUi[private]

CGSMainContainer * iContainer

CGSMainContainer *iContainer[private]

TBool iIsLandscapeOrientation

TBool iIsLandscapeOrientation[private]

CArrayPtrFlat< CGSPluginInterface > * iPluginArray

CArrayPtrFlat< CGSPluginInterface > *iPluginArray[private]

CGSPluginLoader * iPluginLoader

CGSPluginLoader *iPluginLoader[private]

TListBoxPosition iPosition

TListBoxPosition iPosition[private]

RConeResourceLoader iResourceLoader

RConeResourceLoaderiResourceLoader[private]

TUid iSelectedPluginUid

TUid iSelectedPluginUid[private]