Banuba SDK
libs
effect_player
bnb
effect_player
interfaces
error_listener.hpp
Go to the documentation of this file.
1
/// \file
2
/// \addtogroup EffectPlayer
3
/// @{
4
///
5
// AUTOGENERATED FILE - DO NOT MODIFY!
6
// This file was generated by Djinni from effect_player.djinni
7
8
#pragma once
9
10
#include <bnb/utils/defs.hpp>
11
#include <string>
12
13
namespace
bnb {
namespace
interfaces {
14
15
/**
16
* Interface to receive errors from `EffectPlayer`.
17
* Could be called from any thread inside EffectPlayer. So the implementation of this listener should be thread-safe.
18
*/
19
class
BNB_EXPORT
error_listener
{
20
public
:
21
virtual
~
error_listener
() {}
22
23
/** @param domain source of error (e.g. "js_engine") */
24
virtual
void
on_error(
const
std::string & domain,
const
std::string & message) = 0;
25
};
26
27
} }
// namespace bnb::interfaces
28
/// @}
29
bnb::interfaces::error_listener
Interface to receive errors from EffectPlayer.
Definition:
error_listener.hpp:19
Generated by
1.8.17