5 #include "ILabelStyleSheetLoader.h"
19 virtual void Update() = 0;
30 void Load(
const std::string& url, LoadCompleteCallbackType& callback);
36 struct LabelStyleSheetLoad
38 LabelStyleSheetLoad(
const std::string& url, LoadCompleteCallbackType& callback)
40 , m_pCallback(&callback)
43 const std::string& GetUrl()
const {
return m_url; }
44 LoadCompleteCallbackType& GetCallback()
const {
return *m_pCallback; }
47 LoadCompleteCallbackType* m_pCallback;
50 bool TryLoad(
const LabelStyleSheetLoad& load);
56 std::vector<LabelStyleSheetLoad> m_loads;