Extending File Dialog to include unix file paths [2/4]

Michael Lin mlin at corvu.com.au
Thu May 12 22:59:48 CDT 2005


ChangeLog:
- remove unused forward declaration in commdlg/cdlg.h
- added error message for invalid unix file name
-------------- next part --------------
Index: dlls/commdlg/cdlg.h
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/cdlg.h,v
retrieving revision 1.36
diff -u -r1.36 cdlg.h
--- dlls/commdlg/cdlg.h	24 Jan 2005 11:26:23 -0000	1.36
+++ dlls/commdlg/cdlg.h	13 May 2005 02:17:08 -0000
@@ -177,9 +177,6 @@
 extern BOOL (WINAPI *COMDLG32_SHGetFolderPathA)(HWND,int,HANDLE,DWORD,LPSTR);
 extern BOOL (WINAPI *COMDLG32_SHGetFolderPathW)(HWND,int,HANDLE,DWORD,LPWSTR);
 
-extern BOOL  WINAPI GetFileDialog95A(LPOPENFILENAMEA ofn,UINT iDlgType);
-extern BOOL  WINAPI GetFileDialog95W(LPOPENFILENAMEW ofn,UINT iDlgType);
-
 /*
  * Internal Functions
  * Do NOT Export to other programs and dlls
Index: dlls/commdlg/cdlg_En.rc
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/cdlg_En.rc,v
retrieving revision 1.39
diff -u -r1.39 cdlg_En.rc
--- dlls/commdlg/cdlg_En.rc	14 Feb 2005 11:12:30 -0000	1.39
+++ dlls/commdlg/cdlg_En.rc	13 May 2005 02:17:08 -0000
@@ -371,6 +371,7 @@
     IDS_OVERWRITEFILE       "File does already exist.\nDo you want to replace it?"
     IDS_INVALID_FILENAME_TITLE "Invalid character(s) in path"
     IDS_INVALID_FILENAME    "A filename cannot contain any of the following characters: \n                          / : < > |"
+    IDS_INVALID_UNIX_FILENAME "A filename cannot contain any of the following characters: \n                          : < > |"
     IDS_PATHNOTEXISTING     "Path does not exist"
     IDS_FILENOTEXISTING     "File does not exist"
 }
Index: dlls/commdlg/filedlgbrowser.h
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/filedlgbrowser.h,v
retrieving revision 1.21
diff -u -r1.21 filedlgbrowser.h
--- dlls/commdlg/filedlgbrowser.h	10 Jan 2005 13:22:35 -0000	1.21
+++ dlls/commdlg/filedlgbrowser.h	13 May 2005 02:17:08 -0000
@@ -121,6 +121,7 @@
 #define IDS_INVALID_FILENAME		121
 #define IDS_PATHNOTEXISTING		122
 #define IDS_FILENOTEXISTING		123
+#define IDS_INVALID_UNIX_FILENAME	124
 
 /* File Dialog Tooltips string IDs */
 


More information about the wine-patches mailing list