@@ -44,8 +44,8 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
4444//
4545// The Revolution sytax that uses this call is deprecated.
4646//
47- extern int MCA_file (MCExecPoint & ep , const char * p_title , const char * p_prompt , const char * p_filter , const char * p_initial , unsigned int p_options );
48- extern int MCA_ask_file (MCExecPoint & ep , const char * p_title , const char * p_prompt , const char * p_filter , const char * p_initial , unsigned int p_options ); //const char *prompt, char *fn, MCExecPoint& ep, Boolean sheet);
47+ extern int MCA_file (MCStringRef p_title , MCStringRef p_prompt , MCStringRef p_filter , MCStringRef p_initial , unsigned int p_options , MCStringRef & r_value , MCStringRef & r_result );
48+ extern int MCA_ask_file (MCStringRef p_title , MCStringRef p_prompt , MCStringRef p_filter , MCStringRef p_initial , unsigned int p_options , MCStringRef & r_value , MCStringRef & r_result ); //const char *prompt, char *fn, MCExecPoint& ep, Boolean sheet);
4949
5050// Display a system file open dialog with a list of file types.
5151// p_title - this string should appear in the titlebar
@@ -67,8 +67,8 @@ extern int MCA_ask_file(MCExecPoint& ep, const char *p_title, const char *p_prom
6767// If MCA_OPTION_RETURN_FILTER is specified MCresult should contain the label of the
6868// filetype in effect when the dialog was closed (but not cancelled).
6969//
70- extern int MCA_file_with_types (MCExecPoint & ep , const char * p_title , const char * p_prompt , char * const p_types [] , uint4 p_type_count , const char * p_initial , unsigned int p_options );
71- extern int MCA_ask_file_with_types (MCExecPoint & ep , const char * p_title , const char * p_prompt , char * const p_types [] , uint4 p_type_count , const char * p_initial , unsigned int p_options );
70+ extern int MCA_file_with_types (MCStringRef p_title , MCStringRef p_prompt , MCStringRef * p_types , uint4 p_type_count , MCStringRef p_initial , unsigned int p_options , MCStringRef & r_value , MCStringRef & r_result );
71+ extern int MCA_ask_file_with_types (MCStringRef p_title , MCStringRef p_prompt , MCStringRef * p_types , uint4 p_type_count , MCStringRef p_initial , unsigned int p_options , MCStringRef & r_value , MCStringRef & r_result );
7272
7373// Display a system folder selection dialog.
7474// p_title - this string should appear in the titlebar
@@ -82,7 +82,7 @@ extern int MCA_ask_file_with_types(MCExecPoint& ep, const char *p_title, const c
8282// ep should contain the revolution path of the folder selected, or empty if the
8383// dialog was cancelled.
8484//
85- extern int MCA_folder (MCExecPoint & ep , const char * p_title , const char * p_prompt , const char * p_initial , unsigned int p_options );
85+ extern int MCA_folder (MCStringRef p_title , MCStringRef p_prompt , MCStringRef p_initial , unsigned int p_options , MCStringRef & r_value , MCStringRef & r_result );
8686
8787// Display a system color selection dialog.
8888// p_title - this string should appear in the titlebar
0 commit comments