/* * Copyright 2008-2009, Oliver Ruiz Dorantes, * Copyright 2012-2013, Tri-Edge AI * Copyright 2021, Haiku, Inc. * Distributed under the terms of the MIT License. * * Authors: * Fredrik Modéen */ #ifndef BLUETOOTH_SETTINGS_H #define BLUETOOTH_SETTINGS_H #include #include #include #include #include class BluetoothSettings { public: struct { bdaddr_t PickedDevice; DeviceClass LocalDeviceClass; int32 Policy; int32 InquiryTime; } Data; BluetoothSettings(); ~BluetoothSettings(); void Defaults(); void Load(); void Save(); private: BPath fPath; BFile* fFile; }; #endif // BLUETOOTH_SETTINGS_H