class TSsmSupInfo |
A parameter class intended to hold the information needed to identify utility plugins which are to be loaded into the Utility Server. These DLLs must have KSsmUtilityPluginDllTypeUid as their second UID and must have a function that returns an MSsmUtility object.
The first member of this class, filename, is mandatory to identify the plugin DLL. The second member is supposed to point at the DLL ordinal function which instantiates and returns an MSsmUtility object. The prototype for this function must be MSsmUtility* NewL(void) The third member can be used for an optional validation of the third UID of the DLL.
MSsmUtility SSM_START_SSM_UTILITY_PLUGIN
Public Member Functions | |
---|---|
TSsmSupInfo () | |
TSsmSupInfo (const TDesC &) | |
TSsmSupInfo (const TDesC &, TInt ) | |
TSsmSupInfo (const TDesC &, TInt , const TUid &) | |
~TSsmSupInfo () | |
IMPORT_C void | ExternalizeL ( RWriteStream &) |
IMPORT_C const TFileName & | FileName () |
IMPORT_C TUid | Identity () |
IMPORT_C void | InternalizeL ( RReadStream &) |
IMPORT_C TInt | NewLOrdinal () |
IMPORT_C void | SetL (const TDesC &, TInt , const TUid &) |
Private Attributes | |
---|---|
TFileName | iFileName |
TUid | iIdentity |
TInt32 | iNewLOrdinal |
TInt | iSpare |
IMPORT_C | TSsmSupInfo | ( | const TDesC & | aFileName | ) |
Constructor that lets you specify a DLL file name only. The DLL file name should not include the path or drive. Utility Plugin DLLs will only be loaded from the Z: drive.
The optional iIdentity member will be set to KNullUid and iNewLOrdinal will default to 1.
const TDesC & aFileName | A Utility Plugin DLL file name without drive or path |
IMPORT_C | TSsmSupInfo | ( | const TDesC & | aFileName, |
TInt | aNewLOrdinal | |||
) |
Constructor that lets you specify a DLL file name and ordinal function of the DLL which provides the static MSsmUtility* NewL() function. The DLL file name should not include the path or drive. Utility Plugin DLLs will only be loaded from the Z: drive.
IMPORT_C | TSsmSupInfo | ( | const TDesC & | aFileName, |
TInt | aNewLOrdinal, | |||
const TUid & | aIdentityUid | |||
) |
Constructor that lets you specify a DLL file name, the UID3 you expect it to have and which ordinal function of the DLL provides the static MSsmUtility* NewL() function. The Utility Plugin DLL must match both filename and expected UID. The DLL file name should not include the path or drive. Utility Plugin DLLs will only be loaded from the Z: drive.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | const |
RWriteStream & aWriteStream |
IMPORT_C void | InternalizeL | ( | RReadStream & | aReadStream | ) |
RReadStream & aReadStream |
IMPORT_C void | SetL | ( | const TDesC & | aFileName, |
TInt | aNewLOrdinal, | |||
const TUid & | aIdentityUid | |||
) |
Setter for member data.
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.