/platform/unix/oscontrol.d
http://github.com/wilkie/djehuty · D · 19 lines · 17 code · 2 blank · 0 comment · 5 complexity · b9020be0bb4eec6698e0464527b1b876 MD5 · raw file
- module platform.unix.oscontrol;
- import core.literals;
- template PlatformTestControlStatus(StringLiteral8 ControlName)
- {
- static if (ControlName == "OSButton")
- {
- const char[] PlatformTestControlStatus = `false`;
- }
- else static if (ControlName == "OSSomeControl")
- {
- const char[] PlatformTestControlStatus = `false`;
- }
- else
- {
- const char[] PlatformTestControlStatus = `false`;
- }
- }