]>
cygwin.com Git - cygwin-apps/setup.git/blob - choose.h
2 * Copyright (c) 2000, Red Hat, Inc.
3 * Copyright (c) 2003 Robert Collins <rbtcollins@hotmail.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * A copy of the GNU General Public License can be found at
13 * Written by Robert Collins <rbtcollins@hotmail.com>
17 #ifndef SETUP_CHOOSE_H
18 #define SETUP_CHOOSE_H
21 #include "package_meta.h"
25 class ChooserPage
:public PropertyPage
31 virtual ~ ChooserPage ()
35 virtual bool OnMessageCmd (int id
, HWND hwndctl
, UINT code
);
38 virtual void OnInit ();
39 virtual long OnNext ();
40 virtual long OnBack ();
41 virtual void OnActivate ();
42 virtual long OnUnattended ()
47 void createListview ();
48 RECT
getDefaultListViewSize();
49 void getParentRect (HWND parent
, HWND child
, RECT
* r
);
51 void logOnePackageResult(packagemeta
const *aPkg
);
53 void setPrompt(char const *aPrompt
);
54 template<class C
> bool ifChecked(int const &id
, void (C::*fn
)()) {
55 if (IsButtonChecked (id
)) {
62 template <trusts aTrust
> void changeTrust();
66 #endif /* SETUP_CHOOSE_H */
This page took 0.038386 seconds and 5 git commands to generate.