2.0 alpha
[apps/core/preloaded/calendar.git] / src / view-main-todo.c
1 /*\r
2   *\r
3   *  Copyright 2012  Samsung Electronics Co., Ltd\r
4   *\r
5   *  Licensed under the Flora License, Version 1.0 (the "License");\r
6   *  you may not use this file except in compliance with the License.\r
7   *  You may obtain a copy of the License at\r
8   *\r
9   *       http://www.tizenopensource.org/license\r
10   *\r
11   *  Unless required by applicable law or agreed to in writing, software\r
12   *  distributed under the License is distributed on an "AS IS" BASIS,\r
13   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
14   *  See the License for the specific language governing permissions and\r
15   *  limitations under the License.\r
16   */\r
17 \r
18 \r
19 #include "view.h"\r
20 #include "list.h"\r
21 \r
22 Evas_Object* cal_todo_create_view(struct appdata *ad, Evas_Object *main)\r
23 {\r
24         CAL_FN_START;\r
25 \r
26         c_retvm_if(!ad, NULL, "ad is NULL.");\r
27 \r
28         return cal_list_create_list_todo(ad, main);\r
29 }\r
30 \r
31 void cal_todo_update_view(Evas_Object *ly)\r
32 {\r
33         CAL_FN_END;\r
34 \r
35         c_retm_if(!ly, "ly is NULL.");\r
36 \r
37         cal_list_update_list(ly);\r
38 }\r
39 \r