24class FileDropImportModal
38 std::string mSourcePath;
39 std::string mFilename;
40 std::string mExtension;
41 std::string mDetectedTypeName;
42 bool mCanImportAsAsset =
false;
43 bool mIsMeshExtension =
false;
44 Choice mChoice = Choice::Unresolved;
45 bool mResolved =
false;
48 static FileDropImportModal*
Get();
52 void EnqueueDroppedPaths(
const std::vector<std::string>& paths);
54 bool HasPending()
const {
return !mRows.empty(); }
62 FileDropImportModal() =
default;
64 void ApplyRow(PendingDrop& row);
66 std::vector<PendingDrop> mRows;
68 bool mModalRequested =
false;