Swi::CSisRegistryPackage Class Reference

class Swi::CSisRegistryPackage : public CBase

This class holds the objects that take the Uid, Name and vendor name to make a registry entry. Whenever some application is going to install, the method will take the given parameters and return one object or address of the object.

Inherits from

  • Swi::CSisRegistryPackage

Constructor & Destructor Documentation

CSisRegistryPackage()

CSisRegistryPackage()[protected]

The constructor.

CSisRegistryPackage(TUid)

CSisRegistryPackage(TUidaUid)[protected]

The constructor

Parameters

TUid aUidTUid used to initialise the package.

~CSisRegistryPackage()

IMPORT_C~CSisRegistryPackage()[virtual]

The Destructor.

Member Functions Documentation

ConstructL(const TDesC &, const TDesC &)

voidConstructL(const TDesC &aName,
const TDesC &aVendor
)[protected]

The second-phase constructor.

Parameters

const TDesC & aNameThe package name.
const TDesC & aVendor

ConstructL(RReadStream &)

voidConstructL(RReadStream &aStream)[protected]

The second-phase constructor.

Parameters

RReadStream & aStreamRReadStream stream object reference which contains the streamed object.

ConstructL(const CSisRegistryPackage &)

voidConstructL(const CSisRegistryPackage &aPackage)[protected]

The second-phase constructor.

Parameters

const CSisRegistryPackage & aPackageThe package to copy from.

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Writes object data to stream

Parameters

RWriteStream & aStreamStream to write the object data to

Index()

TInt Index()const [inline]

The package index. Index is zero for base packages and non zero for augmentations This method is used to get the package index.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Reads object data from stream

Parameters

RReadStream & aStreamStream to read the object from

Name()

const TDesC &Name()const [inline]

The package name. This method is used to get the package name.

NewL(TUid, const TDesC &, const TDesC &)

IMPORT_C CSisRegistryPackage *NewL(TUidaUid,
const TDesC &aName,
const TDesC &aVendor
)[static]

This method creates a new CSisRegistryPackage object

Parameters

TUid aUidThe Uid of the application
const TDesC & aNameThe name of the application
const TDesC & aVendorThe name of the Vendor

NewL(RReadStream &)

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

This method creates a new CSisRegistryPackage object from a stream

Parameters

RReadStream & aStreamStream to read the object from

NewL(const CSisRegistryPackage &)

IMPORT_C CSisRegistryPackage *NewL(const CSisRegistryPackage &aPackage)[static]

Construct an object from an existing one

Parameters

const CSisRegistryPackage & aPackageThe package to copy from

NewLC(TUid, const TDesC &, const TDesC &)

IMPORT_C CSisRegistryPackage *NewLC(TUidaUid,
const TDesC &aName,
const TDesC &aVendor
)[static]

This method creates a new CSisRegistryPackage object on the cleanup stack

Parameters

TUid aUidThe Uid of the application
const TDesC & aNameThe name of the application
const TDesC & aVendorThe name of the Vendor

NewLC(RReadStream &)

IMPORT_C CSisRegistryPackage *NewLC(RReadStream &aStream)[static]

This method creates a new CSisRegistryPackage object from a stream on the cleanup stack

Parameters

RReadStream & aStreamStream to read the object data from

NewLC(const CSisRegistryPackage &)

IMPORT_C CSisRegistryPackage *NewLC(const CSisRegistryPackage &aPackage)[static]

Construct an object from an existing one and place it on the cleanup stack

Parameters

const CSisRegistryPackage & aPackageThe package to copy from

SetIndex(const TInt)

voidSetIndex(const TIntaIndex)[inline]

Sets the package index. This method Sets the package index.

Parameters

const TInt aIndexindex as TInt.

SetNameL(const TDesC &)

IMPORT_C voidSetNameL(const TDesC &aName)

Sets the localized package name.

Parameters

const TDesC & aNamestring as TDesC.

Uid()

TUid Uid()const [inline]

The package Uid. This method is used to get the package Uid.

Vendor()

const TDesC &Vendor()const [inline]

The package unique vendor name. This method is used to get the package unique vendor name.

operator==(const CSisRegistryPackage &)

IMPORT_C TBooloperator==(const CSisRegistryPackage &aOther)const

Compares two CSisRegistryPackage objects for equality.

Parameters

const CSisRegistryPackage & aOtherThe object contains the name, Uid and vendor name to make a registry entry

Member Enumerations Documentation

Enum anonymous

Enumerators

PrimaryIndex = 0x00000000
UnInitializedIndex = 0xFFFFFFFF

Member Data Documentation

TInt iIndex

TInt iIndex[protected]

HBufC * iPackageName

HBufC *iPackageName[protected]

TUid iUid

TUid iUid[protected]

HBufC * iVendorName

HBufC *iVendorName[protected]