epoc32/include/apmrec.inl
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
--- a/epoc32/include/apmrec.inl	Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/apmrec.inl	Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,76 @@
-apmrec.inl
+// Copyright (c) 1997-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 TInt CApaDataRecognizerType::MimeTypesCount() const
+/** Gets the number of data (MIME) types supported by this recognizer.
+
+@return The number of data types.
+@see iCountDataTypes */
+	{
+	return iCountDataTypes;
+	}
+
+inline TUid CApaDataRecognizerType::TypeUid() const
+/** Gets the UID that identifies the recognizer.
+
+@return The UID. */
+	{
+	return iTypeUid;
+	}
+
+inline TInt CApaDataRecognizerType::Priority() const
+/** Gets the recognizer's priority.
+
+The priority defines the likelihood that the recognizer will successfully 
+identify data. This is one of the CApaDataRecognizerType::TRecognizerPriority 
+enumerators.
+
+@return The priority value.
+@see CApaDataRecognizerType::TRecognizerPriority */
+	{
+	return iPriority;
+	}
+	
+inline TInt CApaDataRecognizerType::Confidence() const
+/** Gets the recognizer's confidence rating for the most recently recognized data.
+
+@return The confidence rating. This is one of the TRecognitionConfidence enumeration 
+values.
+@see CApaDataRecognizerType::TRecognitionConfidence
+@see iConfidence */
+	{
+	return iConfidence;
+	}
+
+inline TInt CApaDataRecognizerType::Locked() const
+/** Tests whether the recognizer is locked.
+
+@return If zero, the recognizer is not locked; if greater than 0, the recognizer 
+is locked.
+@see Lock()
+@see Unlock() */
+	{
+	return iLock;
+	}
+
+// Deprecated - Use CApaDataRecognizer::AddDataRecognizerTypeL instead 
+// as adding a concrete recognizer into the list could leave.
+/**
+@deprecated 7.0s
+*/
+inline void CApaDataRecognizer::AddDataRecognizerType(CApaDataRecognizerType* aDataRecognizerType)
+	{
+	AddDataRecognizerTypeL(aDataRecognizerType);
+	}