clang-format

This commit is contained in:
Lena
2026-07-04 01:36:24 +02:00
committed by Alex
parent cd73e6cdfb
commit 11fdbe8ae3
2 changed files with 35 additions and 51 deletions
+18 -20
View File
@@ -1,39 +1,37 @@
#pragma once
#include <fmt/format.h>
#include <libmm-glib/libmm-glib.h>
#include <sys/statvfs.h>
#include <fstream>
#include <libmm-glib/libmm-glib.h>
#include "ALabel.hpp"
#include "util/format.hpp"
#include "util/sleeper_thread.hpp"
namespace waybar::modules {
class Wwan : public ALabel {
public:
Wwan(const std::string&, const Json::Value&);
virtual ~Wwan();
auto update() -> void override;
class Wwan : public ALabel {
public:
Wwan(const std::string&, const Json::Value&);
virtual ~Wwan();
auto update() -> void override;
private:
private:
void updateCurrentModem();
void updateCurrentModem();
util::SleeperThread thread_;
std::string state_;
GDBusConnection* connection;
MMManager* manager;
MMModem* current_modem;
util::SleeperThread thread_;
std::string state_;
GDBusConnection* connection;
MMManager* manager;
MMModem* current_modem;
bool hideDisconnected = true;
bool hideDisconnected = true;
const std::string dbus_name = "org.freedesktop.ModemManager1";
const std::string dbus_obj_path = "/org/freedesktop/ModemManager1/";
const std::string dbus_modems_path = "/org/freedesktop/ModemManager1/Modems/";
};
const std::string dbus_name = "org.freedesktop.ModemManager1";
const std::string dbus_obj_path = "/org/freedesktop/ModemManager1/";
const std::string dbus_modems_path = "/org/freedesktop/ModemManager1/Modems/";
};
} // namespace waybar::modules