• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

vcs

icentralizedversioncontrol.h

00001 /***************************************************************************
00002  *   Copyright 2007 Andreas Pakulat <apaku@gmx.de>                         *
00003  *   Copyright 2007 Matthew Woehlke <mw_triad@users.sourceforge.net>       *
00004  *   Copyright 2008 Evgeniy Ivanov <powerfox@kde.ru>                       *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or         *
00007  *   modify it under the terms of the GNU General Public License as        *
00008  *   published by the Free Software Foundation; either version 2 of        *
00009  *   the License or (at your option) version 3 or any later version        *
00010  *   accepted by the membership of KDE e.V. (or its successor approved     *
00011  *   by the membership of KDE e.V.), which shall act as a proxy            *
00012  *   defined in Section 14 of version 3 of the license.                    *
00013  *                                                                         *
00014  *   This program is distributed in the hope that it will be useful,       *
00015  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00016  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00017  *   GNU General Public License for more details.                          *
00018  *                                                                         *
00019  *   You should have received a copy of the GNU General Public License     *
00020  *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
00021  ***************************************************************************/
00022 
00023 #ifndef ICENTRALIZEDVERSIONCONTROL_H
00024 #define ICENTRALIZEDVERSIONCONTROL_H
00025 
00026 #include "ibasicversioncontrol.h"
00027 
00028 namespace KDevelop
00029 {
00030 
00040 class ICentralizedVersionControl : public KDevelop::IBasicVersionControl
00041 {
00042 public:
00043     enum RecursionMode
00044     {
00045         Recursive    ,
00046         NonRecursive 
00047     };
00048 
00049     virtual ~ICentralizedVersionControl(){}
00050 
00054     virtual VcsJob* edit( const KUrl& localLocation ) = 0;
00055 
00061     virtual VcsJob* unedit( const KUrl& localLocation ) = 0;
00062 
00072     virtual VcsJob* localRevision( const KUrl& localLocation,
00073                                    VcsRevision::RevisionType ) = 0;
00074 
00085     virtual VcsJob* import( const VcsMapping& localLocation, const QString& commitMessage ) = 0;
00086 };
00087 
00088 }
00089 
00090 KDEV_DECLARE_EXTENSION_INTERFACE_NS( KDevelop, ICentralizedVersionControl, "org.kdevelop.ICentralizedVersionControl" )
00091 Q_DECLARE_INTERFACE( KDevelop::ICentralizedVersionControl, "org.kdevelop.ICentralizedVersionControl" )
00092 
00093 #endif

vcs

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

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal