| 3395 | } |
| 3396 | |
| 3397 | bool IGFD::PlacesFeature::GroupStruct::AddPlace(const std::string& vPlaceName, const std::string& vPlacePath, const bool vCanBeSaved, const FileStyle& vStyle) { |
| 3398 | if (vPlaceName.empty() || vPlacePath.empty()) { |
| 3399 | return false; |
| 3400 | } |
| 3401 | canBeSaved |= vCanBeSaved; // if one place must be saved so we mark the group to be saved |
| 3402 | PlaceStruct place; |
| 3403 | place.name = vPlaceName; |
| 3404 | place.path = vPlacePath; |
| 3405 | place.canBeSaved = vCanBeSaved; |
| 3406 | place.style = vStyle; |
| 3407 | places.push_back(place); |
| 3408 | return true; |
| 3409 | } |
| 3410 | |
| 3411 | void IGFD::PlacesFeature::GroupStruct::AddPlaceSeparator(const float& vThickness) { |
| 3412 | PlaceStruct place; |
no test coverage detected