epoc32/include/msvreg.inl
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
--- a/epoc32/include/msvreg.inl	Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/msvreg.inl	Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,94 @@
-msvreg.inl
+// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+
+inline TPtrC CMtmDllInfo::HumanReadableName() const
+/** Gets the descriptive name of the MTM component for which the object holds registration 
+data.
+
+@return Descriptor holding the descriptive name of the MTM component */
+	{
+	return iHumanReadableName->Des();
+	}
+
+inline TUid CMtmGroupData::MtmTypeUid() const
+/** Gets the group UID.
+
+@return UID that uniquely identifies the MTM group */
+	{
+	return iMtmTypeUid;
+	}
+
+inline TUid CMtmGroupData::TechnologyTypeUid() const
+/** Gets the technology UID.
+
+Technology types can be used to conceptually group different MTMs (e.g. as 
+providing Internet email).
+
+@return UID that indicates the messaging technology that the MTM group implements */
+	{
+	return iTechnologyTypeUid;
+	}
+
+
+inline TUid CRegisteredMtmDll::MtmTypeUid() const
+/** Gets the MTM type UID.
+
+@return MTM type UID */
+	{
+	return iMtmTypeUid;
+	}
+
+inline TUid CRegisteredMtmDll::TechnologyTypeUid() const
+/** Gets the technology type UID.
+
+@return UID that indicates the messaging technology that the MTM group implements */
+	{
+	return iTechnologyTypeUid;
+	}
+
+inline const CMtmDllInfo& CRegisteredMtmDll::MtmDllInfo() const
+/** Gets the full registration data for the MTM.
+
+@return Object encapsulating full registration data for the MTM */
+	{
+	return *iMtmDllInfo;
+	}
+
+inline TInt CRegisteredMtmDll::MtmDllRefCount() const
+/** Gets the number of MTM objects instantiated from the registry.
+
+@return Number of current instances of the MTM */
+	{
+	return iMtmDllRefCount;
+	}
+
+inline TInt CMtmDllRegistry::NumRegisteredMtmDlls() const
+/** Gets the number of registered MTMs.
+
+@return Number of registered MTMs */
+	{
+	return iRegisteredMtmDllArray.Count();
+	}
+
+inline TBool CMtmDllRegistry::IsPresent(TUid aMtmTypeUid) const
+/** Tests if the MTM with the specified UID is registered.
+
+@param aMtmTypeUid UID of MTM to check 
+@return ETrue if the specified MTM in registered, else EFalse */
+	{
+	return MtmTypeUidToIndex(aMtmTypeUid)<iRegisteredMtmDllArray.Count();
+	}