summaryrefslogtreecommitdiffstats
path: root/vcs/clearcase/clearcasemanipulator.h
blob: 42a5cee03c39bd9048ff8daa9fc5b70f858912dd (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
//
// C++ Interface: ClearcaseManipulator
//
// Description: 
//
//
// Author: KDevelop Authors <[email protected]>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CLEARCASEMANIPULATOR_H
#define CLEARCASEMANIPULATOR_H

#include "tdevversioncontrol.h"

#include <kprocess.h>

#include <tqregexp.h>

#include <string>

/**
  @author KDevelop Authors
  */
class ClearcaseManipulator {
  public:
    ClearcaseManipulator();

    ~ClearcaseManipulator();

    static bool isCCRepository(const TQString& directory);

    VCSFileInfoMap* retreiveFilesInfos(const TQString& directory);

  private:
    enum FileInfosFields {
      Type = 0,
      Name,
      State,
      Version,
      RepositoryVersion
    };

    static const char CT_DESC_SEPARATOR;

};

#endif