PageRenderTime 12ms CodeModel.GetById 2ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 1ms

/platform/unix/oscontrol.d

http://github.com/wilkie/djehuty
D | 19 lines | 17 code | 2 blank | 0 comment | 5 complexity | b9020be0bb4eec6698e0464527b1b876 MD5 | raw file
 1module platform.unix.oscontrol;
 2
 3import core.literals;
 4
 5template PlatformTestControlStatus(StringLiteral8 ControlName)
 6{
 7	static if (ControlName == "OSButton")
 8	{
 9		const char[] PlatformTestControlStatus = `false`;
10	}
11	else static if (ControlName == "OSSomeControl")
12	{
13		const char[] PlatformTestControlStatus = `false`;
14	}
15	else
16	{
17		const char[] PlatformTestControlStatus = `false`;
18	}
19}