vcs/cvsservice/diffdialog.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Mario Scalas * 00003 * mario.scalas@libero.it * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef __DIFFDIALOG_H 00013 #define __DIFFDIALOG_H 00014 00015 #include "diffdialogbase.h" 00016 00022 class DiffDialog : public DiffDialogBase 00023 { 00024 Q_OBJECT 00025 public: 00026 DiffDialog( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); 00027 virtual ~DiffDialog(); 00028 00029 QString revA() const; 00030 QString revB() const; 00031 00032 private: 00033 enum DiffType { diffLocalHEAD, diffLocalOther, diffArbitrary }; 00034 00035 DiffType requestedDiff() const; 00036 }; 00037 00038 #endif // __DIFFDIALOG_H