/platform/unix/oscontrol.d

http://github.com/wilkie/djehuty · D · 19 lines · 17 code · 2 blank · 0 comment · 5 complexity · b9020be0bb4eec6698e0464527b1b876 MD5 · raw file

  1. module platform.unix.oscontrol;
  2. import core.literals;
  3. template PlatformTestControlStatus(StringLiteral8 ControlName)
  4. {
  5. static if (ControlName == "OSButton")
  6. {
  7. const char[] PlatformTestControlStatus = `false`;
  8. }
  9. else static if (ControlName == "OSSomeControl")
  10. {
  11. const char[] PlatformTestControlStatus = `false`;
  12. }
  13. else
  14. {
  15. const char[] PlatformTestControlStatus = `false`;
  16. }
  17. }