13 #include <bnb/utils/defs.hpp>
19 namespace bnb {
namespace interfaces {
25 static void initialize(
const std::vector<std::string> & resource_paths,
const std::string & client_token);
27 static void release();
30 static void add_resource_path(
const std::string & resource_path);
33 static void remove_resource_path(
const std::string & resource_path);
36 static void diagnostic_crash();
42 static std::string cpu_env();
50 static ::bnb::interfaces::hardware_class get_hardware_class();
52 static void set_log_level(::bnb::interfaces::severity_level level);
59 static void enable_diagnostics(
const std::string & output_folder);
62 static void enable_telemetry();
69 static void set_log_record_callback(
const std::shared_ptr<::bnb::interfaces::log_record_callback> & cb, ::bnb::interfaces::severity_level lvl);
72 static std::string get_banuba_sdk_version_string();
81 static int32_t get_banuba_sdk_version();
88 static std::string get_banuba_sdk_resources_version_string();
97 static int32_t get_banuba_sdk_resources_version();
108 static std::string get_banuba_sdk_resources_version_archive_string();
114 static bool check_banuba_sdk_resources_version();
117 static bool check_banuba_sdk_resources_version_ignore_patch();
123 static void load_gl_functions();