CHsContentInfo Class Reference

class CHsContentInfo : public CBase

Content data

hscontentinfo.lib
Since
S60 v5.2

Inherits from

Public Member Functions
~CHsContentInfo ()
IMPORT_C TBool CanBeAdded ()
IMPORT_C TBool CanBeRemoved ()
IMPORT_C CHsContentInfo * CloneL ()
IMPORT_C const TDesC & Description ()
IMPORT_C void ExternalizeL ( RWriteStream &)
IMPORT_C const TDesC & IconPath ()
IMPORT_C TTime InstallationTime ()
IMPORT_C void InternalizeL ( RReadStream &)
IMPORT_C TBool IsFull ()
IMPORT_C TBool IsWrt ()
IMPORT_C HBufC8 * MarshalL ()
IMPORT_C TInt MaxWidgets ()
IMPORT_C const TDesC & Name ()
IMPORT_C HBufC8 * NameAs8BitLC ()
IMPORT_C CHsContentInfo * NewL ()
IMPORT_C CHsContentInfo * NewL ( RReadStream &)
IMPORT_C CHsContentInfo * NewLC ()
IMPORT_C const TDesC8 & PluginId ()
IMPORT_C const TDesC & PublisherId ()
IMPORT_C const TDesC8 & PublisherUid ()
IMPORT_C void SetCanBeAdded ( TBool )
IMPORT_C void SetCanBeRemoved ( TBool )
IMPORT_C void SetDescriptionL (const TDesC &)
IMPORT_C void SetDescriptionL (const TDesC8 &)
IMPORT_C void SetIconPathL (const TDesC &)
IMPORT_C void SetInstallationTime ( TTime &)
IMPORT_C void SetIsFull ( TBool )
IMPORT_C void SetIsWrt ( TBool )
IMPORT_C void SetMaxWidgets ( TInt )
IMPORT_C void SetNameL (const TDesC8 &)
IMPORT_C void SetNameL (const TDesC &)
IMPORT_C void SetPluginIdL (const TDesC8 &)
IMPORT_C void SetPublisherIdL (const TDesC &)
IMPORT_C void SetPublisherUidL (const TDesC8 &)
IMPORT_C void SetTypeL (const TDesC8 &)
IMPORT_C void SetUidL (const TDesC8 &)
IMPORT_C TInt Size ()
IMPORT_C const TDesC8 & Type ()
IMPORT_C const TDesC8 & Uid ()
Private Member Functions
CHsContentInfo ()
void ConstructL ()
Inherited Functions
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
TBool iCanBeAdded
TBool iCanBeRemoved
HBufC * iDescription
HBufC * iIconPath
TTime iInstallationTime
TBool iIsFull
TBool iIsWrt
TInt iMaxInstance
HBufC * iName
HBufC8 * iPluginId
HBufC * iPublisherId
HBufC8 * iPublisherUid
HBufC8 * iType
HBufC8 * iUid

Constructor & Destructor Documentation

CHsContentInfo()

CHsContentInfo ( ) [private]

Constructor

~CHsContentInfo()

~CHsContentInfo ( )

Destructor.

Since
S60 v5.2

Member Functions Documentation

CanBeAdded()

IMPORT_C TBool CanBeAdded ( ) const

Queries whether this widget can be added to the active HS page

Since
S60 5.2

CanBeRemoved()

IMPORT_C TBool CanBeRemoved ( ) const

Queries whether this widget can be removed from the active HS page

Since
S60 5.2

CloneL()

IMPORT_C CHsContentInfo * CloneL ( )

Clone.

Since
S60 v5.2

ConstructL()

void ConstructL ( ) [private]

Second phase constructor

Description()

IMPORT_C const TDesC & Description ( ) const

Gets this widget's description

Since
S60 5.2

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream )

Externalize .

Since
S60 5.2

Parameters

RWriteStream & aStream A stream to externalize to

IconPath()

IMPORT_C const TDesC & IconPath ( ) const

Gets this widget's icon path

Since
S60 5.2

InstallationTime()

IMPORT_C TTime InstallationTime ( ) const

Gets this widget's installation time

Since
S60 5.2

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Internalize

Since
S60 5.2

Parameters

RReadStream & aStream A stream where the class is internalized

IsFull()

IMPORT_C TBool IsFull ( ) const

Returns whether an application configuration or a view is full

Since
S60 5.2

IsWrt()

IMPORT_C TBool IsWrt ( ) const

Returns whether this is a WRT widget

Since
S60 5.2

MarshalL()

IMPORT_C HBufC8 * MarshalL ( )

Marshals Content Info data to a descriptor

Since
S60 5.2

MaxWidgets()

IMPORT_C TInt MaxWidgets ( ) const

Get Maximum number of widgets

Since
S60 5.2

Name()

IMPORT_C const TDesC & Name ( ) const

Access to widget name.

Since
S60 5.2

NameAs8BitLC()

IMPORT_C HBufC8 * NameAs8BitLC ( ) const

Access to widget name.

Since
S60 5.2

NewL()

IMPORT_C CHsContentInfo * NewL ( ) [static]

Two-phased constructor.

Since
S60 v5.2

NewL(RReadStream &)

IMPORT_C CHsContentInfo * NewL ( RReadStream & aStream ) [static]

Two-phased constructor.

Since
S60 v5.2

Parameters

RReadStream & aStream

NewLC()

IMPORT_C CHsContentInfo * NewLC ( ) [static]

Two-phased constructor.

Since
S60 v5.2

PluginId()

IMPORT_C const TDesC8 & PluginId ( ) const

Access to widget plugin id.

