1 | /* rgpkgdetails.h - show details of a pkg |
---|
2 | * |
---|
3 | * Copyright (c) 2004 Michael Vogt |
---|
4 | * |
---|
5 | * Author: Michael Vogt <mvo@debian.org> |
---|
6 | * Gustavo Niemeyer <niemeyer@conectiva.com> |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU General Public License as |
---|
10 | * published by the Free Software Foundation; either version 2 of the |
---|
11 | * License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
---|
21 | * USA |
---|
22 | */ |
---|
23 | |
---|
24 | #ifndef _RGPKGDETAILS_H |
---|
25 | #define _RGPKGDETAILS_H |
---|
26 | |
---|
27 | #include <gtk/gtk.h> |
---|
28 | #include "rpackage.h" |
---|
29 | #include "rggladewindow.h" |
---|
30 | |
---|
31 | class RGPkgDetailsWindow : public RGGladeWindow { |
---|
32 | |
---|
33 | protected: |
---|
34 | static vector<string> formatDepInformation(vector<DepInformation> deps); |
---|
35 | |
---|
36 | static void cbDependsMenuChanged(GtkWidget *self, void *data); |
---|
37 | |
---|
38 | static void cbCloseClicked(GtkWidget *self, void *data); |
---|
39 | |
---|
40 | public: |
---|
41 | RGPkgDetailsWindow(RGWindow *parent); |
---|
42 | static void fillInValues(RGGladeWindow *me, RPackage *pkg, |
---|
43 | bool setTitle=false); |
---|
44 | ~RGPkgDetailsWindow(); |
---|
45 | }; |
---|
46 | #endif |
---|