equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Recognizer for vCalendar and vCard. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef _VREC_H_ |
|
23 #define _VREC_H_ |
|
24 |
|
25 // INCLUDES |
|
26 #include <apmrec.h> |
|
27 |
|
28 // CLASS DECLARATION |
|
29 /** |
|
30 * Recogniser for vCards and vCalendars. |
|
31 * A confidence of ECertain is used because vrec.mdl has to override rversit.mdl. |
|
32 */ |
|
33 class CVRec : public CApaDataRecognizerType |
|
34 { |
|
35 public: // from CApaDataRecognizerType |
|
36 |
|
37 static CApaDataRecognizerType* CreateRecognizerL(); |
|
38 |
|
39 CVRec(); |
|
40 TUint PreferredBufSize(); |
|
41 TDataType SupportedDataTypeL(TInt aIndex) const; |
|
42 private: // from CApaDataRecognizerType |
|
43 void DoRecognizeL(const TDesC& aName, const TDesC8& aBuffer); |
|
44 private: |
|
45 // For testing purposes only |
|
46 friend class T_CVRecTestAccessor; |
|
47 }; |
|
48 |
|
49 #endif //_VREC_H_ |
|
50 |
|
51 //end of file |