CWidgetConfigHandler Class Reference
class CWidgetConfigHandler : public CBase
|
Parse the widget info file for widget entry creation. WidgetInstallerUI.lib
-
Since
-
3.1
Nested Classes and Structures
Private Member Enumerations
|
enum
|
DtdType
{
EDtdTypeUnknown
,
EDtdTypeApple
,
EDtdTypeNokia
}
|
enum
|
TWidgetPropertyDescriptionId
{
EPropertyDescriptionAppleBundleIdentifier
,
EPropertyDescriptionAppleBundleDisplayName
,
EPropertyDescriptionAppleBundleVersion
,
EPropertyDescriptionAppleAllowFullAccess
,
EPropertyDescriptionNokiaIdentifier
,
EPropertyDescriptionNokiaDisplayName
,
EPropertyDescriptionNokiaVersion
,
EPropertyDescriptionMainHTML
,
EPropertyDescriptionAllowNetworkAccess
,
EPropertyDescriptionHeight
,
EPropertyDescriptionWidth
,
EPropertyDescriptionNokiaMiniViewEnable
,
EPropertyDescriptionNokiaPromptNeeded
,
EPropertyDescriptionNokiaPreInstalled
,
EPropertyDescriptionIdCount
,
EPropertyDescriptionIdInvalid
}
|
Constructor & Destructor Documentation
CWidgetConfigHandler()
CWidgetConfigHandler
|
(
|
)
|
[protected]
|
~CWidgetConfigHandler()
~CWidgetConfigHandler
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
Symbian 2nd phase constructor
GetContentL(RFs &, xmlDocPtr, xmlNode *, HBufC **)
GetPropertyId(const TDesC &, DtdType, TWidgetPropertyDescriptionId &)
ParseInfoLocL(TPtrC8, RFs &, CWidgetPropertyValue &)
Parse the localized buffer from infoPlist.strings in format of CFBundleDisplayName = "localized display name" and update the widgetInfo's displayname
ParseValidateBundleMetadataL(TPtr8, RPointerArray< CWidgetPropertyValue > &, RFs &)
Parse the widget info file and create
CWidgetInfo
and CWidgetData check for required keys and values
ToUnicodeL(TInt, TInt, TPtrC8, HBufC16 **, RFs &)
void
|
ToUnicodeL
|
(
|
TInt
|
aEncoding,
|
|
TInt
|
aUnicodeSizeMultiplier,
|
|
TPtrC8
|
aInBuf,
|
|
HBufC16
**
|
aOutBuf,
|
|
RFs
&
|
aFileSession
|
|
)
|
[protected]
|
TraverseNextNode(xmlNode *)
Traverse to the next Node
ValidateL(RPointerArray< CWidgetPropertyValue > &)
Member Enumerations Documentation
Enum DtdType
Enumerators
EDtdTypeUnknown
|
|
EDtdTypeApple
|
|
EDtdTypeNokia
|
|
Enum TWidgetPropertyDescriptionId
Enumerators
EPropertyDescriptionAppleBundleIdentifier
|
|
EPropertyDescriptionAppleBundleDisplayName
|
|
EPropertyDescriptionAppleBundleVersion
|
|
EPropertyDescriptionAppleAllowFullAccess
|
|
EPropertyDescriptionNokiaIdentifier
|
|
EPropertyDescriptionNokiaDisplayName
|
|
EPropertyDescriptionNokiaVersion
|
|
EPropertyDescriptionMainHTML
|
|
EPropertyDescriptionAllowNetworkAccess
|
|
EPropertyDescriptionHeight
|
|
EPropertyDescriptionWidth
|
|
EPropertyDescriptionNokiaMiniViewEnable
|
|
EPropertyDescriptionNokiaPromptNeeded
|
|
EPropertyDescriptionNokiaPreInstalled
|
|
EPropertyDescriptionIdCount
|
|
EPropertyDescriptionIdInvalid
|
|
Member Data Documentation
TFixedArray< TWidgetProperty, EPropertyDescriptionIdCount > iProperties
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.