fat: Greatly simplify and clean up dosfs_get_file_map().
[haiku.git] / src / preferences / bluetooth / BluetoothSettings.h
blob0ba558b150469b013950c0b4d172d52a9b1981ac
1 /*
2 * Copyright 2008-2009, Oliver Ruiz Dorantes, <oliver.ruiz.dorantes@gmail.com>
3 * Copyright 2012-2013, Tri-Edge AI <triedgeai@gmail.com>
5 * All rights reserved. Distributed under the terms of the MIT license.
6 */
8 #ifndef BLUETOOTH_SETTINGS_H
9 #define BLUETOOTH_SETTINGS_H
11 #include <bluetooth/bdaddrUtils.h>
12 #include <bluetooth/LocalDevice.h>
14 #include <File.h>
15 #include <FindDirectory.h>
16 #include <Path.h>
18 class BluetoothSettings
20 public:
21 struct {
22 bdaddr_t PickedDevice;
23 DeviceClass LocalDeviceClass;
24 } Data;
26 BluetoothSettings();
27 ~BluetoothSettings();
29 void Defaults();
30 void Load();
31 void Save();
33 private:
34 BPath fPath;
35 BFile* fFile;
38 #endif // BLUETOOTH_SETTINGS_H