epoc32/include/msvreg.inl
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations

// 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();
	}