diff options
author | Benjamin Berg <bberg@redhat.com> | 2022-06-07 16:24:03 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2022-06-21 11:16:01 +0200 |
commit | ed2d5a25b3f11e2773c47470c4c4f432b04c9984 (patch) | |
tree | d401619e5744faa3f045f3edcf0c6365b2627225 /src/linux/up-device-supply.h | |
parent | d672eb1d908bcd7534ac325421f7841bd1dfec15 (diff) | |
download | upower-ed2d5a25b3f11e2773c47470c4c4f432b04c9984.tar.gz |
linux: Add new UpDeviceSupplyBattery class
This split the functionality found in UpDeviceSupply to handle batteries
out and is based on the previously added UpDeviceBattery class.
Diffstat (limited to 'src/linux/up-device-supply.h')
-rw-r--r-- | src/linux/up-device-supply.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/linux/up-device-supply.h b/src/linux/up-device-supply.h index 811c355..e95a636 100644 --- a/src/linux/up-device-supply.h +++ b/src/linux/up-device-supply.h @@ -49,6 +49,8 @@ typedef struct GType up_device_supply_get_type (void); +UpDeviceState up_device_supply_get_state (GUdevDevice *native); + G_END_DECLS #endif /* __UP_DEVICE_SUPPLY_H__ */ |