You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
//
|
|
|
|
// C++ Interface: ClearcaseManipulator
|
|
|
|
//
|
|
|
|
// Description:
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Author: KDevelop Authors <tdevelop-devel@tdevelop.org>, (C) 2005
|
|
|
|
//
|
|
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#ifndef CLEARCASEMANIPULATOR_H
|
|
|
|
#define CLEARCASEMANIPULATOR_H
|
|
|
|
|
|
|
|
#include "kdevversioncontrol.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
|