mFrame
載入中...
搜尋中...
無符合項目
Lock.h
1
7#ifndef CHIP_F0347BEF_061B_4DA8_82F8_09315D6F7235
8#define CHIP_F0347BEF_061B_4DA8_82F8_09315D6F7235
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "mframe.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace chip::port {
23 enum struct Lock : bool;
24
25 constexpr bool operator+(Lock e) {
26 return static_cast<bool>(e);
27 }
28} // namespace chip::port
29
30/* ***************************************************************************************
31 * Class/Interface/Struct/Enum
32 */
33enum struct chip::port::Lock : bool {
34 UNLOCK = 0U,
35 LOCK = 1U
36};
37
38/* ***************************************************************************************
39 * End of file
40 */
41
42#endif /* CHIP_F0347BEF_061B_4DA8_82F8_09315D6F7235 */
Definition Config.h:36
Lock
Definition Lock.h:33