MCPcopy Create free account
hub / github.com/bumptop/BumpTop / isValidTossTarget

Method isValidTossTarget

trunk/win/Source/BT_FileSystemActor.cpp:1328–1343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1326 animateObjectsBackToPreDropPose(failedObj);
1327}
1328bool 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
1345bool FileSystemActor::isValidToss(vector<BumpObject *> tossedObjs)
1346{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected