Banuba SDK
photo_input.hpp
1 #pragma once
2 
3 #include <bnb/player_api/interfaces/input.hpp>
4 #include <bnb/player_api/interfaces/input/pixels_provider.hpp>
5 
6 namespace bnb::player_api
7 {
8 
9  class BNB_EXPORT photo_input
10  : public virtual interfaces::input,
11  public virtual pixels_provider
12  {
13  public:
14  static std::shared_ptr<photo_input> create();
15 
16  virtual void load(const std::string& path) = 0;
17  }; // class photo_input
18 
19 } // namespace bnb::player_api
bnb::player_api::pixels_provider
Definition: pixels_provider.hpp:8
bnb::player_api::photo_input
Definition: photo_input.hpp:9
bnb::player_api::interfaces::input
The interface is inherited by all classes that must work with the player, responsible for providing f...
Definition: input.hpp:28