GCC Code Coverage Report


Directory: ./
File: panels/sound/cc-profile-combo-box.h
Date: 2024-05-04 07:58:27
Exec Total Coverage
Lines: 0 1 0.0%
Functions: 0 2 0.0%
Branches: 0 6 0.0%

Line Branch Exec Source
1 /*
2 * Copyright (C) 2018 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #pragma once
19
20 #include <gtk/gtk.h>
21 #include <pulse/pulseaudio.h>
22 #include <gvc-mixer-control.h>
23 #include <gvc-mixer-ui-device.h>
24
25 G_BEGIN_DECLS
26
27 #define CC_TYPE_PROFILE_COMBO_BOX (cc_profile_combo_box_get_type ())
28 G_DECLARE_FINAL_TYPE (CcProfileComboBox, cc_profile_combo_box, CC, PROFILE_COMBO_BOX, GtkComboBox)
29
30 void cc_profile_combo_box_set_device (CcProfileComboBox *combo_box,
31 GvcMixerControl *mixer_control,
32 GvcMixerUIDevice *device);
33
34 gint cc_profile_combo_box_get_profile_count (CcProfileComboBox *combo_box);
35
36 G_END_DECLS
37