![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
Applications that use this class will not work correctly on a version of EPOC earlier than ER5.
CBase |
Abstract: CBase behavior |
msvreg.h
ment.lib
This class is the base for classes to access 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.
TBool IsInUse() const;
Use this function to check if any registered MTM is in use.
TBool |
ETrue if any MTM in use, else EFalse |
TBool IsInUse(TUid aMtmTypeUid) const;
Use this function to check if the MTM with UID aMtmTypeUid is in use. You should check that the MTM is registered, through IsPresent(), before calling this function.
TUid aMtmTypeUid |
UID of MTM to check |
TBool |
ETrue if the specified MTM in use, else EFalse |
TBool IsPresent(TUid aMtmTypeUid) const;
Use this function to check if the MTM with UID aMtmTypeUid is registered.
TUid aMtmTypeUid |
UID of MTM to check |
TBool |
ETrue if the specified MTM in registered, else EFalse |
TUid MtmTypeUid(TInt anIndex) const;
Use this function to get the MTM UID of the registered MTM indexed by anIndex.
TInt anIndex |
Indexed of registered MTM |
TUid |
MTM UID |
TInt NumRegisteredMtmDlls() const;
Use this function to get the number of registered MTMs.
TInt |
Number of registered MTMs |
const CMtmDllInfo& RegisteredMtmDllInfo(TUid aMtmTypeUid) const;
Use this function to get the registration data for the specified MTM.
TUid aMtmTypeUid |
UID of MTM |
CMtmDllInfo& |
Registration data for MTM |
TUid TechnologyTypeUid(TUid aMtmTypeUid) const;
Use this function to get the technology type UID for the specified MTM.
TUid aMtmTypeUid |
UID of MTM |
TUid |
Technology type UID |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |