Blame lib/bluetooth-chooser-button.h

Packit Service fc05fa
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
Packit Service fc05fa
/*
Packit Service fc05fa
 * (C) Copyright 2007 Bastien Nocera <hadess@hadess.net>
Packit Service fc05fa
 *
Packit Service fc05fa
 * This library is free software; you can redistribute it and/or
Packit Service fc05fa
 * modify it under the terms of the GNU Library General Public
Packit Service fc05fa
 * License as published by the Free Software Foundation; either
Packit Service fc05fa
 * version 2 of the License, or (at your option) any later version.
Packit Service fc05fa
 *
Packit Service fc05fa
 * This library is distributed in the hope that it will be useful,
Packit Service fc05fa
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service fc05fa
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service fc05fa
 * Library General Public License for more details.
Packit Service fc05fa
 *
Packit Service fc05fa
 * You should have received a copy of the GNU Library General Public
Packit Service fc05fa
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit Service fc05fa
 */
Packit Service fc05fa
Packit Service fc05fa
#ifndef __BLUETOOTH_CHOOSER_BUTTON_H__
Packit Service fc05fa
#define __BLUETOOTH_CHOOSER_BUTTON_H__
Packit Service fc05fa
Packit Service fc05fa
#include <gtk/gtk.h>
Packit Service fc05fa
Packit Service fc05fa
G_BEGIN_DECLS
Packit Service fc05fa
Packit Service fc05fa
#define BLUETOOTH_TYPE_CHOOSER_BUTTON     (bluetooth_chooser_button_get_type ())
Packit Service fc05fa
#define BLUETOOTH_CHOOSER_BUTTON(obj)     (G_TYPE_CHECK_INSTANCE_CAST ((obj), BLUETOOTH_TYPE_CHOOSER_BUTTON, BluetoothChooserButton))
Packit Service fc05fa
#define BLUETOOTH_IS_CHOOSER_BUTTON(obj)  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BLUETOOTH_TYPE_CHOOSER_BUTTON))
Packit Service fc05fa
Packit Service fc05fa
/**
Packit Service fc05fa
 * BluetoothChooserButton:
Packit Service fc05fa
 *
Packit Service fc05fa
 * The <structname>BluetoothChooserButton</structname> struct contains
Packit Service fc05fa
 * only private fields and should not be directly accessed.
Packit Service fc05fa
 */
Packit Service fc05fa
typedef struct _BluetoothChooserButton BluetoothChooserButton;
Packit Service fc05fa
Packit Service fc05fa
typedef struct _BluetoothChooserButtonClass BluetoothChooserButtonClass;
Packit Service fc05fa
Packit Service fc05fa
struct _BluetoothChooserButtonClass {
Packit Service fc05fa
  GtkButtonClass parent_class;
Packit Service fc05fa
Packit Service fc05fa
  void (*chooser_created) (BluetoothChooserButton *self, GtkWidget *chooser);
Packit Service fc05fa
};
Packit Service fc05fa
Packit Service fc05fa
GType		bluetooth_chooser_button_get_type	(void);
Packit Service fc05fa
Packit Service fc05fa
GtkWidget *	bluetooth_chooser_button_new		(void);
Packit Service fc05fa
gboolean	bluetooth_chooser_button_available	(BluetoothChooserButton *button);
Packit Service fc05fa
Packit Service fc05fa
G_END_DECLS
Packit Service fc05fa
Packit Service fc05fa
#endif /* __BLUETOOTH_CHOOSER_BUTTON_H__ */