/* * Copyright (C) 2014 Wim Taymans * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. */ typedef enum { HSD_PROFILE_ID_INVALID, HSD_PROFILE_ID_HSP_AG, HSD_PROFILE_ID_HFP_AG, HSD_PROFILE_ID_LAST = HSD_PROFILE_ID_HFP_AG } HsdProfileId; #define HSD_PROFILE_HSP_AG_NAME "hsp_ag" #define HSD_PROFILE_HSP_AG_UUID "00001112-0000-1000-8000-00805f9b34fb" #define HSD_PROFILE_HFP_AG_NAME "hfp_ag" #define HSD_PROFILE_HFP_AG_UUID "0000111f-0000-1000-8000-00805f9b34fb" struct _HsdProfile { HsdManager *manager; gchar *uuid; gchar *path; guint id; GHashTable *objs; }; HsdProfile * hsd_profile_new (HsdManager *manager, HsdProfileId id, GError **error); void hsd_profile_free (HsdProfile *profile);