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: ToDoListImpl JNI wrapper. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 |
|
21 #include "com_nokia_mj_impl_pim_ToDoListImpl.h" |
|
22 #include "pimcommon.h" |
|
23 #include "pimbaseitem.h" |
|
24 #include "pimbaselist.h" |
|
25 #include "pimutils.h" |
|
26 #include "logger.h" |
|
27 |
|
28 JNIEXPORT jintArray |
|
29 JNICALL Java_com_nokia_mj_impl_pim_ToDoListImpl__1itemsByDate( |
|
30 JNIEnv* aJniEnv, |
|
31 jobject /*aPeer*/, |
|
32 jint aToDoListHandle, |
|
33 jint aField, |
|
34 jlong aStartDate, |
|
35 jlong aEndDate, |
|
36 jintArray aError) |
|
37 { |
|
38 JELOG2(EPim); |
|
39 pimbaselist* toDoList = reinterpret_cast< pimbaselist *>(aToDoListHandle); |
|
40 |
|
41 jintArray itemHandles = toDoList->itemsByDate( |
|
42 aField, aStartDate, aEndDate, aJniEnv, aError); |
|
43 |
|
44 return itemHandles; |
|
45 } |
|
46 |
|
47 // End of File |