#pragma once // ============================================================================== // C ABI bridge between the C++ protocol stack and the Swift app layer // ============================================================================== // This header is imported into Swift via -import-objc-header, so it must stay // pure C (no C++ types). The C++ modules implement these entry points. // ============================================================================== #include #ifdef __cplusplus extern "C" { #endif // Human-readable version string of the protocol stack. const char *xone_version(void); // TRUE if an Xbox Wireless Dongle is connected, FALSE otherwise. bool xone_dongle_present(void); #ifdef __cplusplus } #endif