+ int brokenType = static_cast<int>(brokenImageType);
+ mBrokenImageUrls[brokenType] = brokenImageUrl;
+ Toolkit::StyleManager styleManager = StyleManager::Get();
+ mBrokenImageChangedSignal.Emit(styleManager);
+}
+
+std::string StyleManager::GetBrokenImageUrl(DevelStyleManager::BrokenImageType brokenImageType)
+{
+ int brokenType = static_cast<int>(brokenImageType);
+ return mBrokenImageUrls[brokenType];
+}
+
+std::vector<std::string> StyleManager::GetBrokenImageUrlList()
+{
+ // create a list for brokenImage
+ std::vector<std::string> brokenImageUrlList;
+ for(int i = 0; i < COUNT_BROKEN_IMAGE_MAX; i++)
+ {
+ if(!mBrokenImageUrls[i].empty())
+ {
+ brokenImageUrlList.push_back(mBrokenImageUrls[i]);
+ }
+ }
+ return brokenImageUrlList;
+}
+
+bool StyleManager::LoadFile(const std::string& filename, std::string& stringOut)
+{
+ DALI_ASSERT_DEBUG(0 != filename.length());