equal
deleted
inserted
replaced
|
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: Common stuff for File Extended |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef FILEEXTENDEDCOMMON_H |
|
20 #define FILEEXTENDEDCOMMON_H |
|
21 |
|
22 #include <jni.h> |
|
23 #include <string> |
|
24 |
|
25 namespace java |
|
26 { |
|
27 namespace fileutility |
|
28 { |
|
29 |
|
30 // NOTE!!! To be removed once a compatible convertion utility is available in java commons. |
|
31 // Reason why it has been defined is present in the cpp file. |
|
32 class FileUtil |
|
33 { |
|
34 |
|
35 public: |
|
36 static std::wstring jstringToWstring(JNIEnv* env, const jstring& jStr); |
|
37 |
|
38 }; |
|
39 |
|
40 } // end namespace fileutility |
|
41 } // end namespace java |
|
42 |
|
43 #endif // FILEEXTENDEDCOMMON_H |