avdl_platform.h 487 B

123456789101112131415161718192021222324252627
  1. #ifndef AVDL_PLATFORM_H
  2. #define AVDL_PLATFORM_H
  3. /*
  4. * compiling platform
  5. *
  6. * used when compiling a game to decide
  7. * which platform to compile for
  8. *
  9. * by default, it will try to compile for the same
  10. * platform as the host device
  11. *
  12. */
  13. enum AVDL_PLATFORM {
  14. AVDL_PLATFORM_LINUX,
  15. AVDL_PLATFORM_WINDOWS,
  16. AVDL_PLATFORM_ANDROID,
  17. AVDL_PLATFORM_UNKNOWN,
  18. };
  19. void avdl_platform_initialise();
  20. void avdl_platform_set(enum AVDL_PLATFORM);
  21. enum AVDL_PLATFORM avdl_platform_get();
  22. #endif