TSsmSupInfo Class Reference
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
Constructor & Destructor Documentation
TSsmSupInfo(const TDesC &)
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.
Parameters
const TDesC & aFileName | A Utility Plugin DLL file name without drive or path |
TSsmSupInfo(const TDesC &, TInt)
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.
Parameters
const TDesC & aFileName | A Utility Plugin DLL file name without drive or path |
TInt aNewLOrdinal | The ordinal number of the static MSsmUtility* NewL() function |
TSsmSupInfo(const TDesC &, TInt, const TUid &)
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.
Parameters
const TDesC & aFileName | A Utility Plugin DLL file name without drive or path |
TInt aNewLOrdinal | The ordinal number of the static MSsmUtility* NewL() function |
const TUid & aIdentityUid | The expected UID3 in the DLL specified by aFileName |
Member Functions Documentation
ExternalizeL(RWriteStream &)
Identity()
IMPORT_C TUid | Identity | ( | ) | const |
InternalizeL(RReadStream &)
NewLOrdinal()
IMPORT_C TInt | NewLOrdinal | ( | ) | const |
SetL(const TDesC &, TInt, const TUid &)
IMPORT_C void | SetL | ( | const TDesC & | aFileName, |
| TInt | aNewLOrdinal, |
| const TUid & | aIdentityUid |
| ) | |
Parameters
const TDesC & aFileName | A Utility Plugin DLL file name without drive or path |
TInt aNewLOrdinal | The ordinal number of the static MSsmUtility* NewL() function |
const TUid & aIdentityUid | The expected UID3 in the DLL specified by aFileName, or KNullUid to skip this optional security check. |
Member Data Documentation
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.