12 #ifndef CXLOGFILEWATCHERTHREAD_H 13 #define CXLOGFILEWATCHERTHREAD_H 15 #include "cxResourceExport.h" 24 #include "boost/shared_ptr.hpp" 25 #include "boost/function.hpp" 34 #include <QFileSystemWatcher> 66 void onDirectoryChanged(
const QString& path);
67 void onFileChanged(
const QString& path);
69 virtual void executeSetLoggingFolder(QString absoluteLoggingFolderPath);
71 std::vector<Message> readMessages(
const QString& path);
73 QFileSystemWatcher mWatcher;
75 QStringList mInitializedFiles;
76 std::map<QString, LogFile> mFiles;
85 #endif // CXLOGFILEWATCHERTHREAD_H
LogFileWatcherThread(QObject *parent=NULL)
virtual ~LogFileWatcherThread()
Namespace for all CustusX production code.