• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdevelop API Reference
  • KDE Home
  • Contact Us
 

kdevplatform/vcs

  • sources
  • kfour-appscomplete
  • kdevelop
  • kdevplatform
  • vcs
  • interfaces
icentralizedversioncontrol.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright 2007 Andreas Pakulat <[email protected]> *
3  * Copyright 2007 Matthew Woehlke <[email protected]> *
4  * Copyright 2008 Evgeniy Ivanov <[email protected]> *
5  * *
6  * This program is free software; you can redistribute it and/or *
7  * modify it under the terms of the GNU General Public License as *
8  * published by the Free Software Foundation; either version 2 of *
9  * the License or (at your option) version 3 or any later version *
10  * accepted by the membership of KDE e.V. (or its successor approved *
11  * by the membership of KDE e.V.), which shall act as a proxy *
12  * defined in Section 14 of version 3 of the license. *
13  * *
14  * This program is distributed in the hope that it will be useful, *
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
17  * GNU General Public License for more details. *
18  * *
19  * You should have received a copy of the GNU General Public License *
20  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
21  ***************************************************************************/
22 
23 #ifndef KDEVPLATFORM_ICENTRALIZEDVERSIONCONTROL_H
24 #define KDEVPLATFORM_ICENTRALIZEDVERSIONCONTROL_H
25 
26 #include "ibasicversioncontrol.h"
27 
28 namespace KDevelop
29 {
30 
40 class ICentralizedVersionControl : public KDevelop::IBasicVersionControl
41 {
42 public:
43  ~ICentralizedVersionControl() override = default;
44 
48  virtual VcsJob* edit( const QUrl& localLocation ) = 0;
49 
55  virtual VcsJob* unedit( const QUrl& localLocation ) = 0;
56 
66  virtual VcsJob* localRevision( const QUrl& localLocation,
67  VcsRevision::RevisionType ) = 0;
68 
79  virtual VcsJob* import(const QString & commitMessage, const QUrl & sourceDirectory, const VcsLocation & destinationRepository) = 0;
80 };
81 
82 }
83 
84 Q_DECLARE_INTERFACE( KDevelop::ICentralizedVersionControl, "org.kdevelop.ICentralizedVersionControl" )
85 
86 #endif
QUrl
KDevelop::IBasicVersionControl
This is the basic interface that all Version Control or Source Code Management plugins need to implem...
Definition: ibasicversioncontrol.h:52
ibasicversioncontrol.h
KDevelop::VcsRevision::RevisionType
RevisionType
Definition: vcsrevision.h:76
KDevelop::ICentralizedVersionControl
This is the interface that all Centralized Version Control plugins need to implement.
Definition: icentralizedversioncontrol.h:58
KDevelop::ICentralizedVersionControl::~ICentralizedVersionControl
~ICentralizedVersionControl() override=default
KDevelop::ICentralizedVersionControl::edit
virtual VcsJob * edit(const QUrl &localLocation)=0
this is for files only, it makes a file editable, this may be a no-op
QString
KDevelop
Definition: dvcsevent.h:33
KDevelop::ICentralizedVersionControl::localRevision
virtual VcsJob * localRevision(const QUrl &localLocation, VcsRevision::RevisionType)=0
retrieves status information for a file or dir recursive is only active for directories
KDevelop::ICentralizedVersionControl::unedit
virtual VcsJob * unedit(const QUrl &localLocation)=0
this is for files only, it makes a file un-editable, this may be a no-op This is different from rever...
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Apr 13 2021 23:30:58 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdevplatform/vcs

Skip menu "kdevplatform/vcs"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal