3 * Copyright 2012 Samsung Electronics Co., Ltd
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
9 * http://www.tizenopensource.org/license
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.
22 #ifndef __CALENDAR_ACCOUNT_SVC_H__
23 #define __CALENDAR_ACCOUNT_SVC_H__
26 #include <account-types.h>
38 #define CAL_ACCOUNT_SVC_STRUCT_GET_INT(acct, field, r) account_svc_get_value_int(acct, field, r);
39 #define CAL_ACCOUNT_SVC_STRUCT_GET_STR(acct, field, r) account_svc_get_value_str(acct, field, r);
41 Eina_List* cal_account_svc_get_account_list(void);
42 void cal_account_svc_free_account_list(Eina_List **); // don't care about "data"
43 char* cal_account_svc_get_account_icon_path(int account_id);
45 #endif /* __CALENDAR_ACCOUNT_SVC_H__ */