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.
Constructor & Destructor Documentation
CSisRegistryPackage()
CSisRegistryPackage
|
(
|
)
|
[protected]
|
CSisRegistryPackage(TUid)
CSisRegistryPackage
|
(
|
TUid
|
aUid
|
)
|
[protected]
|
Parameters
TUid
aUid
|
TUid used to initialise the package.
|
~CSisRegistryPackage()
IMPORT_C
|
~CSisRegistryPackage
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(const TDesC &, const TDesC &)
void
|
ConstructL
|
(
|
const
TDesC
&
|
aName,
|
|
const
TDesC
&
|
aVendor
|
|
)
|
[protected]
|
The second-phase constructor.
Parameters
const
TDesC
& aName
|
The package name.
|
const
TDesC
& aVendor
|
|
ConstructL(RReadStream &)
The second-phase constructor.
Parameters
RReadStream
& aStream
|
RReadStream stream object reference which contains the streamed object.
|
ConstructL(const CSisRegistryPackage &)
The second-phase constructor.
ExternalizeL(RWriteStream &)
Writes object data to stream
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 &)
Reads object data from stream
Name()
const
TDesC
&
|
Name
|
(
|
)
|
const [inline]
|
The package name. This method is used to get the package name.
NewL(TUid, const TDesC &, const TDesC &)
Parameters
TUid
aUid
|
The Uid of the application
|
const
TDesC
& aName
|
The name of the application
|
const
TDesC
& aVendor
|
The name of the Vendor
|
NewL(const CSisRegistryPackage &)
Construct an object from an existing one
NewLC(TUid, const TDesC &, const TDesC &)
Parameters
TUid
aUid
|
The Uid of the application
|
const
TDesC
& aName
|
The name of the application
|
const
TDesC
& aVendor
|
The name of the Vendor
|
NewLC(RReadStream &)
Parameters
RReadStream
& aStream
|
Stream to read the object data from
|
NewLC(const CSisRegistryPackage &)
Construct an object from an existing one and place it on the cleanup stack
SetIndex(const TInt)
void
|
SetIndex
|
(
|
const
TInt
|
aIndex
|
)
|
[inline]
|
Sets the package index. This method Sets the package index.
Parameters
const
TInt
aIndex
|
index as TInt.
|
SetNameL(const TDesC &)
IMPORT_C void
|
SetNameL
|
(
|
const
TDesC
&
|
aName
|
)
|
|
Sets the localized package name.
Parameters
const
TDesC
& aName
|
string 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 &)
Parameters
const
CSisRegistryPackage
& aOther
|
The 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
HBufC * iPackageName
HBufC
*
|
iPackageName
|
[protected]
|
HBufC * iVendorName
HBufC
*
|
iVendorName
|
[protected]
|
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.