You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
501 B
C++
25 lines
501 B
C++
#pragma once
|
|
#ifndef MANGOHUD_DEVICE_H
|
|
#define MANGOHUD_DEVICE_H
|
|
#include <vector>
|
|
#include <string>
|
|
#include "overlay_params.h"
|
|
struct overlay_params;
|
|
struct device_batt {
|
|
std::string battery;
|
|
std::string name;
|
|
bool report_percent;
|
|
std::string battery_percent;
|
|
bool is_charging;
|
|
};
|
|
|
|
extern std::vector<device_batt> device_data;
|
|
|
|
extern bool device_found;
|
|
extern int device_count;
|
|
void device_update(const overlay_params& params);
|
|
void device_info();
|
|
|
|
|
|
#endif // MANGOHUD_DEVICE_H
|