Banuba SDK
utility.hpp
1 #pragma once
2 
3 #include <bnb/utils/defs.hpp>
5 
6 #include <vector>
7 #include <string>
8 #include <memory>
9 
10 namespace bnb
11 {
12  /*!
13  * \brief The utility class is created to be used in applications which uses effect_player as
14  * shared library.
15  */
16  class BNB_EXPORT utility
17  {
18  public:
19  utility(const std::vector<std::string>& paths, const std::string& client_token, const std::string& dump_path = std::string());
20  ~utility();
21 
22 #if BNB_OS_WINDOWS || BNB_OS_MACOS || BNB_OS_LINUX
23  static void load_gl_functions();
24 #endif
25 
26  void set_log_record_callback(const std::shared_ptr<bnb::interfaces::log_record_callback>& cb, bnb::interfaces::severity_level lvl);
27  };
28 } // namespace bnb
bnb::utility
The utility class is created to be used in applications which uses effect_player as shared library.
Definition: utility.hpp:16
log_record_callback.hpp