diff options
Diffstat (limited to 'vcs/clearcase/clearcasefileinfoprovider.h')
-rw-r--r-- | vcs/clearcase/clearcasefileinfoprovider.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/vcs/clearcase/clearcasefileinfoprovider.h b/vcs/clearcase/clearcasefileinfoprovider.h new file mode 100644 index 00000000..b716d01b --- /dev/null +++ b/vcs/clearcase/clearcasefileinfoprovider.h @@ -0,0 +1,50 @@ +// +// 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 +public: + ClearcaseFileinfoProvider(ClearcasePart *parent); + + virtual ~ClearcaseFileinfoProvider(); + + // -- Sync interface + const VCSFileInfoMap *status( const QString &dirPath ) ; + + // -- Async interface for requesting data + bool requestStatus( const QString &dirPath, void *callerData, bool recursive = true, bool checkRepos = true ); + + +private: + + QStringList registeredEntryList() const; + + +private: + ClearcaseManipulator ccManipulator_; + QString curDirPath_; + VCSFileInfoMap* vcsInfo_; + ClearcasePart* kdevVCS_; + +}; + +#endif |