equal
deleted
inserted
replaced
|
1 // sbrec.h |
|
2 // |
|
3 // Copyright (c) 2007 - 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "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 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #ifndef __SBREC_H__ |
|
14 #define __SBREC_H__ |
|
15 |
|
16 #include <apmrec.h> |
|
17 |
|
18 NONSHARABLE_CLASS(CShebangRecognizer) : public CApaDataRecognizerType |
|
19 { |
|
20 public: // From CApaDataRecognizerType. |
|
21 CShebangRecognizer(); |
|
22 TUint PreferredBufSize(); |
|
23 TDataType SupportedDataTypeL(TInt aIndex) const; |
|
24 // For ECOM. |
|
25 static CApaDataRecognizerType* CreateRecognizerL(); |
|
26 private: // From CApaDataRecognizerType. |
|
27 void DoRecognizeL(const TDesC& aName, const TDesC8& aBuffer); |
|
28 }; |
|
29 |
|
30 #endif |