4 * Copyright 2016 Samsung Electronics Co., Ltd
6 * Licensed under the Flora License, Version 1.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.tizenopensource.org/license
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef __BT_CONTACTS_WRAPPER_H__
21 #define __BT_CONTACTS_WRAPPER_H__
26 /* It is a mock contatct-service2 becuase TV profile have No contacts-service2.
27 * Note that even if it includes contacts - service2, the behavior is not chanaged
28 * because the code determines profile at runtime.
30 typedef int* contacts_record_h;
31 static inline void dummy_void()
34 static inline int dummy_int(int x)
38 #define contacts_vcard_make_from_my_profile(a, b) dummy_void()
39 #define contacts_vcard_make_from_person(a, b) dummy_void()
40 #define contacts_db_get_record(x, y, z) dummy_int(0)
41 #define contacts_record_destroy(a, b) dummy_void()
42 #define contacts_connect() dummy_int(-1)
43 static inline int contacts_disconnect()
47 #define contacts_record_get_str_p(x, y, z) dummy_void()
48 #define CONTACTS_ERROR_NONE (0)
49 #endif //BT_TV_PROFILE
51 #endif /* __BT_CONTACTS_WRAPPER_H__ */