diff --git a/xvaga/xvaga.cpp b/xvaga/xvaga.cpp index 8242eb204..411b2a7de 100755 --- a/xvaga/xvaga.cpp +++ b/xvaga/xvaga.cpp @@ -4093,6 +4093,10 @@ BOOLEAN xvt_fsys_removefile(const char *pathname) return xvt_fsys_remove_file(pathname); } +BOOLEAN xvt_fsys_rename_file(const char *src_pathname, const char *dst_pathname) +{ + return wxRenameFile(src_pathname, dst_pathname); +} /////////////////////////////////////////////////////////// // Timers diff --git a/xvaga/xvt.h b/xvaga/xvt.h index 1424ccffb..a7073d263 100755 --- a/xvaga/xvt.h +++ b/xvaga/xvt.h @@ -185,6 +185,7 @@ XVTDLL BOOLEAN xvt_fsys_mkdir(const char *pathname); XVTDLL BOOLEAN xvt_fsys_rmdir(const char *pathname); XVTDLL BOOLEAN xvt_fsys_removefile(const char *pathname); // DEPRECATED! XVTDLL BOOLEAN xvt_fsys_remove_file(const char *pathname); +XVTDLL BOOLEAN xvt_fsys_rename_file(const char *src_pathname, const char *dst_pathname); XVTDLL int xvt_fsys_access(const char *pathname, int mode); XVTDLL BOOLEAN xvt_fsys_file_exists(const char *pathname); XVTDLL int xvt_fsys_get_campo_stp_value(const char* name, char* value, int valsize);