summaryrefslogtreecommitdiffstats
path: root/src/part/localLister.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 01:26:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 01:26:04 +0000
commit3c7b870f367df150ea60eb9d6bb2fd41646545d7 (patch)
treeac8705b4703cebb5031f9443eafd3e429a17ac1a /src/part/localLister.h
downloadfilelight-3c7b870f367df150ea60eb9d6bb2fd41646545d7.tar.gz
filelight-3c7b870f367df150ea60eb9d6bb2fd41646545d7.zip
Added abandoned Filelight application
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/filelight@1084392 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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