Swi::CAppInfo Class Reference
class Swi::CAppInfo : public CBase |
A lightweight class containing information about the application being installed.
Constructor & Destructor Documentation
CAppInfo(const TVersion &)
Member Functions Documentation
AppName()
const TDesC & | AppName | ( | ) | const [inline] |
Gets the application name.
AppVendor()
const TDesC & | AppVendor | ( | ) | const [inline] |
Gets the application vendor.
AppVersion()
const TVersion & | AppVersion | ( | ) | const [inline] |
Gets the application version.
ConstructL(const TDesC &, const TDesC &)
void | ConstructL | ( | const TDesC & | aAppName, |
| const TDesC & | aAppVendor |
| ) | [private] |
ExternalizeL(RWriteStream &)
Externalizes this object to the specified write stream.
Parameters
RWriteStream & aStream | Stream to which the contents should be externalized. |
InternalizeL(RReadStream &)
Initializes this object from the specified read stream.
Parameters
RReadStream & aStream | Stream from which the contents should be internalized. |
NewL(RReadStream &)
Creates a new CAppInfo object from the specified read stream.
Parameters
RReadStream & aStream | Stream from which the contents should be internalised. |
NewL(const TDesC &, const TDesC &, const TVersion &)
Creates a new CAppInfo object from the given parameters.
Parameters
const TDesC & aAppName | Stream from which the contents should be internalised. |
const TDesC & aAppVendor | The application vendor. |
const TVersion & aAppVersion | The application version. |
NewLC(RReadStream &)
Creates a new CAppInfo object from the specified read stream. The object is inserted into the CleanupStack.
Parameters
RReadStream & aStream | Stream from which the contents should be internalised. |
NewLC(const TDesC &, const TDesC &, const TVersion &)
Creates a new CAppInfo object from the given parameters. The object is inserted into the CleanupStack.
Parameters
const TDesC & aAppName | The application name. |
const TDesC & aAppVendor | The application vendor. |
const TVersion & aAppVersion | The application version. |
ReadBufFromStreamL(HBufC *&, RReadStream &)
Helper function used to internalize a descriptor from a stream, into a member variable. This function frees the memory pointed to first.
Parameters
HBufC *& aBuffer | Reference to the pointer which will point at newly allocated buffer. |
RReadStream & aStream | Stream from which the descriptor is read. |
Member Data Documentation
HBufC * iAppVendor
HBufC * | iAppVendor | [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.