xtd 0.2.0
power_line_status.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
19  enum class power_line_status {
21  offline = 0,
23  online = 1,
25  unknown = 0b11111111,
26  };
27  }
28 }
29 
31 template<> struct xtd::enum_register<xtd::forms::power_line_status> {
33 };
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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 an unknown battery condition.
power_line_status
Specifies the system power status.
Definition: power_line_status.h:19
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Provides the registration struct for enumerations.
Definition: enum_register.h:36