43 #ifndef FILEWATCHER_FSEVENTS_P_H 44 #define FILEWATCHER_FSEVENTS_P_H 59 #ifndef QT_NO_FILESYSTEMWATCHER 61 #include <QtCore/qmutex.h> 62 #include <QtCore/qwaitcondition.h> 63 #include <QtCore/qthread.h> 64 #include <QtCore/qhash.h> 65 #include <QtCore/qlinkedlist.h> 66 #include <private/qcore_mac_p.h> 77 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 && !defined(Q_OS_IOS) 83 : originalPath(path), absolutePath(absPath) {}
86 struct ::stat64 savedInfo;
107 void warmUpFSEvents();
110 static void fseventsCallback(
ConstFSEventStreamRef streamRef,
void *clientCallBackInfo,
size_t numEvents,
120 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 && !defined(Q_OS_IOS) 123 void updateHash(
PathHash &pathHash);
124 void updateList(PathInfoList &list,
bool directory,
bool emitSignals);
128 #endif //QT_NO_FILESYSTEMWATCHER #define QT_END_NAMESPACE
This macro expands to.
The QMutex class provides access serialization between threads.
QHash< int, QString > PathHash
The QByteArray class provides an array of bytes.
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
const struct __FSEventStream * ConstFSEventStreamRef
UInt32 FSEventStreamEventFlags
The QString class provides a Unicode character string.
The QHash class is a template class that provides a hash-table-based dictionary.
struct __FSEventStream * FSEventStreamRef
The QLinkedList class is a template class that provides linked lists.
FSEventStreamRef fsStream
#define QT_BEGIN_NAMESPACE
This macro expands to.
CFRunLoopRef threadsRunLoop
The QStringList class provides a list of strings.
QFuture< T > run(Function function,...)
QWaitCondition waitCondition
uint64_t FSEventStreamEventId
const struct __CFArray * CFArrayRef
QWaitCondition waitForStop