xtd 0.2.0
battery_charge_status.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
21  enum class battery_charge_status {
23  high = 0b1,
25  low = 0b10,
27  critical = 0b100,
29  charging = 0b1000,
31  no_system_battery = 0b10000000,
33  unknown = 0b11111111,
34  };
35  }
36 }
37 
39 template<> struct xtd::enum_register<xtd::forms::battery_charge_status> {
41 };
Indicates a battery is charging..
Indicates a high level of battery charge.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Indicates a critically low level of battery charge.
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Indicates a low level of battery charge.
Indicates that no battery is present.
Indicates an unknown battery condition.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
battery_charge_status
Defines identifiers that indicate the current battery charge level or charging state information...
Definition: battery_charge_status.h:21
Provides the registration struct for enumerations.
Definition: enum_register.h:36