equal
deleted
inserted
replaced
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // 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 |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
57 /** The data type. */ |
57 /** The data type. */ |
58 TDataType iDataType; |
58 TDataType iDataType; |
59 /** The confidence rating associated with the data (EMIME) type. */ |
59 /** The confidence rating associated with the data (EMIME) type. */ |
60 TInt iConfidence; |
60 TInt iConfidence; |
61 }; |
61 }; |
62 |
62 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
63 /** |
63 /** |
64 @internalComponent |
64 @internalComponent |
65 */ |
65 */ |
66 const TInt KDataArrayGranularity=5; |
66 const TInt KDataArrayGranularity=5; |
67 |
67 |
|
68 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
68 /** |
69 /** |
69 @publishedAll |
70 @publishedAll |
70 @released |
71 @released |
71 */ |
72 */ |
72 typedef CArrayFixFlat<TDataType> CDataTypeArray; |
73 typedef CArrayFixFlat<TDataType> CDataTypeArray; |
|
74 |
|
75 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
73 |
76 |
74 class CApaDataRecognizer : public CBase |
77 class CApaDataRecognizer : public CBase |
75 /** |
78 /** |
76 @internalTechnology |
79 @internalTechnology |
77 */ |
80 */ |
111 RArray<TDataType> iDataArray; |
114 RArray<TDataType> iDataArray; |
112 TInt iAcceptedConfidence; |
115 TInt iAcceptedConfidence; |
113 TDataRecognitionResult iResult; |
116 TDataRecognitionResult iResult; |
114 RFile* iFilePassedByHandle; |
117 RFile* iFilePassedByHandle; |
115 }; |
118 }; |
|
119 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
116 |
120 |
117 class CApaDataRecognizerType : public CBase |
121 class CApaDataRecognizerType : public CBase |
118 /** Abstract base class for a recognizer. |
122 /** Abstract base class for a recognizer. |
119 |
123 |
120 Concrete recognizers need to define and implement a derived class; specifically, |
124 Concrete recognizers need to define and implement a derived class; specifically, |