| 3054 | } |
| 3055 | |
| 3056 | bool BookmarkManager::SaveBookmarkCategory(kml::MarkGroupId groupId) |
| 3057 | { |
| 3058 | CHECK_THREAD_CHECKER(m_threadChecker, ()); |
| 3059 | auto collection = PrepareToSaveBookmarks({groupId}); |
| 3060 | if (!collection || collection->empty()) |
| 3061 | return false; |
| 3062 | auto const & file = collection->front().first; |
| 3063 | auto & kmlData = *collection->front().second; |
| 3064 | return SaveKmlFileByExt(kmlData, file); |
| 3065 | } |
| 3066 | |
| 3067 | bool BookmarkManager::SaveBookmarkCategory(kml::MarkGroupId groupId, Writer & writer, KmlFileType fileType) const |
| 3068 | { |