~ubuntu-branches/ubuntu/hardy/krusader/hardy

« back to all changes in this revision

Viewing changes to krusader/DiskUsage/radialMap/builder.h

  • Committer: Bazaar Package Importer
  • Author(s): Angel Ramos
  • Date: 2004-12-30 16:18:26 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041230161826-wx99gkdypyalazpv
Tags: 1.51-1
* New upstream release (Closes: #280037, #287015).
* Moved from section utils to kde (Closes: #286748).
* Renamed dk.po to da.po (Closes: #269414).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//Author:    Max Howell <max.howell@methylblue.com>, (C) 2003-4
 
2
//Copyright: See COPYING file that comes with this distribution
 
3
 
 
4
#ifndef BUILDER_H
 
5
#define BUILDER_H
 
6
 
 
7
#include "radialMap.h"   //Segment, defines
 
8
#include "fileTree.h"
 
9
 
 
10
template <class T> class Chain;
 
11
 
 
12
namespace RadialMap
 
13
{
 
14
    class Map;
 
15
 
 
16
    //temporary class that builds the Map signature
 
17
 
 
18
    class Builder
 
19
    {
 
20
    public:
 
21
        Builder( Map*, const Directory* const, bool fast=false );
 
22
 
 
23
    private:
 
24
        void findVisibleDepth( const Directory* const dir, const uint=0 );
 
25
        void setLimits( const uint& );
 
26
        bool build( const Directory* const, const uint=0, uint=0, const uint=5760 );
 
27
 
 
28
        Map             *m_map;
 
29
        const Directory* const m_root;
 
30
        const FileSize   m_minSize;
 
31
        uint            *m_depth;
 
32
        Chain<Segment>  *m_signature;
 
33
        FileSize        *m_limits;
 
34
    };
 
35
}
 
36
 
 
37
#endif