AndroidAssetResourceProvider.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 #include <string>
5 
6 namespace iv
7 {
8 
12 {
13 public:
16 
17  AndroidAssetResourceProvider( Instance * inst, size_t priority, std::string const & root_path );
18 
19  virtual void with_stream( ResourcePath const & path, std::function< void( std::istream & ) > const & ) const override;
20  virtual void with_metadata_stream( std::function< void( std::istream & ) > const & ) const override;
21 
22 private:
23  std::string toFsPath( ResourcePath path ) const;
24 
25 private:
26  std::string root;
27 };
28 
29 }