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