| 1326 | animateObjectsBackToPreDropPose(failedObj); |
| 1327 | } |
| 1328 | bool FileSystemActor::isValidTossTarget() |
| 1329 | { |
| 1330 | if (isActorType(Invisible)) |
| 1331 | return false; |
| 1332 | |
| 1333 | // Only the recycle bin can be tossed to |
| 1334 | if (isFileSystemType(Virtual)) |
| 1335 | { |
| 1336 | int iconType = winOS->GetIconTypeFromFileName(getFullPath()); |
| 1337 | return (iconType == RecycleBin) || (iconType == MyDocuments); |
| 1338 | } |
| 1339 | else if (isFileSystemType(LogicalVolume)) |
| 1340 | return true; |
| 1341 | |
| 1342 | return false; |
| 1343 | } |
| 1344 | |
| 1345 | bool FileSystemActor::isValidToss(vector<BumpObject *> tossedObjs) |
| 1346 | { |
nothing calls this directly
no test coverage detected