1 | /* rgchangeswindow.h |
---|
2 | * |
---|
3 | * Copyright (c) 2000, 2001 Conectiva S/A |
---|
4 | * 2002 Michael Vogt <mvo@debian.org> |
---|
5 | * |
---|
6 | * Author: Alfredo K. Kojima <kojima@conectiva.com.br> |
---|
7 | * Michael Vogt <mvo@debian.org> |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU General Public License as |
---|
11 | * published by the Free Software Foundation; either version 2 of the |
---|
12 | * License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU General Public License |
---|
20 | * along with this program; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
---|
22 | * USA |
---|
23 | */ |
---|
24 | |
---|
25 | |
---|
26 | #ifndef RGCHANGESWINDOW_H |
---|
27 | #define RGCHANGESWINDOW_H |
---|
28 | |
---|
29 | #include "rggladewindow.h" |
---|
30 | |
---|
31 | class RPackageLister; |
---|
32 | |
---|
33 | class RGChangesWindow:public RGGladeWindow { |
---|
34 | enum { |
---|
35 | PKG_COLUMN, |
---|
36 | N_COLUMNS |
---|
37 | }; |
---|
38 | |
---|
39 | GtkWidget *_tree; |
---|
40 | GtkTreeStore *_treeStore; |
---|
41 | |
---|
42 | public: |
---|
43 | RGChangesWindow(RGWindow *win); |
---|
44 | |
---|
45 | void confirm(RPackageLister *lister, |
---|
46 | vector<RPackage *> &kept, |
---|
47 | vector<RPackage *> &toInstall, |
---|
48 | vector<RPackage *> &toReInstall, |
---|
49 | vector<RPackage *> &toUpgrade, |
---|
50 | vector<RPackage *> &toRemove, |
---|
51 | vector<RPackage *> &toDowngrade, |
---|
52 | vector<RPackage *> ¬Authenticated); |
---|
53 | }; |
---|
54 | |
---|
55 | #endif |
---|