Blame lib/bluetooth-filter-widget.h

Packit 8fb625
/*
Packit 8fb625
 *
Packit 8fb625
 *  BlueZ - Bluetooth protocol stack for Linux
Packit 8fb625
 *
Packit 8fb625
 *  Copyright (C) 2005-2008  Marcel Holtmann <marcel@holtmann.org>
Packit 8fb625
 *  Copyright (C) 2006-2007  Bastien Nocera <hadess@hadess.net>
Packit 8fb625
 *
Packit 8fb625
 *
Packit 8fb625
 *  This library is free software; you can redistribute it and/or
Packit 8fb625
 *  modify it under the terms of the GNU Lesser General Public
Packit 8fb625
 *  License as published by the Free Software Foundation; either
Packit 8fb625
 *  version 2.1 of the License, or (at your option) any later version.
Packit 8fb625
 *
Packit 8fb625
 *  This library is distributed in the hope that it will be useful,
Packit 8fb625
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 8fb625
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 8fb625
 *  Lesser General Public License for more details.
Packit 8fb625
 *
Packit 8fb625
 *  You should have received a copy of the GNU Lesser General Public
Packit 8fb625
 *  License along with this library; if not, write to the Free Software
Packit 8fb625
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
Packit 8fb625
 *
Packit 8fb625
 */
Packit 8fb625
Packit 8fb625
#ifndef __BLUETOOTH_FILTER_WIDGET_H
Packit 8fb625
#define __BLUETOOTH_FILTER_WIDGET_H
Packit 8fb625
Packit 8fb625
#include <gtk/gtk.h>
Packit 8fb625
#include <bluetooth-enums.h>
Packit 8fb625
#include <bluetooth-chooser.h>
Packit 8fb625
Packit 8fb625
G_BEGIN_DECLS
Packit 8fb625
Packit 8fb625
#define BLUETOOTH_TYPE_FILTER_WIDGET (bluetooth_filter_widget_get_type())
Packit 8fb625
#define BLUETOOTH_FILTER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
Packit 8fb625
			       	BLUETOOTH_TYPE_FILTER_WIDGET, BluetoothFilterWidget))
Packit 8fb625
#define BLUETOOTH_FILTER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
Packit 8fb625
				       BLUETOOTH_TYPE_FILTER_WIDGET, BluetoothFilterWidgetClass))
Packit 8fb625
#define BLUETOOTH_IS_FILTER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
Packit 8fb625
						BLUETOOTH_TYPE_FILTER_WIDGET))
Packit 8fb625
#define BLUETOOTH_IS_FILTER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), \
Packit 8fb625
						BLUETOOTH_TYPE_FILTER_WIDGET))
Packit 8fb625
#define BLUETOOTH_GET_FILTER_WIDGET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \
Packit 8fb625
				BLUETOOTH_TYPE_FILTER_WIDGET, BluetoothFilterWidgetClass))
Packit 8fb625
Packit 8fb625
typedef struct _BluetoothFilterWidget BluetoothFilterWidget;
Packit 8fb625
typedef struct _BluetoothFilterWidgetClass BluetoothFilterWidgetClass;
Packit 8fb625
Packit 8fb625
struct _BluetoothFilterWidget {
Packit 8fb625
	GtkBox parent;
Packit 8fb625
};
Packit 8fb625
Packit 8fb625
struct _BluetoothFilterWidgetClass {
Packit 8fb625
	GtkBoxClass parent_class;
Packit 8fb625
};
Packit 8fb625
Packit 8fb625
GType bluetooth_filter_widget_get_type (void);
Packit 8fb625
Packit 8fb625
GtkWidget *bluetooth_filter_widget_new (void);
Packit 8fb625
Packit 8fb625
void bluetooth_filter_widget_set_title (BluetoothFilterWidget *self, gchar *title);
Packit 8fb625
Packit 8fb625
void bluetooth_filter_widget_bind_filter (BluetoothFilterWidget *self, BluetoothChooser *chooser);
Packit 8fb625
Packit 8fb625
G_END_DECLS
Packit 8fb625
Packit 8fb625
#endif /* __BLUETOOTH_FILTER_WIDGET_H */