equal
deleted
inserted
replaced
1 #ifndef MMAPIUTILS_H |
|
2 #define MMAPIUTILS_H |
|
3 #include "jni.h" |
|
4 #include "e32base.h" |
|
5 #include "BADESCA.H" |
|
6 |
|
7 class MMAPIUtils |
|
8 { |
|
9 public: |
|
10 |
|
11 static TInt CopyToJava(JNIEnv& aJni, const TDesC8& aNativeBuffer, |
|
12 jbyteArray aJavaBuffer, TInt aOffset, TInt aLength); |
|
13 static jstring CreateJavaString(JNIEnv& aJni, const TDesC16& aString); |
|
14 |
|
15 static jobjectArray CopyToNewJavaStringArrayL(JNIEnv& aJni, const CDesCArray& aNativeArray); |
|
16 |
|
17 static void AddToJavaStringArrayL(JNIEnv& aJni, jobjectArray& aContainer, TInt aPosition, const TDesC& aString); |
|
18 }; |
|
19 |
|
20 #endif // MMAPIUTILS_H |
|