summaryrefslogtreecommitdiffstats
path: root/vcs/clearcase/clearcasemanipulator.h
blob: 276938f845b8990a185155302b0f2a6cf452533a (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 <kdevelop-devel@kdevelop.org>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CLEARCASEMANIPULATOR_H
#define CLEARCASEMANIPULATOR_H

#include "kdevversioncontrol.h"

#include <tdeprocess.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