summaryrefslogtreecommitdiffstats
path: root/src/part/localLister.h
blob: 5070e146569f431f4e4ccefbfd3153d0e98a2208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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