| 36 | } |
| 37 | |
| 38 | StringBox Asset::getResolvedURL() const { |
| 39 | auto resolvedLocation = getResolvedLocation(); |
| 40 | if (!resolvedLocation) { |
| 41 | return StringBox(); |
| 42 | } |
| 43 | |
| 44 | return resolvedLocation.value().getUrl(); |
| 45 | } |
| 46 | |
| 47 | Ref<Asset> Asset::withDirection(bool /*rightToLeft*/) { |
| 48 | return strongSmallRef(this); |