22
|
1 |
/*
|
|
2 |
* Copyright (c) 2006 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 |
* Stub for CJavaProtectionResolver when Java feature is not supported.
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
// INCLUDE FILES
|
|
23 |
#include <e32std.h>
|
|
24 |
#include <e32base.h> // CBase
|
|
25 |
#include <apmstd.h> // TDataType
|
|
26 |
#include <f32file.h> // RFs, RFile, CFileMan
|
|
27 |
|
|
28 |
#include "javaprotectionresolver.h"
|
|
29 |
|
|
30 |
// EXTERNAL DATA STRUCTURES
|
|
31 |
|
|
32 |
// EXTERNAL FUNCTION PROTOTYPES
|
|
33 |
|
|
34 |
// CONSTANTS
|
|
35 |
|
|
36 |
// MACROS
|
|
37 |
|
|
38 |
// LOCAL CONSTANTS AND MACROS
|
|
39 |
|
|
40 |
// MODULE DATA STRUCTURES
|
|
41 |
|
|
42 |
// LOCAL FUNCTION PROTOTYPES
|
|
43 |
|
|
44 |
// FORWARD DECLARATIONS
|
|
45 |
|
|
46 |
// ============================ MEMBER FUNCTIONS ===============================
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
// -----------------------------------------------------------------------------
|
|
51 |
// Factory
|
|
52 |
// -----------------------------------------------------------------------------
|
|
53 |
//
|
|
54 |
CJavaProtectionResolver* CJavaProtectionResolver::NewLC( RFs& aFs )
|
|
55 |
{
|
|
56 |
CJavaProtectionResolver* self = new ( ELeave ) CJavaProtectionResolver( aFs );
|
|
57 |
CleanupStack::PushL( self );
|
|
58 |
return self;
|
|
59 |
}
|
|
60 |
|
|
61 |
// -----------------------------------------------------------------------------
|
|
62 |
// C++ constructor
|
|
63 |
// -----------------------------------------------------------------------------
|
|
64 |
//
|
|
65 |
CJavaProtectionResolver::CJavaProtectionResolver( RFs& aFs ) :
|
|
66 |
iFs( aFs )
|
|
67 |
{
|
|
68 |
}
|
|
69 |
|
|
70 |
// -----------------------------------------------------------------------------
|
|
71 |
// Destructor
|
|
72 |
// -----------------------------------------------------------------------------
|
|
73 |
//
|
|
74 |
CJavaProtectionResolver::~CJavaProtectionResolver()
|
|
75 |
{
|
|
76 |
}
|
|
77 |
|
|
78 |
// -----------------------------------------------------------------------------
|
|
79 |
// CJavaProtectionResolver::CheckDRMStatus
|
|
80 |
// -----------------------------------------------------------------------------
|
|
81 |
//
|
|
82 |
TBool CJavaProtectionResolver::IsSuperDistributionPackageL( RFile& /*aFile*/ )
|
|
83 |
{
|
|
84 |
return EFalse;
|
|
85 |
}
|
|
86 |
|
|
87 |
// End of File
|