annotate src/hgignoredialog.h @ 414:939701b848e5 ignore

Start to introduce HgIgnoreDialog
author Chris Cannam
date Wed, 15 Jun 2011 16:32:21 +0100
parents
children 6d7dad48b13c
rev   line source
Chris@414 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@414 2
Chris@414 3 /*
Chris@414 4 EasyMercurial
Chris@414 5
Chris@414 6 Based on hgExplorer by Jari Korhonen
Chris@414 7 Copyright (c) 2010 Jari Korhonen
Chris@414 8 Copyright (c) 2011 Chris Cannam
Chris@414 9 Copyright (c) 2011 Queen Mary, University of London
Chris@414 10
Chris@414 11 This program is free software; you can redistribute it and/or
Chris@414 12 modify it under the terms of the GNU General Public License as
Chris@414 13 published by the Free Software Foundation; either version 2 of the
Chris@414 14 License, or (at your option) any later version. See the file
Chris@414 15 COPYING included with this distribution for more information.
Chris@414 16 */
Chris@414 17
Chris@414 18 #ifndef _HGIGNORE_DIALOG_H_
Chris@414 19 #define _HGIGNORE_DIALOG_H_
Chris@414 20
Chris@414 21 #include <QDialog>
Chris@414 22
Chris@414 23 class HgIgnoreDialog : public QDialog
Chris@414 24 {
Chris@414 25 Q_OBJECT
Chris@414 26
Chris@414 27 public:
Chris@414 28 enum IgnoreType {
Chris@414 29 IgnoreNothing,
Chris@414 30 IgnoreGivenFilesOnly,
Chris@414 31 IgnoreAllFilesOfGivenNames,
Chris@414 32 IgnoreAllFilesOfGivenSuffixes
Chris@414 33 };
Chris@414 34
Chris@414 35 static IgnoreType confirmIgnore(QStringList files, QStringList suffixes);
Chris@414 36
Chris@414 37 };
Chris@414 38
Chris@414 39 #endif