Waybar/include/modules/bluetooth.hpp

21 lines
384 B
C++
Raw Normal View History

#pragma once
#include "ALabel.hpp"
#include "util/rfkill.hpp"
#include "util/sleeper_thread.hpp"
2020-01-22 10:37:47 +00:00
namespace waybar::modules {
class Bluetooth : public ALabel {
public:
Bluetooth(const std::string&, const Json::Value&);
~Bluetooth() = default;
auto update() -> void;
private:
util::SleeperThread thread_;
util::Rfkill rfkill_;
};
} // namespace waybar::modules