diff options
author | Robert Tari <robert@tari.in> | 2023-03-06 22:58:52 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-04-03 20:16:37 +0200 |
commit | c80d5eb29fd339c1322110d36b5a9d066056a14e (patch) | |
tree | 515a74e8d772d3c9cf2dfb821f52297279bda522 /src/device.h | |
parent | e1f4b7ff59db9c116288657549f20dea080eafc1 (diff) | |
download | ayatana-indicator-power-c80d5eb29fd339c1322110d36b5a9d066056a14e.tar.gz ayatana-indicator-power-c80d5eb29fd339c1322110d36b5a9d066056a14e.tar.bz2 ayatana-indicator-power-c80d5eb29fd339c1322110d36b5a9d066056a14e.zip |
Show battery level for all devices (including bluetooth)
fixes https://gitlab.com/ubports/development/core/packaging/ayatana-indicators/ayatana-indicator-bluetooth/-/issues/3
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/device.h b/src/device.h index 15c64f3..fa41fe0 100644 --- a/src/device.h +++ b/src/device.h @@ -3,7 +3,7 @@ A simple Device structure used internally by indicator-power Copyright 2012 Canonical Ltd. -Copyright 2022 Robert Tari +Copyright 2022-2023 Robert Tari Authors: Charles Kerr <charles.kerr@canonical.com> @@ -63,6 +63,22 @@ typedef enum UP_DEVICE_KIND_TABLET, UP_DEVICE_KIND_COMPUTER, UP_DEVICE_KIND_GAMING_INPUT, + UP_DEVICE_KIND_PEN, + UP_DEVICE_KIND_TOUCHPAD, + UP_DEVICE_KIND_MODEM, + UP_DEVICE_KIND_NETWORK, + UP_DEVICE_KIND_HEADSET, + UP_DEVICE_KIND_SPEAKERS, + UP_DEVICE_KIND_HEADPHONES, + UP_DEVICE_KIND_VIDEO, + UP_DEVICE_KIND_OTHER_AUDIO, + UP_DEVICE_KIND_REMOTE_CONTROL, + UP_DEVICE_KIND_PRINTER, + UP_DEVICE_KIND_SCANNER, + UP_DEVICE_KIND_CAMERA, + UP_DEVICE_KIND_WEARABLE, + UP_DEVICE_KIND_TOY, + UP_DEVICE_KIND_BLUETOOTH_GENERIC, UP_DEVICE_KIND_LAST } UpDeviceKind; |