OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
esmloader.hpp
Go to the documentation of this file.
1 #ifndef ESMLOADER_HPP
2 #define ESMLOADER_HPP
3 
4 #include <vector>
5 
6 #include "contentloader.hpp"
7 
8 namespace ToUTF8
9 {
10  class Utf8Encoder;
11 }
12 
13 namespace ESM
14 {
15  class ESMReader;
16 }
17 
18 namespace MWWorld
19 {
20 
21 class ESMStore;
22 
23 struct EsmLoader : public ContentLoader
24 {
25  EsmLoader(MWWorld::ESMStore& store, std::vector<ESM::ESMReader>& readers,
26  ToUTF8::Utf8Encoder* encoder, Loading::Listener& listener);
27 
28  void load(const boost::filesystem::path& filepath, int& index);
29 
30  private:
31  std::vector<ESM::ESMReader>& mEsm;
34 };
35 
36 } /* namespace MWWorld */
37 
38 #endif // ESMLOADER_HPP
void load(const boost::filesystem::path &filepath, int &index)
Definition: esmloader.cpp:18
MWWorld::ESMStore & mStore
Definition: esmloader.hpp:32
Definition: loadinglistener.hpp:8
Definition: esmstore.hpp:17
std::vector< ESM::ESMReader > & mEsm
Definition: esmloader.hpp:31
Definition: contentloader.hpp:13
EsmLoader(MWWorld::ESMStore &store, std::vector< ESM::ESMReader > &readers, ToUTF8::Utf8Encoder *encoder, Loading::Listener &listener)
Definition: esmloader.cpp:9
Definition: esmloader.hpp:23
Definition: to_utf8.hpp:25
ToUTF8::Utf8Encoder * mEncoder
Definition: esmloader.hpp:33