42 #ifndef QFSFILEENGINE_P_H 43 #define QFSFILEENGINE_P_H 56 #include "qplatformdefs.h" 57 #include "QtCore/qfsfileengine.h" 58 #include "private/qabstractfileengine_p.h" 59 #include <QtCore/private/qfilesystementry_p.h> 60 #include <QtCore/private/qfilesystemmetadata_p.h> 66 #if defined (SYMBIAN_FILE_MAPPING_SUPPORTED) && !defined (WINS) 68 #define QT_SYMBIAN_USE_NATIVE_FILEMAP 69 #include <f32filemap.h> 73 #ifndef QT_NO_FSFILEENGINE 77 #if defined(Q_OS_WINCE_STD) && _WIN32_WCE < 0x600 78 #define Q_USE_DEPRECATED_MAP_API 1 93 bool nativeOpen(QIODevice::OpenMode openMode);
94 bool openFh(QIODevice::OpenMode flags, FILE *fh);
95 bool openFd(QIODevice::OpenMode flags,
int fd);
100 qint64 nativeSize()
const;
114 int nativeHandle()
const;
115 bool nativeIsSequential()
const;
117 bool isSequentialFdFh()
const;
127 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API 129 TInt64 symbianFilePos;
148 #ifndef QT_SYMBIAN_USE_NATIVE_FILEMAP 149 mutable int fileHandleForMaps;
160 mutable int cachedFd;
164 #elif defined (QT_SYMBIAN_USE_NATIVE_FILEMAP) 184 #if !defined(Q_OS_WINCE) 185 mutable uint need_lstat : 1;
186 mutable uint is_link : 1;
189 #if defined(Q_OS_WIN) 190 bool doStat(QFileSystemMetaData::MetaDataFlags flags)
const;
194 bool isSymlink()
const;
196 #if defined(Q_OS_WIN32) 197 int sysOpen(
const QString &,
int flags);
205 QAbstractFileEngine::FileFlags getPermissions(QAbstractFileEngine::FileFlags
type)
const;
210 #endif // QT_NO_FSFILEENGINE 212 #endif // QFSFILEENGINE_P_H
#define QT_END_NAMESPACE
This macro expands to.
LastIOCommand lastIOCommand
The QString class provides a Unicode character string.
The QHash class is a template class that provides a hash-table-based dictionary.
QIODevice::OpenMode openMode
QFuture< void > map(Sequence &sequence, MapFunction function)
#define QT_BEGIN_NAMESPACE
This macro expands to.
static const char * data(const QByteArray &arr)
QHash< uchar *, DWORD > maps
const T * ptr(const T &t)
QFileSystemEntry fileEntry
QFileSystemMetaData metaData
#define Q_DECLARE_PUBLIC(Class)
#define Q_AUTOTEST_EXPORT
MemoryMapFlags
This enum describes special options that may be used by the map() function.
The QFSFileEngine class implements Qt's default file engine.