]> cygwin.com Git - cygwin-apps/setup.git/blame - PickPackageLine.h
Suggest URLs for updated setup based on build architecture
[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:
68487c7c 27 PickPackageLine (PickView &aView, packagemeta & apkg, int aindent) :
ce9f6dd0 28 pkg (apkg),
68487c7c
JT
29 theView (aView),
30 indent (aindent)
97647369
RC
31 {
32 };
f34a20e7 33 const std::wstring get_text(int col) const;
db1c5abc 34 State get_state() const { return State::nothing; }
800274fd 35 const std::string get_tooltip(int col) const;
68487c7c 36 int get_indent() const;
4018914c
JT
37 ActionList *get_actions(int col_num) const;
38 int do_action(int col, int action_id);
76dc99c1 39 int do_default_action(int col);
c99e4c14 40 int map_key_to_action(WORD vkey, int modkeys, int & col_num, int & action_id) const;
97647369
RC
41private:
42 packagemeta & pkg;
43 PickView & theView;
68487c7c 44 int indent;
97647369
RC
45};
46
c93bc6d0 47#endif /* SETUP_PICKPACKAGELINE_H */
This page took 0.137254 seconds and 6 git commands to generate.