]>
Commit | Line | Data |
---|---|---|
97647369 RC |
1 | /* |
2 | * Copyright (c) 2002 Robert Collins. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * A copy of the GNU General Public License can be found at | |
10 | * http://www.gnu.org/ | |
11 | * | |
12 | * Written by Robert Collins <robertc@hotmail.com> | |
13 | * | |
14 | */ | |
15 | ||
c93bc6d0 MB |
16 | #ifndef SETUP_PICKPACKAGELINE_H |
17 | #define SETUP_PICKPACKAGELINE_H | |
97647369 RC |
18 | |
19 | class PickView; | |
ce9f6dd0 | 20 | |
97647369 | 21 | #include "package_meta.h" |
ce9f6dd0 | 22 | #include "ListView.h" |
97647369 | 23 | |
ce9f6dd0 | 24 | class PickPackageLine: public ListViewLine |
97647369 RC |
25 | { |
26 | public: | |
ce9f6dd0 JT |
27 | PickPackageLine (PickView &aView, packagemeta & apkg) : |
28 | pkg (apkg), | |
29 | theView (aView) | |
97647369 RC |
30 | { |
31 | }; | |
ce9f6dd0 JT |
32 | const std::string get_text(int col) const; |
33 | int do_action(int col); | |
97647369 RC |
34 | private: |
35 | packagemeta & pkg; | |
36 | PickView & theView; | |
37 | }; | |
38 | ||
c93bc6d0 | 39 | #endif /* SETUP_PICKPACKAGELINE_H */ |