xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
boot_mode.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
24
enum class
boot_mode
{
26
normal
= 0,
28
fail_safe
= 1,
30
fail_safe_with_network
= 2,
31
};
32
}
33
}
34
36
template
<>
struct
xtd::enum_register
<
xtd
::
forms::boot_mode
> {
37
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::boot_mode>
{{
xtd::forms::boot_mode::normal
,
"normal"
}, {
xtd::forms::boot_mode::fail_safe
,
"fail_safe"
}, {
xtd::forms::boot_mode::fail_safe_with_network
,
"fail_safe_with_network"
}};}
38
};
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::forms::boot_mode
boot_mode
Specifies the mode to start the computer in.
Definition
boot_mode.hpp:24
xtd::forms::boot_mode::fail_safe
@ fail_safe
Starts the computer by using only the basic files and drivers.
Definition
boot_mode.hpp:28
xtd::forms::boot_mode::fail_safe_with_network
@ fail_safe_with_network
Starts the computer by using the basic files, drivers and the services and drivers necessary to start...
Definition
boot_mode.hpp:30
xtd::forms::boot_mode::normal
@ normal
Starts the computer in standard mode.
Definition
boot_mode.hpp:26
xtd::forms::appearance::normal
@ normal
The default appearance defined by the control class.
Definition
appearance.hpp:24
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.