os/ossrv/genericservices/mimerecognitionfw/inc/APMREC.INL
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericservices/mimerecognitionfw/inc/APMREC.INL	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,80 @@
     1.4 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +inline TInt CApaDataRecognizerType::MimeTypesCount() const
    1.20 +/** Gets the number of data (MIME) types supported by this recognizer.
    1.21 +
    1.22 +@return The number of data types.
    1.23 +@see iCountDataTypes */
    1.24 +	{
    1.25 +	return iCountDataTypes;
    1.26 +	}
    1.27 +
    1.28 +inline TUid CApaDataRecognizerType::TypeUid() const
    1.29 +/** Gets the UID that identifies the recognizer.
    1.30 +
    1.31 +@return The UID. */
    1.32 +	{
    1.33 +	return iTypeUid;
    1.34 +	}
    1.35 +
    1.36 +inline TInt CApaDataRecognizerType::Priority() const
    1.37 +/** Gets the recognizer's priority.
    1.38 +
    1.39 +The priority defines the likelihood that the recognizer will successfully 
    1.40 +identify data. This is one of the CApaDataRecognizerType::TRecognizerPriority 
    1.41 +enumerators.
    1.42 +
    1.43 +@return The priority value.
    1.44 +@see CApaDataRecognizerType::TRecognizerPriority */
    1.45 +	{
    1.46 +	return iPriority;
    1.47 +	}
    1.48 +	
    1.49 +inline TInt CApaDataRecognizerType::Confidence() const
    1.50 +/** Gets the recognizer's confidence rating for the most recently recognized data.
    1.51 +
    1.52 +@return The confidence rating. This is one of the TRecognitionConfidence enumeration 
    1.53 +values.
    1.54 +@see CApaDataRecognizerType::TRecognitionConfidence
    1.55 +@see iConfidence */
    1.56 +	{
    1.57 +	return iConfidence;
    1.58 +	}
    1.59 +
    1.60 +inline TInt CApaDataRecognizerType::Locked() const
    1.61 +/** Tests whether the recognizer is locked.
    1.62 +
    1.63 +@return If zero, the recognizer is not locked; if greater than 0, the recognizer 
    1.64 +is locked.
    1.65 +@see Lock()
    1.66 +@see Unlock() */
    1.67 +	{
    1.68 +	return iLock;
    1.69 +	}
    1.70 +
    1.71 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    1.72 +
    1.73 +// Deprecated - Use CApaDataRecognizer::AddDataRecognizerTypeL instead 
    1.74 +// as adding a concrete recognizer into the list could leave.
    1.75 +/**
    1.76 +@deprecated 7.0s
    1.77 +*/
    1.78 +inline void CApaDataRecognizer::AddDataRecognizerType(CApaDataRecognizerType* aDataRecognizerType)
    1.79 +	{
    1.80 +	AddDataRecognizerTypeL(aDataRecognizerType);
    1.81 +	}
    1.82 +
    1.83 +#endif //SYMBIAN_ENABLE_SPLIT_HEADERS
    1.84 \ No newline at end of file