Added Copy()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@447 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-07-18 04:11:09 +00:00
parent 29e14b42f5
commit 6be9f989cb
2 changed files with 35 additions and 0 deletions
+2
View File
@@ -89,9 +89,11 @@ public:
//
int Delete();
int Move(const CString& sNewFileName, bool bOverwrite = false);
int Copy(const CString& sNewFileName, bool bOverwrite = false);
static bool Delete(const CString& sFileName);
static bool Move(const CString& sOldFileName, const CString& sNewFileName, bool bOverwrite = false);
static bool Copy(const CString& sOldFileName, const CString& sNewFileName, bool bOverwrite = false);
bool Chmod(mode_t mode);
static bool Chmod(const CString& sFile, mode_t mode);
bool Seek(unsigned long uPos);