6 #include "IInteriorLabelCategoryLoader.h"
9 #include "CallbackCollection.h"
29 void Load(
const std::string& url, LoadCompleteCallbackType& callback);
35 struct InteriorLabelCategoryLoad
37 InteriorLabelCategoryLoad(
const std::string& url, LoadCompleteCallbackType& callback)
39 , m_pCallback(&callback)
42 const std::string& GetUrl()
const {
return m_url; }
43 LoadCompleteCallbackType& GetCallback()
const {
return *m_pCallback; }
46 LoadCompleteCallbackType* m_pCallback;
49 bool TryLoad(
const InteriorLabelCategoryLoad& load);
55 std::vector<InteriorLabelCategoryLoad> m_loads;