Since
S60 5.2

PublisherId()

IMPORT_C const TDesC & PublisherId ( ) const

Access to widget's publisher id.

Since
S60 5.2

PublisherUid()

IMPORT_C const TDesC8 & PublisherUid ( ) const

Access to WRT widget publisher uid.

Since
S60 5.2

SetCanBeAdded(TBool)

IMPORT_C void SetCanBeAdded ( TBool aValue )

Sets whether this widget can be added to the active HS page

Since
S60 5.2

Parameters

TBool aValue ETrue if can be added, EFalse otherwise

SetCanBeRemoved(TBool)

IMPORT_C void SetCanBeRemoved ( TBool aValue )

Sets whether this widget can be removed from the active HS page

Since
S60 5.2

Parameters

TBool aValue ETrue if can be added, EFalse otherwise

SetDescriptionL(const TDesC &)

IMPORT_C void SetDescriptionL ( const TDesC & aDescription )

Sets this widget's description

Since
S60 5.2

Parameters

const TDesC & aDescription Description

SetDescriptionL(const TDesC8 &)

IMPORT_C void SetDescriptionL ( const TDesC8 & aDescription )

Sets this widget's description

Since
S60 5.2

Parameters

const TDesC8 & aDescription Description

SetIconPathL(const TDesC &)

IMPORT_C void SetIconPathL ( const TDesC & aIconPath )

Sets this widget's icon path

Since
S60 5.2

Parameters

const TDesC & aIconPath

SetInstallationTime(TTime &)

IMPORT_C void SetInstallationTime ( TTime & aTime )

Sets this widget's installation time

Since
S60 5.2

Parameters

TTime & aTime Installation time

SetIsFull(TBool)

IMPORT_C void SetIsFull ( TBool aIsFull )

Sets whether an application confguration or a view is full

Since
S60 5.2

Parameters

TBool aIsFull

SetIsWrt(TBool)

IMPORT_C void SetIsWrt ( TBool aIsWrt )

Sets whether this is a WRT widget

Since
S60 5.2

Parameters

TBool aIsWrt

SetMaxWidgets(TInt)

IMPORT_C void SetMaxWidgets ( TInt aMaxWidget )

Set Maximum number of widgets

Parameters

TInt aMaxWidget maximum number of widgets

SetNameL(const TDesC8 &)

IMPORT_C void SetNameL ( const TDesC8 & aName )

Set Widget name.

Since
S60 5.2

Parameters

const TDesC8 & aName

SetNameL(const TDesC &)

IMPORT_C void SetNameL ( const TDesC & aName )

Set Widget name.

Since
S60 5.2

Parameters

const TDesC & aName

SetPluginIdL(const TDesC8 &)

IMPORT_C void SetPluginIdL ( const TDesC8 & aId )

Set Widget plugin id.

Since
S60 5.2

Parameters

const TDesC8 & aId Dynamic id generated by hsps.

SetPublisherIdL(const TDesC &)

IMPORT_C void SetPublisherIdL ( const TDesC & aPublisherId )

Set Widget's publisher Id .

Since
S60 5.2

Parameters

const TDesC & aPublisherId

SetPublisherUidL(const TDesC8 &)

IMPORT_C void SetPublisherUidL ( const TDesC8 & aUid )

Set WRT widget publisher uid.

Since
S60 5.2

Parameters

const TDesC8 & aUid Publisher uid of the wrt widget.

SetTypeL(const TDesC8 &)

IMPORT_C void SetTypeL ( const TDesC8 & aType )

Set widget type. Possible values widget and template

Since
S60 5.2

Parameters

const TDesC8 & aType Widget type.

SetUidL(const TDesC8 &)

IMPORT_C void SetUidL ( const TDesC8 & aUid )

Set Widget id.

Since
S60 5.2

Parameters

const TDesC8 & aUid Static uid of the widget.

Size()

IMPORT_C TInt Size ( )

Returns size of a descriptor needed to externalize the class

Since
S60 5.2

Type()

IMPORT_C const TDesC8 & Type ( ) const

Set widget type. Possible values widget and template

Since
S60 5.2

Uid()

IMPORT_C const TDesC8 & Uid ( ) const

Access to widget uid.

Since
S60 5.2

Member Data Documentation

TBool iCanBeAdded

TBool iCanBeAdded [private]

Flag to determine whether this widget can be added to the active HS page.

TBool iCanBeRemoved

TBool iCanBeRemoved [private]

Flag to determine whether this widget can be removed from the active HS page.

HBufC * iDescription

HBufC * iDescription [private]

Description, Owned

HBufC * iIconPath

HBufC * iIconPath [private]

Icon path, Owned

TTime iInstallationTime

TTime iInstallationTime [private]

Installation time

TBool iIsFull

TBool iIsFull [private]

Flag to indicate wheter an application configuration or a view is full

TBool iIsWrt

TBool iIsWrt [private]

Flag to indicate whether this is a WRT widget

TInt iMaxInstance

TInt iMaxInstance [private]

Max number of instances allowed

HBufC * iName

HBufC * iName [private]

Widget name, Owned

HBufC8 * iPluginId

HBufC8 * iPluginId [private]

Widget plugin id, Owned

HBufC * iPublisherId

HBufC * iPublisherId [private]

Publisher Id, Owned

HBufC8 * iPublisherUid

HBufC8 * iPublisherUid [private]

WRT Widget publisher uid, Owned

HBufC8 * iType

HBufC8 * iType [private]

Widget type, Owned

HBufC8 * iUid

HBufC8 * iUid [private]

Widget uid, Owned