|
1 /* |
|
2 * Copyright (c) 2008 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: JNI Layer for File DRM Handler |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "com_nokia_mj_impl_fileutils_FileDRMContentHandler.h" |
|
20 |
|
21 /* |
|
22 * Class: com_nokia_mj_impl_fileutils_FileDRMContentHandler |
|
23 * Method: _isProtectedFile |
|
24 * Signature: (Ljava/lang/String;)Z |
|
25 */ |
|
26 JNIEXPORT jboolean JNICALL Java_com_nokia_mj_impl_fileutils_FileDRMContentHandler__1isProtectedFile |
|
27 (JNIEnv *aJni, jclass, jstring aName) |
|
28 { |
|
29 return false; |
|
30 } |
|
31 |
|
32 /* |
|
33 * Class: com_nokia_mj_impl_fileutils_FileDRMContentHandler |
|
34 * Method: _setDrmArguments |
|
35 * Signature: (IZI)I |
|
36 */ |
|
37 JNIEXPORT void JNICALL Java_com_nokia_mj_impl_fileutils_FileDRMContentHandler__1setDrmArguments |
|
38 (JNIEnv *, jobject, jint, jboolean, jint) |
|
39 { |
|
40 } |
|
41 |
|
42 /* |
|
43 * Class: com_nokia_mj_impl_fileutils_FileDRMContentHandler |
|
44 * Method: _createDrmHandler |
|
45 * Signature: (Ljava/lang/String;)I |
|
46 */ |
|
47 JNIEXPORT jint JNICALL Java_com_nokia_mj_impl_fileutils_FileDRMContentHandler__1createDrmHandler |
|
48 (JNIEnv *aJni, jobject, jstring aName) |
|
49 { |
|
50 return 0; |
|
51 } |