All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CityThemeParseManifestWorkItem.h
1 // Copyright eeGeo Ltd (2012-2015), All Rights Reserved
2 #pragma once
3 
4 #include "WorkItem.h"
5 #include "CityThemes.h"
6 #include "ICallback.h"
7 #include "CityThemeData.h"
8 #include <string>
9 #include <vector>
10 
11 namespace Eegeo
12 {
13  namespace Resources
14  {
15  namespace CityThemes
16  {
18  {
19  public:
21  const std::vector<Byte>& cityThemesManifestData,
23  const std::string& manifestUrl,
24  int manifestId);
25 
26  virtual ~CityThemeParseManifestWorkItem() {}
27 
28  virtual void DoWork();
29  virtual void DoFinalizeOnMainThread();
30  private:
31  EnvironmentThemesData m_cityThemeData;
32  std::vector<Byte> m_cityThemesManifestData;
34  std::string m_manifestUrl;
35  int m_manifestId;
36  bool m_parseSuccess;
37  };
38  }
39  }
40 }