All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IconSetLoader.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "IconSet.h"
6 #include "IconDefinition.h"
7 #include "AsyncTexturing.h"
8 
9 #include "Helpers.h"
10 #include <string>
11 
12 namespace Eegeo
13 {
14  namespace Icons
15  {
17  {
18  public:
19 
22  const std::string& imageResolutionSuffix)
23  : m_fileIO(fileIO)
24  , m_asyncTextureRequestor(asyncTextureRequestor)
25  , m_imageResolutionSuffix(imageResolutionSuffix)
26  {
27  }
28 
29  IconSet* Load(const std::string& iconSetJsonFile, const IconSet::TIdType& setId) const;
30 
31  private:
32 
33  Helpers::IFileIO& m_fileIO;
35  std::string m_imageResolutionSuffix;
36  };
37  }
38 }