Location:
msvreg.h
Link against:
msgs.lib
CMtmDllRegistry
Support
Supported from 5.0
Description
Accesses the various MTM component registries. The derived classes used by clients are CClientMtmRegistry, CMtmUiDataRegistry, and CMtmUiRegistry. It provides functions to discover the MTMs registered in such a registry. The registered MTMs can be regarded as existing in a list: you can use NumRegisteredMtmDlls() to get the number in the list, and MtmTypeUid() to index into it.
In pre-Unicode versions this class had the import library ment.lib.
Derivation
CBase | Base class for all classes to be instantiated on the heap |
CMtmDllRegistry | Accesses the various MTM component registries |
|
Defined in CMtmDllRegistry:
IsInUse(), IsPresent(), MtmTypeUid(), NumRegisteredMtmDlls(), RegisteredMtmDllInfo(), TechnologyTypeUid()
Inherited from CBase:
operator new()
TBool IsInUse() const;
Description
Tests if any registered MTM is in use.
Return value
TBool
|
ETrue if any MTM in use, else EFalse
|
|
TBool IsInUse(TUid aMtmTypeUid) const;
Description
Tests if the MTM with the specified UID is in use. You should check that the MTM is registered, through IsPresent(), before calling this function.
Parameters
TUid aMtmTypeUid
|
UID of MTM to check
|
|
Return value
TBool
|
ETrue if the specified MTM in use, else EFalse
|
|
TBool IsPresent(TUid aMtmTypeUid) const;
Description
Tests if the MTM with the specified UID is registered.
Parameters
TUid aMtmTypeUid
|
UID of MTM to check
|
|
Return value
TBool
|
ETrue if the specified MTM in registered, else EFalse
|
|
TUid MtmTypeUid(TInt anIndex) const;
Description
Gets the MTM UID of a registered MTM using its index.
Parameters
TInt anIndex
|
Indexed of registered MTM
|
|
Return value
TInt NumRegisteredMtmDlls() const;
Description
Gets the number of registered MTMs.
Return value
TInt
|
Number of registered MTMs
|
|
const CMtmDllInfo& RegisteredMtmDllInfo(TUid aMtmTypeUid) const;
Description
Gets the registration data for the specified MTM.
Parameters
TUid aMtmTypeUid
|
UID of MTM
|
|
Return value
CMtmDllInfo&
|
Registration data for MTM
|
|
TUid TechnologyTypeUid(TUid aMtmTypeUid) const;
Description
Gets the technology type UID for the specified MTM.
Parameters
TUid aMtmTypeUid
|
UID of MTM
|
|
Return value