Patch level :10.0
Files correlati : Ricompilazione Demo : [ ] Commento :aggiunto metodo piuttosto inutile frename git-svn-id: svn://10.65.10.50/trunk@19190 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c11b79f16e
commit
c594e8cf05
@ -1447,6 +1447,11 @@ bool TFilename::fremove() const
|
|||||||
return xvt_fsys_remove_file(_str) != FALSE;
|
return xvt_fsys_remove_file(_str) != FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool TFilename::frename(const char* src_path, const char* dst_path)
|
||||||
|
{
|
||||||
|
return xvt_fsys_rename_file(src_path, dst_path) != FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
bool TFilename::search_in_path(TFilename& path) const
|
bool TFilename::search_in_path(TFilename& path) const
|
||||||
{
|
{
|
||||||
xvt_sys_search_env(_str, "PATH", path.get_buffer());
|
xvt_sys_search_env(_str, "PATH", path.get_buffer());
|
||||||
|
@ -503,6 +503,8 @@ public:
|
|||||||
bool exist() const;
|
bool exist() const;
|
||||||
// @cmember Cancella il file
|
// @cmember Cancella il file
|
||||||
bool fremove() const;
|
bool fremove() const;
|
||||||
|
//// @cmember Rinomina il file src in dst sovrascrivendolo se overwrite=true
|
||||||
|
bool frename(const char* src_path, const char* dst_path);
|
||||||
// @cmember Cerca nel path il nome del file corrente e scrive il path assoluto in path
|
// @cmember Cerca nel path il nome del file corrente e scrive il path assoluto in path
|
||||||
bool search_in_path(TFilename& path) const;
|
bool search_in_path(TFilename& path) const;
|
||||||
// @cmember Richiede all'utente il nome di un file
|
// @cmember Richiede all'utente il nome di un file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user