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

vcs

ibrowsableversioncontrol.h

00001 /* This file is part of KDevelop
00002  *
00003  * Copyright 2007 Andreas Pakulat <apaku@gmx.de>
00004  * Copyright 2007 Matthew Woehlke <mw_triad@users.sourceforge.net>
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
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00019  * 02110-1301, USA.
00020  */
00021 
00022 #ifndef IBROWSABLEVERSIONCONTROL_H
00023 #define IBROWSABLEVERSIONCONTROL_H
00024 
00025 #include <iextension.h>
00026 #include "../vcsrevision.h"
00027 
00028 class QString;
00029 
00030 namespace KDevelop
00031 {
00032 
00033 class IBrowsableVersionControl
00034 {
00035 public:
00039     virtual VcsJob* repositoryRevision( const QString& repoLocation,
00040                                         VcsRevision::RevisionType ) = 0;
00041 
00049     virtual VcsJob* log( const QString& repoLocation,
00050                          const VcsRevision& rev,
00051                          unsigned int limit ) = 0;
00052 
00060     virtual VcsJob* log( const KUrl& localLocation,
00061                          const VcsRevision& rev,
00062                          const VcsRevision& limit ) = 0;
00063 
00076     virtual VcsJob* change( const VcsRevision& rev,
00077                             const QString& repoLocation ) = 0;
00078 
00082     virtual VcsJob* ls( const QString& repoLocation, const VcsRevision& rev ) = 0;
00083 
00087     virtual VcsJob* cat( const QString& repoLocation, const VcsRevision& rev ) = 0;
00088 
00089 
00090 }
00091 
00092 KDEV_DECLARE_EXTENSION_INTERFACE_NS( KDevelop, IBrowsableVersionControl, "org.kdevelop.IBrowsableVersionControl" )
00093 Q_DECLARE_INTERFACE( KDevelop::IBrowsableVersionControl, "org.kdevelop.IBrowsableVersionControl" )
00094 
00095 #endif
00096 

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
  •   codegen
  •   duchain
  •   editor
  • outputview
  •     interfaces
  • 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