]>
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 (HWND dlg
, RECT
* r
);
48 void getParentRect (HWND parent
, HWND child
, RECT
* r
);
50 void logOnePackageResult(packagemeta
const *aPkg
);
52 void setPrompt(char const *aPrompt
);
53 template<class C
> bool ifChecked(int const &id
, void (C::*fn
)()) {
54 if (IsButtonChecked (id
)) {
61 template <trusts aTrust
> void changeTrust();
65 #endif /* SETUP_CHOOSE_H */
This page took 0.112262 seconds and 6 git commands to generate.