compat-helpers.h 423 B

12345678910111213141516171819
  1. #pragma once
  2. enum source_type {
  3. GAME_CAPTURE,
  4. WINDOW_CAPTURE_BITBLT,
  5. WINDOW_CAPTURE_WGC,
  6. };
  7. struct compat_result {
  8. char *message;
  9. enum obs_text_info_type severity;
  10. };
  11. extern struct compat_result *check_compatibility(const char *win_title,
  12. const char *win_class,
  13. const char *exe,
  14. enum source_type type);
  15. extern void compat_result_free(struct compat_result *res);
  16. extern void compat_json_free();