sl@0: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: inline TInt CApaDataRecognizerType::MimeTypesCount() const sl@0: /** Gets the number of data (MIME) types supported by this recognizer. sl@0: sl@0: @return The number of data types. sl@0: @see iCountDataTypes */ sl@0: { sl@0: return iCountDataTypes; sl@0: } sl@0: sl@0: inline TUid CApaDataRecognizerType::TypeUid() const sl@0: /** Gets the UID that identifies the recognizer. sl@0: sl@0: @return The UID. */ sl@0: { sl@0: return iTypeUid; sl@0: } sl@0: sl@0: inline TInt CApaDataRecognizerType::Priority() const sl@0: /** Gets the recognizer's priority. sl@0: sl@0: The priority defines the likelihood that the recognizer will successfully sl@0: identify data. This is one of the CApaDataRecognizerType::TRecognizerPriority sl@0: enumerators. sl@0: sl@0: @return The priority value. sl@0: @see CApaDataRecognizerType::TRecognizerPriority */ sl@0: { sl@0: return iPriority; sl@0: } sl@0: sl@0: inline TInt CApaDataRecognizerType::Confidence() const sl@0: /** Gets the recognizer's confidence rating for the most recently recognized data. sl@0: sl@0: @return The confidence rating. This is one of the TRecognitionConfidence enumeration sl@0: values. sl@0: @see CApaDataRecognizerType::TRecognitionConfidence sl@0: @see iConfidence */ sl@0: { sl@0: return iConfidence; sl@0: } sl@0: sl@0: inline TInt CApaDataRecognizerType::Locked() const sl@0: /** Tests whether the recognizer is locked. sl@0: sl@0: @return If zero, the recognizer is not locked; if greater than 0, the recognizer sl@0: is locked. sl@0: @see Lock() sl@0: @see Unlock() */ sl@0: { sl@0: return iLock; sl@0: } sl@0: sl@0: #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS sl@0: sl@0: // Deprecated - Use CApaDataRecognizer::AddDataRecognizerTypeL instead sl@0: // as adding a concrete recognizer into the list could leave. sl@0: /** sl@0: @deprecated 7.0s sl@0: */ sl@0: inline void CApaDataRecognizer::AddDataRecognizerType(CApaDataRecognizerType* aDataRecognizerType) sl@0: { sl@0: AddDataRecognizerTypeL(aDataRecognizerType); sl@0: } sl@0: sl@0: #endif //SYMBIAN_ENABLE_SPLIT_HEADERS