mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-23 10:35:40 +02:00
module/battery: export module info through the new module_info struct type
This commit is contained in:
parent
3d36735f88
commit
e24923e7cc
4 changed files with 33 additions and 31 deletions
|
@ -1,7 +1,4 @@
|
|||
#pragma once
|
||||
|
||||
#include "../../module.h"
|
||||
#include "../../particle.h"
|
||||
|
||||
struct module *module_battery(
|
||||
const char *battery, struct particle *label, int poll_interval_secs);
|
||||
extern const struct module_info module_battery;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue