CHsContentInfo Class Reference
class CHsContentInfo : public CBase
|
Content data
hscontentinfo.lib
-
Since
-
S60 v5.2
Constructor & Destructor Documentation
CHsContentInfo()
CHsContentInfo
|
(
|
)
|
[private]
|
Member Functions Documentation
CanBeAdded()
IMPORT_C
TBool
|
CanBeAdded
|
(
|
)
|
const
|
Queries whether this widget can be added to the active HS page
CanBeRemoved()
IMPORT_C
TBool
|
CanBeRemoved
|
(
|
)
|
const
|
Queries whether this widget can be removed from the active HS page
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Description()
IMPORT_C const
TDesC
&
|
Description
|
(
|
)
|
const
|
Gets this widget's description
ExternalizeL(RWriteStream &)
IconPath()
IMPORT_C const
TDesC
&
|
IconPath
|
(
|
)
|
const
|
Gets this widget's icon path
InstallationTime()
IMPORT_C
TTime
|
InstallationTime
|
(
|
)
|
const
|
Gets this widget's installation time
InternalizeL(RReadStream &)
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
IsWrt()
IMPORT_C
TBool
|
IsWrt
|
(
|
)
|
const
|
Returns whether this is a WRT widget
MarshalL()
IMPORT_C
HBufC8
*
|
MarshalL
|
(
|
)
|
|
Marshals Content Info data to a descriptor
MaxWidgets()
IMPORT_C
TInt
|
MaxWidgets
|
(
|
)
|
const
|
Get Maximum number of widgets
Name()
IMPORT_C const
TDesC
&
|
Name
|
(
|
)
|
const
|
NameAs8BitLC()
IMPORT_C
HBufC8
*
|
NameAs8BitLC
|
(
|
)
|
const
|
PluginId()
IMPORT_C const
TDesC8
&
|
PluginId
|
(
|
)
|
const
|
Access to widget plugin id.
PublisherId()
IMPORT_C const
TDesC
&
|
PublisherId
|
(
|
)
|
const
|
Access to widget's publisher id.
PublisherUid()
IMPORT_C const
TDesC8
&
|
PublisherUid
|
(
|
)
|
const
|
Access to WRT widget publisher uid.
SetCanBeAdded(TBool)
IMPORT_C void
|
SetCanBeAdded
|
(
|
TBool
|
aValue
|
)
|
|
Sets whether this widget can be added to the active HS page
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
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
Parameters
const
TDesC
& aDescription
|
Description
|
SetDescriptionL(const TDesC8 &)
IMPORT_C void
|
SetDescriptionL
|
(
|
const
TDesC8
&
|
aDescription
|
)
|
|
Sets this widget's description
Parameters
const
TDesC8
& aDescription
|
Description
|
SetIconPathL(const TDesC &)
IMPORT_C void
|
SetIconPathL
|
(
|
const
TDesC
&
|
aIconPath
|
)
|
|
Sets this widget's icon path
SetInstallationTime(TTime &)
IMPORT_C void
|
SetInstallationTime
|
(
|
TTime
&
|
aTime
|
)
|
|
Sets this widget's installation time
Parameters
TTime
& aTime
|
Installation time
|
SetIsFull(TBool)
IMPORT_C void
|
SetIsFull
|
(
|
TBool
|
aIsFull
|
)
|
|
Sets whether an application confguration or a view is full
SetIsWrt(TBool)
IMPORT_C void
|
SetIsWrt
|
(
|
TBool
|
aIsWrt
|
)
|
|
Sets whether this is a WRT widget
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
|
)
|
|
SetNameL(const TDesC &)
IMPORT_C void
|
SetNameL
|
(
|
const
TDesC
&
|
aName
|
)
|
|
SetPluginIdL(const TDesC8 &)
IMPORT_C void
|
SetPluginIdL
|
(
|
const
TDesC8
&
|
aId
|
)
|
|
Parameters
const
TDesC8
& aId
|
Dynamic id generated by hsps.
|
SetPublisherIdL(const TDesC &)
IMPORT_C void
|
SetPublisherIdL
|
(
|
const
TDesC
&
|
aPublisherId
|
)
|
|
Set Widget's publisher Id .
Parameters
const
TDesC
& aPublisherId
|
|
SetPublisherUidL(const TDesC8 &)
IMPORT_C void
|
SetPublisherUidL
|
(
|
const
TDesC8
&
|
aUid
|
)
|
|
Set WRT widget publisher uid.
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
Parameters
const
TDesC8
& aType
|
Widget type.
|
SetUidL(const TDesC8 &)
IMPORT_C void
|
SetUidL
|
(
|
const
TDesC8
&
|
aUid
|
)
|
|
Parameters
const
TDesC8
& aUid
|
Static uid of the widget.
|
Size()
Returns size of a descriptor needed to externalize the class
Type()
IMPORT_C const
TDesC8
&
|
Type
|
(
|
)
|
const
|
Set widget type. Possible values widget and template
Uid()
IMPORT_C const
TDesC8
&
|
Uid
|
(
|
)
|
const
|
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]
|
HBufC * iIconPath
HBufC
*
|
iIconPath
|
[private]
|
TTime
iInstallationTime
TTime
|
iInstallationTime
|
[private]
|
TBool
iIsFull
Flag to indicate wheter an application configuration or a view is full
TBool
iIsWrt
Flag to indicate whether this is a WRT widget
TInt
iMaxInstance
TInt
|
iMaxInstance
|
[private]
|
Max number of instances allowed
HBufC * iPublisherId
HBufC
*
|
iPublisherId
|
[private]
|
HBufC8 * iPublisherUid
HBufC8
*
|
iPublisherUid
|
[private]
|
WRT Widget publisher uid, Owned
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.