]> cygwin.com Git - cygwin-apps/setup.git/blame - PickPackageLine.h
* filemanip.c (parse_filename): Revert previous change.
[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
16#ifndef _PICKPACKAGELINE_H_
17#define _PICKPACKAGELINE_H_
18
19class PickView;
20#include "package_meta.h"
21#include "PickLine.h"
22
23class PickPackageLine:public PickLine
24{
25public:
26 PickPackageLine (PickView &aView, packagemeta & apkg):pkg (apkg), theView (aView)
27 {
28 key = apkg.key;
29 };
30 virtual void paint (HDC hdc, int x, int y, int row, int show_cat);
31 virtual int click (int const myrow, int const ClickedRow, int const x);
32 virtual int itemcount () const
33 {
34 return 1;
35 }
36 virtual bool IsContainer (void) const
37 {
38 return false;
39 }
40 virtual void insert (PickLine &)
41 {
42 };
7e8fc33c 43 virtual int set_action (packagemeta::_actions);
97647369
RC
44private:
45 packagemeta & pkg;
46 PickView & theView;
47};
48
49#endif // _PICKPACKAGELINE_H_
This page took 0.027402 seconds and 5 git commands to generate.