equal
deleted
inserted
replaced
|
1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // RECSCHEME.H |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __WEBURLREC_H__ |
|
19 #define __WEBURLREC_H__ |
|
20 |
|
21 #if !defined(__APMREC_H__) |
|
22 #include <apmrec.h> |
|
23 #endif |
|
24 |
|
25 const TInt KMaxQualiferLength=12; |
|
26 |
|
27 class CApaSchemeRecognizer : public CApaDataRecognizerType |
|
28 // Recognises schemes which form the front of urls |
|
29 { |
|
30 public: // from CApaDataRecognizerType |
|
31 CApaSchemeRecognizer(); |
|
32 TUint PreferredBufSize(); |
|
33 TDataType SupportedDataTypeL(TInt aIndex) const; |
|
34 #ifdef __UI_FRAMEWORKS_V2__ |
|
35 static CApaDataRecognizerType* NewL(); |
|
36 #endif //__UI_FRAMEWORKS_V2__ |
|
37 private: |
|
38 // from CApaDataRecognizerType |
|
39 void DoRecognizeL(const TDesC& aName, const TDesC8& aBuffer); |
|
40 TBool FindScheme(const TDesC& aScheme, const TDesC& aUrl); |
|
41 }; |
|
42 |
|
43 #endif // __WEBURLREC_H__ |