2 * Copyright (c) 2002 Robert Collins.
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.
9 * A copy of the GNU General Public License can be found at
12 * Written by Robert Collins <robertc@hotmail.com>
16 #ifndef SETUP_PICKPACKAGELINE_H
17 #define SETUP_PICKPACKAGELINE_H
21 #include "package_meta.h"
24 class PickPackageLine
: public ListViewLine
27 PickPackageLine (PickView
&aView
, packagemeta
& apkg
, int aindent
) :
33 const std::wstring
get_text(int col
) const;
34 State
get_state() const { return State::nothing
; }
35 const std::string
get_tooltip(int col
) const;
36 int get_indent() const;
37 ActionList
*get_actions(int col_num
) const;
38 int do_action(int col
, int action_id
);
39 int do_default_action(int col
);
40 int map_key_to_action(WORD vkey
, int modkeys
, int & col_num
, int & action_id
) const;
47 #endif /* SETUP_PICKPACKAGELINE_H */