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 ()
void ConstructL ()
void HandlePluginLoaded (KGSPluginLoaderStatus)
TUid Id ()
CGSMainView * NewL ()
CGSMainView * NewLC ()
CArrayPtrFlat < CGSPluginInterface > * Plugins ()
void TabChangedL ( TUid )
CArrayPtrFlat < CGSPluginInterface > * TabbedViews ()
void TransferDynamicPluginL ( CGSPluginInterface *)
void UpdateView ()
Protected Member Functions
void DoActivateL (const TVwsViewId &, TUid , const TDesC8 &)
void DoDeactivate ()
void DynInitMenuPaneL ( TInt , CEikMenuPane *)
void HandleCommandL ( TInt )
Private Member Functions
void NewContainerL ()
void OpenLocalizedResourceFileL (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
RConeResourceLoader iResourceLoader
TUid iSelectedPluginUid
Inherited Attributes
CAknView::iCoeEnv

Constructor & Destructor Documentation

CGSMainView()

CGSMainView ( )

~CGSMainView()

~CGSMainView ( )

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( )

Symbian OS default constructor.

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

void DoActivateL ( const TVwsViewId & aPrevViewId,
TUid aCustomMessageId,
const TDesC8 & aCustomMessage
) [protected, virtual]

See base view.

Parameters

const TVwsViewId & aPrevViewId
TUid aCustomMessageId
const TDesC8 & aCustomMessage

DoDeactivate()

void DoDeactivate ( ) [protected, virtual]

See base view.

DynInitMenuPaneL(TInt, CEikMenuPane *)

void DynInitMenuPaneL ( TInt aResourceId,
CEikMenuPane * aMenuPane
) [protected]

Parameters

TInt aResourceId
CEikMenuPane * aMenuPane

HandleCommandL(TInt)

void HandleCommandL ( TInt aCommand ) [protected, virtual]

See base view.

Parameters

TInt aCommand

HandlePluginLoaded(KGSPluginLoaderStatus)

void HandlePluginLoaded ( KGSPluginLoaderStatus aStatus )

See base view.

Parameters

KGSPluginLoaderStatus aStatus

Id()

TUid Id ( ) const [virtual]

See base view.

NewContainerL()

void NewContainerL ( ) [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 &)

void OpenLocalizedResourceFileL ( 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)

void TabChangedL ( TUid selectedTabUid )

See base class.

Parameters

TUid selectedTabUid

TabbedViews()

CArrayPtrFlat < CGSPluginInterface > * TabbedViews ( )

See base view.

TransferDynamicPluginL(CGSPluginInterface *)

void TransferDynamicPluginL ( CGSPluginInterface * aPlugin )

See base view.

Parameters

CGSPluginInterface * aPlugin

UpdateView()

void UpdateView ( )

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

RConeResourceLoader iResourceLoader [private]

TUid iSelectedPluginUid

TUid iSelectedPluginUid [private]