equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005 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: Symbian recognizer for DRM protected files |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #if !defined(__RECDRM_H__) |
|
20 #define __RECDRM_H__ |
|
21 |
|
22 #include <apmrec.h> |
|
23 |
|
24 #include <DRMCommon.h> |
|
25 |
|
26 class CApaDRMRecognizer : public CApaDataRecognizerType |
|
27 { |
|
28 public: // from CApaDataRecognizerType |
|
29 CApaDRMRecognizer(); |
|
30 ~CApaDRMRecognizer(); |
|
31 static CApaDataRecognizerType* CreateRecognizerL(); |
|
32 TUint PreferredBufSize(); |
|
33 TDataType SupportedDataTypeL( TInt aIndex ) const; |
|
34 private: // from CApaDataRecognizerType |
|
35 void DoRecognizeL( const TDesC& aName, const TDesC8& aBuffer ); |
|
36 |
|
37 private: |
|
38 TBool RecognizeRoapTrigger( const TDesC8& aBuffer ); |
|
39 TBool RecognizeODF( const TDesC8& aBuffer ); |
|
40 TBool iNameRecognized; |
|
41 }; |
|
42 |
|
43 #endif |