File: manager.h

package info (click to toggle)
bluez-gnome 0.6-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 984 kB
  • ctags: 545
  • sloc: ansic: 4,479; sh: 816; makefile: 84; xml: 24
file content (60 lines) | stat: -rw-r--r-- 1,994 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
 *
 *  BlueZ - Bluetooth protocol stack for Linux
 *
 *  Copyright (C) 2005-2006  Marcel Holtmann <marcel@holtmann.org>
 *
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2.1 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
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser 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
 *
 */

#ifndef __BLUETOOTH_MANAGER_H
#define __BLUETOOTH_MANAGER_H

#include <glib-object.h>

G_BEGIN_DECLS

#define BLUETOOTH_TYPE_MANAGER (bluetooth_manager_get_type())
#define BLUETOOTH_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
				BLUETOOTH_TYPE_MANAGER, BluetoothManager))
#define BLUETOOTH_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
				BLUETOOTH_TYPE_MANAGER, BluetoothManagerClass))
#define BLUETOOTH_IS_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
						BLUETOOTH_TYPE_MANAGER))
#define BLUETOOTH_IS_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), \
						BLUETOOTH_TYPE_MANAGER))
#define BLUETOOTH_GET_MANAGER_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \
				BLUETOOTH_TYPE_MANAGER, BluetoothManagerClass))

typedef struct _BluetoothManager BluetoothManager;
typedef struct _BluetoothManagerClass BluetoothManagerClass;

struct _BluetoothManager {
	GObject parent;
};

struct _BluetoothManagerClass {
	GObjectClass parent_class;
};

GType bluetooth_manager_get_type(void);

BluetoothManager *bluetooth_manager_new(void);

G_END_DECLS

#endif /* __BLUETOOTH_MANAGER_H */