Swi::CSisRegistryToken Class Reference

class Swi::CSisRegistryToken : public Swi::CSisRegistryPackage

Inherits from

Public Member Functions
~CSisRegistryToken()
IMPORT_C voidAddRemovableDrive(TInt)
const RPointerArray< CControllerInfo > &ControllerInfo()
TUint Drives()
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C voidInternalizeL(RReadStream &)
TLanguage Language()
IMPORT_C CSisRegistryToken *NewL()
IMPORT_C CSisRegistryToken *NewL(RReadStream &)
IMPORT_C CSisRegistryToken *NewL(const CSisRegistryToken &)
IMPORT_C CSisRegistryToken *NewLC()
IMPORT_C CSisRegistryToken *NewLC(RReadStream &)
IMPORT_C CSisRegistryToken *NewLC(const CSisRegistryToken &)
TBool PresentState()
IMPORT_C voidRemoveRemovableDrive(TInt)
TChar SelectedDrive()
voidSetCurrentDrives(TUint)
IMPORT_C voidSetFixedDrives(TUint)
TBool SidPresent(TUid)
const RArray< TUid > &Sids()
TVersion Version()
Protected Member Functions
CSisRegistryToken()
voidConstructL()
voidConstructL(const CSisRegistryToken &)
voidConstructL(RReadStream &)
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()
Swi::CSisRegistryPackage::CSisRegistryPackage()
Swi::CSisRegistryPackage::CSisRegistryPackage(TUid)
Swi::CSisRegistryPackage::ConstructL(const CSisRegistryPackage &)
Swi::CSisRegistryPackage::ConstructL(const TDesC &,const TDesC &)
Swi::CSisRegistryPackage::Index()const
Swi::CSisRegistryPackage::Name()const
Swi::CSisRegistryPackage::NewL(TUid,const TDesC &,const TDesC &)
Swi::CSisRegistryPackage::NewL(const CSisRegistryPackage &)
Swi::CSisRegistryPackage::NewLC(TUid,const TDesC &,const TDesC &)
Swi::CSisRegistryPackage::NewLC(const CSisRegistryPackage &)
Swi::CSisRegistryPackage::SetIndex(const TInt)
Swi::CSisRegistryPackage::SetNameL(const TDesC &)
Swi::CSisRegistryPackage::Uid()const
Swi::CSisRegistryPackage::Vendor()const
Swi::CSisRegistryPackage::operator==(const CSisRegistryPackage &)const
Swi::CSisRegistryPackage::~CSisRegistryPackage()
Inherited Enumerations
Swi::CSisRegistryPackage:@43
Protected Attributes
TBool iCompletelyPresent
RPointerArray< CControllerInfo >iControllerInfo
TUint iCurrentDrives
TUint iDrives
TLanguage iLanguage
TUint iPresentRemovableDrives
TChar iSelectedDrive
RArray< TUid >iSids
TInt iUnused1
TInt iUnused2
TVersion iVersion
Inherited Attributes
Swi::CSisRegistryPackage::iIndex
Swi::CSisRegistryPackage::iPackageName
Swi::CSisRegistryPackage::iUid
Swi::CSisRegistryPackage::iVendorName

Constructor & Destructor Documentation

CSisRegistryToken()

CSisRegistryToken()[protected]

~CSisRegistryToken()

~CSisRegistryToken()[virtual]

Member Functions Documentation

AddRemovableDrive(TInt)

IMPORT_C voidAddRemovableDrive(TIntaDrive)

Parameters

TInt aDrive

ConstructL()

voidConstructL()[protected]

ConstructL(const CSisRegistryToken &)

voidConstructL(const CSisRegistryToken &aToken)[protected]

Parameters

const CSisRegistryToken & aToken

ConstructL(RReadStream &)

voidConstructL(RReadStream &aStream)[protected]

The second-phase constructor.

Parameters

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

ControllerInfo()

const RPointerArray< CControllerInfo > &ControllerInfo()const [inline]

Information about the controller(s) associated with this application

Drives()

TUint Drives()const [inline]

Returns a bitmask of all drives used by the package at the moment of installation. The drives are encoded with 1 if present/required and 0 if otherwise. Since potentially there can be uto 26 drives a 32 bit integer is sufficient, 1<<i; i=0 encodes drive A as present

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Write the object to a stream

Parameters

RWriteStream & aStreamThe stream to write to

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Read the object from a stream

Parameters

RReadStream & aStreamThe stream to read from

Language()

TLanguage Language()const [inline]

Returns the installed language for this package

NewL()

IMPORT_C CSisRegistryToken *NewL()[static]

NewL(RReadStream &)

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

Constructs a entry from a given existing stream.

Parameters

RReadStream & aStream

NewL(const CSisRegistryToken &)

IMPORT_C CSisRegistryToken *NewL(const CSisRegistryToken &aToken)[static]

Constructs a entry from a given existing other CSisRegistryToken entry

Parameters

const CSisRegistryToken & aToken

NewLC()

IMPORT_C CSisRegistryToken *NewLC()[static]

NewLC(RReadStream &)

IMPORT_C CSisRegistryToken *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 CSisRegistryToken &)

IMPORT_C CSisRegistryToken *NewLC(const CSisRegistryToken &aToken)[static]

Parameters

const CSisRegistryToken & aToken

PresentState()

TBool PresentState()const [inline]

Returns whether all required drives are present

RemoveRemovableDrive(TInt)

IMPORT_C voidRemoveRemovableDrive(TIntaDrive)

Parameters

TInt aDrive

SelectedDrive()

TChar SelectedDrive()const [inline]

Returns what drive the user selected for files in the Sisx file that did not specify drive.

SetCurrentDrives(TUint)

voidSetCurrentDrives(TUintaDrives)[inline]

Sets the current drives status, for initialisation purposes

Parameters

TUint aDrivesThe drive bitmap of drives currently present in the system

SetFixedDrives(TUint)

IMPORT_C voidSetFixedDrives(TUintaFixedDrives)

Updates internal state from provided flags which drives are fixed

Parameters

TUint aFixedDrivesTUint drives map of fixed drives

SidPresent(TUid)

TBool SidPresent(TUidaSid)const [inline]

Indicates whether or not the supplied executable belongs to this token

Parameters

TUid aSidThe executable's SID

Sids()

const RArray< TUid > &Sids()const [inline]

Return an array of executable SIDs belonging to (installed as a part of) this package.

Version()

TVersion Version()const [inline]

Returns the version of this package

Member Data Documentation

TBool iCompletelyPresent

TBool iCompletelyPresent[protected]

RPointerArray< CControllerInfo > iControllerInfo

RPointerArray< CControllerInfo >iControllerInfo[protected]

TUint iCurrentDrives

TUint iCurrentDrives[protected]

TUint iDrives

TUint iDrives[protected]

TLanguage iLanguage

TLanguage iLanguage[protected]

TUint iPresentRemovableDrives

TUint iPresentRemovableDrives[protected]

TChar iSelectedDrive

TChar iSelectedDrive[protected]

RArray< TUid > iSids

RArray< TUid >iSids[protected]

TInt iUnused1

TInt iUnused1[protected]

TInt iUnused2

TInt iUnused2[protected]

TVersion iVersion

TVersion iVersion[protected]