CxSPViewData Class Reference

class CxSPViewData : public CBase

Inherits from

Constructor & Destructor Documentation

CxSPViewData()

CxSPViewData()[private]

~CxSPViewData()

~CxSPViewData()

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aBuf)[private]

Parameters

const TDesC8 & aBuf

EComId()

IMPORT_C TUint32EComId()const

Returns ECom Id. 0 if not set.

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const [private]

Parameters

RWriteStream & aStream

IconFile()

IMPORT_C const TDesC &IconFile()const

Returns icon file. KNullDesC if not set.

IconId()

IMPORT_C TInt32IconId()const

Returns icon Id. KErrNotFound if not set.

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)[private]

Parameters

RReadStream & aStream

MaskId()

IMPORT_C TInt32MaskId()const

Returns mask Id. KErrNotFound if not set.

NewL()

IMPORT_C CxSPViewData *NewL()[static]

Creates a new instace of this class.

NewL(const TDesC8 &)

IMPORT_C CxSPViewData *NewL(const TDesC8 &aBuf)[static]

Creates a new instace of this class initialized from a buffer. CxSPViewData::PackL for constructing the buffer.

Parameters

const TDesC8 & aBufBuffer to initialize this instance from.

OriginalViewId()

IMPORT_C TInt32OriginalViewId()const

Returns original view Id. KErrNotFound if not set.

PackL()

IMPORT_C HBufC8 *PackL()const

Packages and returns this object in a buffer. Caller is responsible for deleting the buffer.

Reset()

IMPORT_C voidReset()

Reset data to an empty state.

SetEComId(TUint32)

IMPORT_C voidSetEComId(TUint32aEComId)

Sets ECom Id.

Parameters

TUint32 aEComIdThe ECom Id to set.

SetIconFileL(const TDesC &)

IMPORT_C voidSetIconFileL(const TDesC &aIconFile)

Sets icon file.

Parameters

const TDesC & aIconFileThe icon file to set.

SetIconId(TInt32)

IMPORT_C voidSetIconId(TInt32aIconId)

Sets icon Id.

Parameters

TInt32 aIconIdThe icon Id to set.

SetMaskId(TInt32)

IMPORT_C voidSetMaskId(TInt32aMaskId)

Sets mask Id.

Parameters

TInt32 aMaskIdThe mask Id to set.

SetOriginalViewId(TInt32)

IMPORT_C voidSetOriginalViewId(TInt32aOriginalViewId)

Sets original view Id.

Parameters

TInt32 aOriginalViewIdThe original view Id to set.

SetViewNameL(const TDesC &)

IMPORT_C voidSetViewNameL(const TDesC &aViewName)

Sets view name.

Parameters

const TDesC & aViewNameThe view name to set.

UnpackL(const TDesC8 &)

IMPORT_C voidUnpackL(const TDesC8 &aPack)

Sets this view data from given packaged buffer.

Parameters

const TDesC8 & aPackPackaged view data buffer.

ViewName()

IMPORT_C const TDesC &ViewName()const

Returns view name. KNullDesC if not set.

Member Data Documentation

TUint32 iEComId

TUint32 iEComId[private]

HBufC * iIconFile

HBufC *iIconFile[private]

TInt32 iIconId

TInt32 iIconId[private]

TInt32 iMaskId

TInt32 iMaskId[private]

TInt32 iOriginalViewId

TInt32 iOriginalViewId[private]

HBufC * iViewName

HBufC *iViewName[private]