Add BT agent functionality on Tizen 3.0
[platform/core/connectivity/bluetooth-agent.git] / pb-agent / bluetooth_pb_vcard.h
index 24d9675..38edd84 100644 (file)
@@ -1,13 +1,17 @@
 /*
- * bluetooth-agent
+ * Bluetooth-agent
  *
- * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:  Hocheol Seo <hocheol.seo@samsung.com>
+ *              Girishashok Joshi <girish.joshi@samsung.com>
+ *              Chanyeol Park <chanyeol.park@samsung.com>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *              http://www.apache.org/licenses/LICENSE-2.0
+ *             http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
 
 #include <glib.h>
 
+#define SIM_ADDRESSBOOK_PREFIX "http://tizen.samsung.com/addressbook/sim"
+
+typedef enum {
+       PBAP_ADDRESSBOOK_PHONE,
+       PBAP_ADDRESSBOOK_SIM,
+} bt_pbap_addressbook_e;
+
 /* vcard */
 gchar *_bluetooth_pb_vcard_contact(gint person_id,
                                guint64 filter,
@@ -50,4 +61,6 @@ gchar *_bluetooth_pb_number_from_phonelog_id(gint phonelog_id);
 
 gchar *_bluetooth_pb_owner_name(void);
 
+bool _bt_is_sim_addressbook(const char *addressbook);
+
 #endif