Tizen 2.1 base
[apps/core/preloaded/calendar.git] / src / list-data.h
1 /*
2   *
3   *  Copyright 2012  Samsung Electronics Co., Ltd
4   *
5   *  Licensed under the Flora License, Version 1.0 (the "License");
6   *  you may not use this file except in compliance with the License.
7   *  You may obtain a copy of the License at
8   *
9   *       http://floralicense.org/license/
10   *
11   *  Unless required by applicable law or agreed to in writing, software
12   *  distributed under the License is distributed on an "AS IS" BASIS,
13   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   *  See the License for the specific language governing permissions and
15   *  limitations under the License.
16   */
17
18 #ifndef __LIST_BROKER_H__
19 #define __LIST_BROKER_H__
20
21 #include "cld.h"
22
23 typedef void* cal_list_data_h;
24
25 cal_list_data_h
26         cal_list_data_create(
27                 calendar_query_h query1, calendar_query_h query2, calendar_query_h query3,
28                 unsigned int time_property_id1, unsigned int time_property_id2, unsigned int time_property_id3);
29
30 calendar_record_h cal_list_data_get_next(cal_list_data_h cursor, bool* day_has_changed);
31
32 void cal_list_data_destroy(cal_list_data_h cursor, bool delete_records);
33
34 #endif