Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug

git-svn-id: svn://10.0.0.236/trunk@111541 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-01-08 02:20:13 +00:00
parent 38aa2bbb0e
commit 6b5bff699c
3 changed files with 203 additions and 134 deletions

View File

@@ -79,9 +79,6 @@ private:
// this will be the resolve path which will *NEVER* be return to the user
nsCString mResolvedPath;
IPersistFile* mPersistFile;
IShellLink* mShellLink;
PRFileInfo64 mFileInfo64;
void MakeDirty();
@@ -97,4 +94,8 @@ private:
char **outFileBaseName, char **outFileExtension);
};
extern nsresult NS_CreateShortcutResolver();
extern void NS_DestroyShortcutResolver();
#endif