comparison 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
comparison
equal deleted inserted replaced
57:023fbd76c1e3 58:8af4bb9d9a5a
55 QString absFilePath() const; 55 QString absFilePath() const;
56 56
57 bool isLocal() const; 57 bool isLocal() const;
58 58
59 bool readFile(void* pDestBuffer, unsigned long maxLength ); 59 bool readFile(void* pDestBuffer, unsigned long maxLength );
60 bool writeFile(void* pSrcBuffer, unsigned long length ); 60 bool writeFile(const void* pSrcBuffer, unsigned long length );
61 bool listDir( t_DirectoryList* pDirList, bool bRecursive, bool bFindHidden, 61 bool listDir( t_DirectoryList* pDirList, bool bRecursive, bool bFindHidden,
62 const QString& filePattern, const QString& fileAntiPattern, 62 const QString& filePattern, const QString& fileAntiPattern,
63 const QString& dirAntiPattern, bool bFollowDirLinks, bool bUseCvsIgnore ); 63 const QString& dirAntiPattern, bool bFollowDirLinks, bool bUseCvsIgnore );
64 bool copyFile( const QString& destUrl ); 64 bool copyFile( const QString& destUrl );
65 bool createBackup( const QString& bakExtension ); 65 bool createBackup( const QString& bakExtension );
119 Q_OBJECT 119 Q_OBJECT
120 public: 120 public:
121 FileAccessJobHandler( FileAccess* pFileAccess ); 121 FileAccessJobHandler( FileAccess* pFileAccess );
122 122
123 bool get( void* pDestBuffer, long maxLength ); 123 bool get( void* pDestBuffer, long maxLength );
124 bool put( void* pSrcBuffer, long maxLength, bool bOverwrite, bool bResume=false, int permissions=-1 ); 124 bool put( const void* pSrcBuffer, long maxLength, bool bOverwrite, bool bResume=false, int permissions=-1 );
125 bool stat(int detailLevel=2, bool bWantToWrite=false ); 125 bool stat(int detailLevel=2, bool bWantToWrite=false );
126 bool copyFile( const QString& dest ); 126 bool copyFile( const QString& dest );
127 bool rename( const QString& dest ); 127 bool rename( const QString& dest );
128 bool listDir( t_DirectoryList* pDirList, bool bRecursive, bool bFindHidden, 128 bool listDir( t_DirectoryList* pDirList, bool bRecursive, bool bFindHidden,
129 const QString& filePattern, const QString& fileAntiPattern, 129 const QString& filePattern, const QString& fileAntiPattern,