summaryrefslogtreecommitdiffstats
path: root/src/part/localLister.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/part/localLister.h')
-rw-r--r--src/part/localLister.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/part/localLister.h b/src/part/localLister.h
new file mode 100644
index 0000000..5070e14
--- /dev/null
+++ b/src/part/localLister.h
@@ -0,0 +1,35 @@
+//Author: Max Howell <max.howell@methylblue.com>, (C) 2003-4
+//Copyright: See COPYING file that comes with this distribution
+
+#ifndef LOCALLISTER_H
+#define LOCALLISTER_H
+
+#include <qthread.h>
+
+class Directory;
+template<class T> class Chain;
+
+namespace Filelight
+{
+ class LocalLister : public QThread
+ {
+ public:
+ LocalLister( const QString &path, Chain<Directory> *cachedTrees, QObject *parent );
+
+ static bool readMounts();
+
+ private:
+ QString m_path;
+ Chain<Directory> *m_trees;
+ QObject *m_parent;
+
+ private:
+ virtual void run();
+ Directory *scan( const QCString&, const QCString& );
+
+ private:
+ static QStringList s_localMounts, s_remoteMounts; //TODO namespace
+ };
+}
+
+#endif