]> cygwin.com Git - cygwin-apps/setup.git/blame - PickPackageLine.h
Show the count of packages in a category
[cygwin-apps/setup.git] / PickPackageLine.h
CommitLineData
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
19class PickView;
ce9f6dd0 20
97647369 21#include "package_meta.h"
ce9f6dd0 22#include "ListView.h"
97647369 23
ce9f6dd0 24class PickPackageLine: public ListViewLine
97647369
RC
25{
26public:
ce9f6dd0
JT
27 PickPackageLine (PickView &aView, packagemeta & apkg) :
28 pkg (apkg),
29 theView (aView)
97647369
RC
30 {
31 };
ce9f6dd0 32 const std::string get_text(int col) const;
4018914c
JT
33 ActionList *get_actions(int col_num) const;
34 int do_action(int col, int action_id);
97647369
RC
35private:
36 packagemeta & pkg;
37 PickView & theView;
38};
39
c93bc6d0 40#endif /* SETUP_PICKPACKAGELINE_H */
This page took 0.094928 seconds and 5 git commands to generate.