Mercurial > hg > easyhg-kdiff3
diff kdiff3/src/fileaccess.h @ 58:8af4bb9d9a5a
Version 0.9.83
author | joachim99 |
---|---|
date | Sun, 07 Mar 2004 09:59:09 +0000 |
parents | c59d5a3a8ff3 |
children | efe33e938730 |
line wrap: on
line diff
--- a/kdiff3/src/fileaccess.h Sat Jan 31 14:25:47 2004 +0000 +++ b/kdiff3/src/fileaccess.h Sun Mar 07 09:59:09 2004 +0000 @@ -57,7 +57,7 @@ bool isLocal() const; bool readFile(void* pDestBuffer, unsigned long maxLength ); - bool writeFile(void* pSrcBuffer, unsigned long length ); + bool writeFile(const void* pSrcBuffer, unsigned long length ); bool listDir( t_DirectoryList* pDirList, bool bRecursive, bool bFindHidden, const QString& filePattern, const QString& fileAntiPattern, const QString& dirAntiPattern, bool bFollowDirLinks, bool bUseCvsIgnore ); @@ -121,7 +121,7 @@ FileAccessJobHandler( FileAccess* pFileAccess ); bool get( void* pDestBuffer, long maxLength ); - bool put( void* pSrcBuffer, long maxLength, bool bOverwrite, bool bResume=false, int permissions=-1 ); + bool put( const void* pSrcBuffer, long maxLength, bool bOverwrite, bool bResume=false, int permissions=-1 ); bool stat(int detailLevel=2, bool bWantToWrite=false ); bool copyFile( const QString& dest ); bool rename( const QString& dest );