summaryrefslogtreecommitdiffstats
path: root/vcs/clearcase/clearcasefileinfoprovider.h
blob: dcb1d26f96e586ac4771780dce9ac05910d2664e (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
51
//
// 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
  TQ_OBJECT
public:
    ClearcaseFileinfoProvider(ClearcasePart *parent);

    virtual ~ClearcaseFileinfoProvider();

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

    // -- Async interface for requesting data
    bool requesttqStatus( 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