summaryrefslogtreecommitdiffstats
path: root/vcs/clearcase/clearcasemanipulator.h
blob: baa7c17fe900270f6970a06b39aec23c15878248 (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 "kdevversioncontrol.h"

#include <kprocess.h>

#include <qregexp.h>

#include <string>

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

    ~ClearcaseManipulator();

    static bool isCCRepository(const QString& directory);

    VCSFileInfoMap* retreiveFilesInfos(const QString& directory);

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

    static const char CT_DESC_SEPARATOR;

};

#endif