25 lines
598 B
C++
25 lines
598 B
C++
#pragma once
|
|
|
|
#include <spdlog/spdlog.h>
|
|
#include "components/button/iconButton.hpp"
|
|
#include "connection/dbus/bluetooth.hpp"
|
|
#include "gtkmm/box.h"
|
|
#include "gtkmm/button.h"
|
|
#include "gtkmm/image.h"
|
|
#include "gtkmm/label.h"
|
|
|
|
class BluetoothSettingsRow : public Gtk::Box {
|
|
public:
|
|
BluetoothSettingsRow(const BluetoothDevice &device);
|
|
void updateDevice(const BluetoothDevice &device);
|
|
|
|
private:
|
|
BluetoothDevice device;
|
|
Gtk::Image icon;
|
|
Gtk::Label nameLabel;
|
|
Gtk::Label addressLabel;
|
|
IconButton pairButton;
|
|
IconButton connectButton;
|
|
IconButton trustButton;
|
|
};
|