6 #include "IInteriorsMaterialDtoRepository.h"
8 #include "CityThemes.h"
24 typedef std::map<std::string, InteriorsMaterialDto> TMaterialKeyToData;
25 typedef std::map<std::string, TMaterialKeyToData> TInteriorToMaterials;
32 virtual bool HasInterior(
const std::string& interiorNamespace)
const;
34 virtual void Add(
const std::string& interiorNamespace,
37 virtual void Remove(
const std::string& interiorNamespace);
39 virtual bool Contains(
const std::string& interiorNamespace,
40 const std::string& materialKey)
const;
43 const std::string& materialKey)
const;
45 virtual std::vector<InteriorsMaterialDto> GetAll(
const std::string& interiorNamespace)
const;
47 virtual void UpdateCommonMaterials();
50 virtual bool ShouldClearSharedThemeDataOnThemeChange()
const;
54 bool ExplicitlyContains(
const std::string& interiorNamespace,
55 const std::string& materialKey)
const;
57 bool ContainedInCommon (
const std::string& materialKey)
const;
61 void HandleSharedThemeDataUpdated();
65 TInteriorToMaterials m_interiorToMaterials;