ChspsODT Class Reference
class ChspsODT : public CBase |
Class represents an Object Description Tree of HSPS. ODT is cabable of marshaling itself into HBufC8 descriptor and unmarshaling from descriptor stream. A Header is an ODT instance which has not internalized it's resources nor it's DOM (XML payload).
hspsODT.lib
- Since
- S60 5.0
Constructor & Destructor Documentation
Member Functions Documentation
AddResourceL(ChspsResource *)
Adds a resource-object into ODT.
Parameters
ChspsResource * aResource | ChspsResource to add. ODT takes ownership. |
CheckResourceL(ChspsResource *)
CloneL(ChspsODT &)
Clones given ODT to this ODT.
ConfigurationType()
IMPORT_C TUint | ConfigurationType | ( | ) | const |
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
CopyDomDocumentL(ChspsDomDocument &)
Clones the aDom and sets it as this ChspsODT's DomDocument.
CopyODTDataL(const ChspsODT &, ChspsODT &)
Helper to ODT cloning. Prevents duplicate code in two clone methods.
DeleteAllResources()
IMPORT_C void | DeleteAllResources | ( | ) | |
Deletes all resources from the ODT.
DeleteResourceL(TInt)
IMPORT_C void | DeleteResourceL | ( | TInt | aIndex | ) | |
Deletes a resource from the ODT.
Parameters
TInt aIndex | Index of the resource to be deleted. |
Description()
IMPORT_C const TDesC & | Description | ( | ) | const |
Gets description of the widget
- Since
- S60 5.0
ExternalizeHeaderL(RWriteStream &)
Externalizes the ODT header.
ExternalizeL(RWriteStream &)
ExternalizeResourceListL(RWriteStream &)
IMPORT_C void | ExternalizeResourceListL | ( | RWriteStream & | aStream | ) | const |
Externalizes the Resource List.
Flags()
IMPORT_C TUint | Flags | ( | ) | const |
Get status flag-definitions for themes.
HeaderSize()
TInt
| HeaderSize | ( | ) | const [private] |
Calculate header size in bytes.
InternalizeHeaderL(RReadStream &)
Internalizes the ODT header.
InternalizeL(RReadStream &)
InternalizeResourceListL(RReadStream &)
IMPORT_C void | InternalizeResourceListL | ( | RReadStream & | aStream | ) | |
Internalizes the Resource List.
LogoFile()
IMPORT_C const TDesC & | LogoFile | ( | ) | const |
Gets path to the logo file
- Since
- S60 5.0
MarshalHeaderL()
IMPORT_C HBufC8 * | MarshalHeaderL | ( | ) | const |
Marshals the ODT header into descriptor stream.
MultiInstance()
IMPORT_C TInt | MultiInstance | ( | ) | const |
Get Widget instance count
NewLC(const TDesC8 &)
Parameters
const TDesC8 & aStreamData | The read stream. |
OdtLanguage()
IMPORT_C TInt | OdtLanguage | ( | ) | const |
PreviewFile()
IMPORT_C const TDesC & | PreviewFile | ( | ) | const |
Gets path to the preview file
- Since
- S60 5.0
ProviderName()
IMPORT_C const TDesC & | ProviderName | ( | ) | const |
ProviderUid()
IMPORT_C TInt | ProviderUid | ( | ) | const |
ResourceCount()
IMPORT_C TInt | ResourceCount | ( | ) | const |
Amount of resources in ODT.
ResourceL(TInt)
Parameters
TInt aIndex | Index of the resource to be retrieved. |
RootUid()
IMPORT_C TInt | RootUid | ( | ) | const |
SetConfigurationType(TUint)
IMPORT_C void | SetConfigurationType | ( | TUint | aType | ) | |
SetDescriptionL(const TDesC &)
IMPORT_C void | SetDescriptionL | ( | const TDesC & | aDesc | ) | |
Sets description of the widget
- Since
- S60 5.0
SetFamily(const TUint32)
IMPORT_C void | SetFamily | ( | const TUint32 | aFamilyMask | ) | |
Set family. Identifies the resolution and user interface for which the resource/widget was designed for (e.g. vga, qhd_tch).
SetFlags(TUint)
IMPORT_C void | SetFlags | ( | TUint | aFlags | ) | |
Set status flag-definitions for themes.
Parameters
TUint aFlags | Flags to be set. |
SetLogoFileL(const TDesC &)
IMPORT_C void | SetLogoFileL | ( | const TDesC & | aPath | ) | |
Sets path of the logo file
- Since
- S60 5.0
Parameters
const TDesC & aPath | Path to the file |
SetMultiInstance(TInt)
IMPORT_C void | SetMultiInstance | ( | TInt | aMultiInstance | ) | |
Set Widget instance count
Parameters
TInt aMultiInstance | multiinstance. |
SetOdtLanguage(TInt)
IMPORT_C void | SetOdtLanguage | ( | TInt | aLanguage | ) | |
Parameters
TInt aLanguage | Themes' language. |
SetPreviewFileL(const TDesC &)
IMPORT_C void | SetPreviewFileL | ( | const TDesC & | aPath | ) | |
Sets path of the preview file
- Since
- S60 5.0
Parameters
const TDesC & aPath | Path to the file |
SetProviderNameL(const TDesC &)
IMPORT_C void | SetProviderNameL | ( | const TDesC & | aName | ) | |
Parameters
const TDesC & aName | The name of the theme provider. |
SetProviderUid(TInt)
IMPORT_C void | SetProviderUid | ( | TInt | aUid | ) | |
Parameters
TInt aUid | The UID of the theme provider. |
SetRootUid(TInt)
IMPORT_C void | SetRootUid | ( | TInt | aUid | ) | |
Set Uid of the application or interface, which uses the theme.
SetThemeFullNameL(const TDesC &)
IMPORT_C void | SetThemeFullNameL | ( | const TDesC & | aName | ) | |
Parameters
const TDesC & aName | Themes' name. |
SetThemeShortNameL(const TDesC &)
IMPORT_C void | SetThemeShortNameL | ( | const TDesC & | aName | ) | |
Parameters
const TDesC & aName | Themes' short name. |
SetThemeUid(TInt)
IMPORT_C void | SetThemeUid | ( | TInt | aUid | ) | |
SetThemeVersionL(const TDesC &)
IMPORT_C void | SetThemeVersionL | ( | const TDesC & | aVersion | ) | |
Parameters
const TDesC & aVersion | Themes' version. |
ThemeFullName()
IMPORT_C const TDesC & | ThemeFullName | ( | ) | const |
ThemeShortName()
IMPORT_C const TDesC & | ThemeShortName | ( | ) | const |
ThemeUid()
IMPORT_C TInt | ThemeUid | ( | ) | const |
ThemeVersion()
IMPORT_C const TDesC & | ThemeVersion | ( | ) | const |
Get ThemeVersion.
- Since
- S60 5.0
UnMarshalHeaderL(const TDesC8 &)
IMPORT_C void | UnMarshalHeaderL | ( | const TDesC8 & | aStreamData | ) | |
Unmarshals the header information from the stream and saves the data into same instance.
Parameters
const TDesC8 & aStreamData | Descriptor stream containing the ODT header data. |
UnMarshalHeaderLC(const TDesC8 &)
IMPORT_C ChspsODT * | UnMarshalHeaderLC | ( | const TDesC8 & | aStreamData | ) | [static] |
Unmarshals the header information from the stream and returns ODT instance.
Parameters
const TDesC8 & aStreamData | Descriptor stream containing the ODT header data. |
Member Data Documentation
TUint
iConfigurationType
TUint
| iConfigurationType | [private] |
HBufC * iDescription
HBufC * | iDescription | [private] |
ChspsDomDocument * iDomDocument
HBufC * iLogoFile
HBufC * | iLogoFile | [private] |
TInt
iMultiInstance
TInt
| iMultiInstance | [private] |
HBufC * iPreviewFile
HBufC * | iPreviewFile | [private] |
HBufC * iProviderName
HBufC * | iProviderName | [private] |
TUint
iProviderUid
TUint
| iProviderUid | [private] |
CArrayPtrSeg< ChspsResource > * iResourceList
HBufC * iThemeFullName
HBufC * | iThemeFullName | [private] |
HBufC * iThemeShortName
HBufC * | iThemeShortName | [private] |
HBufC * iThemeVersion
HBufC * | iThemeVersion | [private] |
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.