All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PropResourceWebLoaderResult.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 
6 #include "Types.h"
7 #include <vector>
8 #include "InteriorEntityData.h"
9 #include "PropResource.h"
10 
11 namespace Eegeo
12 {
13  namespace Resources
14  {
15  namespace Interiors
16  {
18  {
19  public:
20 
21  PropResourceWebLoaderResult(bool success, bool notFound, Builder::PropResource* pResource)
22  : m_success(success)
23  , m_notFound(notFound)
24  , m_pResource(pResource)
25  {
26  }
27 
28  bool IsSuccess() const { return m_success; }
29  bool IsNotFound() const { return m_notFound; }
30  Builder::PropResource* GetResource() const { return m_pResource; }
31 
32  private:
33  bool m_success;
34  bool m_notFound;
35  Builder::PropResource* m_pResource;
36  };
37  }
38  }
39 }
40