1.1 --- a/epoc32/include/msvreg.inl Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/msvreg.inl Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,94 @@
1.4 -msvreg.inl
1.5 +// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// 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
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +
1.20 +
1.21 +
1.22 +inline TPtrC CMtmDllInfo::HumanReadableName() const
1.23 +/** Gets the descriptive name of the MTM component for which the object holds registration
1.24 +data.
1.25 +
1.26 +@return Descriptor holding the descriptive name of the MTM component */
1.27 + {
1.28 + return iHumanReadableName->Des();
1.29 + }
1.30 +
1.31 +inline TUid CMtmGroupData::MtmTypeUid() const
1.32 +/** Gets the group UID.
1.33 +
1.34 +@return UID that uniquely identifies the MTM group */
1.35 + {
1.36 + return iMtmTypeUid;
1.37 + }
1.38 +
1.39 +inline TUid CMtmGroupData::TechnologyTypeUid() const
1.40 +/** Gets the technology UID.
1.41 +
1.42 +Technology types can be used to conceptually group different MTMs (e.g. as
1.43 +providing Internet email).
1.44 +
1.45 +@return UID that indicates the messaging technology that the MTM group implements */
1.46 + {
1.47 + return iTechnologyTypeUid;
1.48 + }
1.49 +
1.50 +
1.51 +inline TUid CRegisteredMtmDll::MtmTypeUid() const
1.52 +/** Gets the MTM type UID.
1.53 +
1.54 +@return MTM type UID */
1.55 + {
1.56 + return iMtmTypeUid;
1.57 + }
1.58 +
1.59 +inline TUid CRegisteredMtmDll::TechnologyTypeUid() const
1.60 +/** Gets the technology type UID.
1.61 +
1.62 +@return UID that indicates the messaging technology that the MTM group implements */
1.63 + {
1.64 + return iTechnologyTypeUid;
1.65 + }
1.66 +
1.67 +inline const CMtmDllInfo& CRegisteredMtmDll::MtmDllInfo() const
1.68 +/** Gets the full registration data for the MTM.
1.69 +
1.70 +@return Object encapsulating full registration data for the MTM */
1.71 + {
1.72 + return *iMtmDllInfo;
1.73 + }
1.74 +
1.75 +inline TInt CRegisteredMtmDll::MtmDllRefCount() const
1.76 +/** Gets the number of MTM objects instantiated from the registry.
1.77 +
1.78 +@return Number of current instances of the MTM */
1.79 + {
1.80 + return iMtmDllRefCount;
1.81 + }
1.82 +
1.83 +inline TInt CMtmDllRegistry::NumRegisteredMtmDlls() const
1.84 +/** Gets the number of registered MTMs.
1.85 +
1.86 +@return Number of registered MTMs */
1.87 + {
1.88 + return iRegisteredMtmDllArray.Count();
1.89 + }
1.90 +
1.91 +inline TBool CMtmDllRegistry::IsPresent(TUid aMtmTypeUid) const
1.92 +/** Tests if the MTM with the specified UID is registered.
1.93 +
1.94 +@param aMtmTypeUid UID of MTM to check
1.95 +@return ETrue if the specified MTM in registered, else EFalse */
1.96 + {
1.97 + return MtmTypeUidToIndex(aMtmTypeUid)<iRegisteredMtmDllArray.Count();
1.98 + }