summaryrefslogtreecommitdiffstats
path: root/vcs/clearcase/clearcasefileinfoprovider.h
blob: 24d38c2a2d040e3f778a65e6e629f665bb48e433 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
// C++ Interface: clearcasefileinfoprovider
//
// Description:
//
//
// Author: KDevelop Authors <kdevelop-devel@kdevelop.org>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CLEARCASEFILEINFOPROVIDER_H
#define CLEARCASEFILEINFOPROVIDER_H

#include "clearcasepart.h"
#include "clearcasemanipulator.h"


/**
@author KDevelop Authors
*/
class ClearcaseFileinfoProvider : public KDevVCSFileInfoProvider
{
  Q_OBJECT
public:
    ClearcaseFileinfoProvider(ClearcasePart *parent);

    virtual ~ClearcaseFileinfoProvider();

    // -- Sync interface
    const VCSFileInfoMap *status( const TQString &dirPath ) ;

    // -- Async interface for requesting data
    bool requestStatus( const TQString &dirPath, void *callerData, bool recursive = true, bool checkRepos = true );


private:

    TQStringList registeredEntryList() const;


private:
    ClearcaseManipulator ccManipulator_;
    TQString curDirPath_;
    VCSFileInfoMap* vcsInfo_;
    ClearcasePart* kdevVCS_;

};

#endif