~elementary-os/elementaryos/os-patch-gnome-bluetooth-bionic

« back to all changes in this revision

Viewing changes to lib/bluetooth-settings-widget.h

  • Committer: RabbitBot
  • Date: 2018-02-05 12:57:34 UTC
  • Revision ID: rabbitbot@elementary.io-20180205125734-a49s78k7asb5pokc
Initial import, version 3.26.1-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *
 
3
 *  Copyright (C) 2013 Bastien Nocera <hadess@hadess.net>
 
4
 *
 
5
 *  This library is free software; you can redistribute it and/or
 
6
 *  modify it under the terms of the GNU Lesser General Public
 
7
 *  License as published by the Free Software Foundation; either
 
8
 *  version 2.1 of the License, or (at your option) any later version.
 
9
 *
 
10
 *  This library is distributed in the hope that it will be useful,
 
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 *  Lesser General Public License for more details.
 
14
 *
 
15
 *  You should have received a copy of the GNU Lesser General Public
 
16
 *  License along with this library; if not, write to the Free Software
 
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
18
 *
 
19
 */
 
20
 
 
21
#ifndef __BLUETOOTH_SETTINGS_WIDGET_H
 
22
#define __BLUETOOTH_SETTINGS_WIDGET_H
 
23
 
 
24
#include <gtk/gtk.h>
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
#define BLUETOOTH_TYPE_SETTINGS_WIDGET (bluetooth_settings_widget_get_type())
 
29
#define BLUETOOTH_SETTINGS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
 
30
                                BLUETOOTH_TYPE_SETTINGS_WIDGET, BluetoothSettingsWidget))
 
31
#define BLUETOOTH_SETTINGS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
 
32
                                BLUETOOTH_TYPE_SETTINGS_WIDGET, BluetoothSettingsWidgetClass))
 
33
#define BLUETOOTH_IS_SETTINGS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
 
34
                                                BLUETOOTH_TYPE_SETTINGS_WIDGET))
 
35
#define BLUETOOTH_IS_SETTINGS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), \
 
36
                                                BLUETOOTH_TYPE_SETTINGS_WIDGET))
 
37
#define BLUETOOTH_GET_SETTINGS_WIDGET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \
 
38
                                BLUETOOTH_TYPE_SETTINGS_WIDGET, BluetoothSettingsWidgetClass))
 
39
 
 
40
/**
 
41
 * BluetoothSettingsWidget:
 
42
 *
 
43
 * The <structname>BluetoothSettingsWidget</structname> struct contains
 
44
 * only private fields and should not be directly accessed.
 
45
 */
 
46
typedef struct _BluetoothSettingsWidget BluetoothSettingsWidget;
 
47
typedef struct _BluetoothSettingsWidgetClass BluetoothSettingsWidgetClass;
 
48
 
 
49
struct _BluetoothSettingsWidget {
 
50
        GtkBox parent;
 
51
};
 
52
 
 
53
struct _BluetoothSettingsWidgetClass {
 
54
        GtkBoxClass parent_class;
 
55
};
 
56
 
 
57
GType bluetooth_settings_widget_get_type (void);
 
58
 
 
59
GtkWidget *bluetooth_settings_widget_new (void);
 
60
 
 
61
gboolean bluetooth_settings_widget_get_default_adapter_powered (BluetoothSettingsWidget *widget);
 
62
 
 
63
G_END_DECLS
 
64
 
 
65
#endif /* __BLUETOOTH_SETTINGS_WIDGET_H */