vcs
irepositoryversioncontrol.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef IREPOSITORYVERSIONCONTROL_H
00023 #define IREPOSITORYVERSIONCONTROL_H
00024
00025 #include <iextension.h>
00026 class QString;
00027 class VcsRevision;
00028 class QStringList;
00029
00030 namespace KDevelop
00031 {
00032
00033 class IRepositoryVersionControl
00034 {
00035 public:
00039 virtual VcsJob* copy( const QString& commitMessage,
00040 const QString& repoSrc,
00041 const QString& repoDst,
00042 const VcsRevision& srcRev ) = 0;
00043
00047 virtual VcsJob* move( const QString& commitMessage,
00048 const QString& repoSrc,
00049 const QString& repoDst,
00050 const VcsRevision& srcRev ) = 0;
00051
00052
00056 virtual VcsJob* remove( const QString& commitMessage,
00057 const QStringList& repoLocations ) = 0;
00058 };
00059
00060 }
00061
00062 KDEV_DECLARE_EXTENSION_INTERFACE_NS( KDevelop, IRepositoryVersionControl, "org.kdevelop.IRepositoryVersionControl" )
00063 Q_DECLARE_INTERFACE( KDevelop::IRepositoryVersionControl, "org.kdevelop.IRepositoryVersionControl" )
00064 #endif
00065