| 926 | } |
| 927 | |
| 928 | bool FileSystemActor::isValidDropTarget() |
| 929 | { |
| 930 | // Conditional List |
| 931 | if (isFileSystemType(DeadLink)) return false; |
| 932 | if (!isFileSystemType(Folder) && !isFileSystemType(Executable) && !isFileSystemType(Link)) return false; |
| 933 | |
| 934 | int iconType = winOS->GetIconTypeFromFileName(getFullPath()); |
| 935 | if (isFileSystemType(Virtual) && (iconType != RecycleBin && iconType != MyDocuments)) return false; |
| 936 | if (isFileSystemType(Link) && (isFileSystemType(Executable) || isFileSystemType(Folder))) return true; |
| 937 | if (isFileSystemType(Removable) && !isMounted()) return false; |
| 938 | |
| 939 | return true; |
| 940 | } |
| 941 | |
| 942 | bool FileSystemActor::isSourceValid() |
| 943 | { |
nothing calls this directly
no test coverage detected